StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OpenAngPairCut.h
1 /***************************************************************************
2  *
3  * $Id: OpenAngPairCut.h,v 1.1 2000/10/26 16:09:11 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 Opening angle of the pair - for dealing with track merging
10  *
11  ***************************************************************************
12  *
13  * $Log: OpenAngPairCut.h,v $
14  * Revision 1.1 2000/10/26 16:09:11 lisa
15  * Added OpeningAngle PairCut class and method to StHbtPair
16  *
17  *
18  **************************************************************************/
19 
20 
21 #ifndef OpenAngPairCut_hh
22 #define OpenAngPairCut_hh
23 
24 
25 #include "StHbtMaker/Base/StHbtPairCut.h"
26 
28 public:
31  //~OpenAngPairCut();
32 
33  virtual bool Pass(const StHbtPair*);
34  virtual StHbtString Report();
35  OpenAngPairCut* Clone();
36 
37  void SetOpenAngRange(const double& Lo, const double& Hi);
38 
39 private:
40  long mNPairsPassed;
41  long mNPairsFailed;
42  double mLo;
43  double mHi;
44 
45 #ifdef __ROOT__
46  ClassDef(OpenAngPairCut, 1)
47 #endif
48 };
49 
50 inline OpenAngPairCut::OpenAngPairCut(const OpenAngPairCut& c) : StHbtPairCut(c) {
51  mNPairsPassed = 0;
52  mNPairsFailed = 0;
53 
54 }
55 inline OpenAngPairCut* OpenAngPairCut::Clone() { OpenAngPairCut* c = new OpenAngPairCut(*this); return c;}
56 
57 #endif