StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AverageSepPairCut.h
1 /***************************************************************************
2  *
3  * $Id: AverageSepPairCut.h,v 1.1 2000/10/05 23:09:02 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 average Entrance Separation of the pair - for dealing with track merging
10  *
11  ***************************************************************************
12  *
13  * $Log: AverageSepPairCut.h,v $
14  * Revision 1.1 2000/10/05 23:09:02 lisa
15  * Added kT-dependent radii to mixed-event simulator AND implemented AverageSeparation Cut and CorrFctn
16  *
17  *
18  *
19  **************************************************************************/
20 
21 
22 #ifndef AverageSepPairCut_hh
23 #define AverageSepPairCut_hh
24 
25 
26 #include "StHbtMaker/Base/StHbtPairCut.h"
27 
29 public:
32  //~AverageSepPairCut();
33 
34  virtual bool Pass(const StHbtPair*);
35  virtual StHbtString Report();
36  AverageSepPairCut* Clone();
37 
38  void SetAveSepRange(const double& Lo, const double& Hi);
39 
40 private:
41  long mNPairsPassed;
42  long mNPairsFailed;
43  double mAveSepLo;
44  double mAveSepHi;
45 
46 #ifdef __ROOT__
47  ClassDef(AverageSepPairCut, 1)
48 #endif
49 };
50 
51 inline AverageSepPairCut::AverageSepPairCut(const AverageSepPairCut& c) : StHbtPairCut(c) {
52  mNPairsPassed = 0;
53  mNPairsFailed = 0;
54 
55 }
56 inline AverageSepPairCut* AverageSepPairCut::Clone() { AverageSepPairCut* c = new AverageSepPairCut(*this); return c;}
57 
58 #endif