00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef EntranceSepPairCut_hh
00022 #define EntranceSepPairCut_hh
00023
00024
00025 #include "StHbtMaker/Base/StHbtPairCut.h"
00026
00027 class EntranceSepPairCut : public StHbtPairCut{
00028 public:
00029 EntranceSepPairCut();
00030 EntranceSepPairCut(const EntranceSepPairCut&);
00031
00032
00033 virtual bool Pass(const StHbtPair*);
00034 virtual StHbtString Report();
00035 EntranceSepPairCut* Clone();
00036
00037 void SetEntranceSepRange(const double& Lo, const double& Hi);
00038
00039 private:
00040 long mNPairsPassed;
00041 long mNPairsFailed;
00042 double mEntSepLo;
00043 double mEntSepHi;
00044
00045 #ifdef __ROOT__
00046 ClassDef(EntranceSepPairCut, 1)
00047 #endif
00048 };
00049
00050 inline EntranceSepPairCut::EntranceSepPairCut(const EntranceSepPairCut& c) : StHbtPairCut(c) {
00051 mNPairsPassed = 0;
00052 mNPairsFailed = 0;
00053
00054 }
00055 inline EntranceSepPairCut* EntranceSepPairCut::Clone() { EntranceSepPairCut* c = new EntranceSepPairCut(*this); return c;}
00056
00057 #endif