StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EntranceSepPairCut.h
1 /***************************************************************************
2  *
3  * $Id: EntranceSepPairCut.h,v 1.1 2000/07/31 01:19:24 lisa Exp $
4  *
5  * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  * cut on nominal Entrance Separation of the pair - for dealing with track merging
10  *
11  ***************************************************************************
12  *
13  * $Log: EntranceSepPairCut.h,v $
14  * Revision 1.1 2000/07/31 01:19:24 lisa
15  * add PairCut which contains collection of PairCuts - also 3D bertsch-pratt CorrFctn
16  *
17  *
18  **************************************************************************/
19 
20 
21 #ifndef EntranceSepPairCut_hh
22 #define EntranceSepPairCut_hh
23 
24 
25 #include "StHbtMaker/Base/StHbtPairCut.h"
26 
28 public:
31  //~EntranceSepPairCut();
32 
33  virtual bool Pass(const StHbtPair*);
34  virtual StHbtString Report();
35  EntranceSepPairCut* Clone();
36 
37  void SetEntranceSepRange(const double& Lo, const double& Hi);
38 
39 private:
40  long mNPairsPassed;
41  long mNPairsFailed;
42  double mEntSepLo;
43  double mEntSepHi;
44 
45 #ifdef __ROOT__
46  ClassDef(EntranceSepPairCut, 1)
47 #endif
48 };
49 
50 inline EntranceSepPairCut::EntranceSepPairCut(const EntranceSepPairCut& c) : StHbtPairCut(c) {
51  mNPairsPassed = 0;
52  mNPairsFailed = 0;
53 
54 }
55 inline EntranceSepPairCut* EntranceSepPairCut::Clone() { EntranceSepPairCut* c = new EntranceSepPairCut(*this); return c;}
56 
57 #endif