StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
franksV0PairCut.h
1 /***************************************************************************
2  *
3  * $Id: franksV0PairCut.h,v 1.1 2000/05/03 17:47:24 laue Exp $
4  *
5  * Author: Frank Laue, Ohio State, laue@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: StHbtMaker package
9  *
10  ***************************************************************************
11  *
12  * $Log: franksV0PairCut.h,v $
13  * Revision 1.1 2000/05/03 17:47:24 laue
14  * new pair cut
15  *
16  *
17  **************************************************************************/
18 
19 
20 #ifndef franksV0PairCut_hh
21 #define franksV0PairCut_hh
22 
23 // do I need these lines ?
24 //#ifndef StMaker_H
25 //#include "StMaker.h"
26 //#endif
27 
28 #include "StHbtMaker/Base/StHbtPairCut.h"
29 
31 public:
34  //~franksV0PairCut();
35 
36  virtual bool Pass(const StHbtPair*);
37  virtual StHbtString Report();
38  franksV0PairCut* Clone();
39 
40  void SetTrackIdCut(const short );
41  short TrackIdCut() const;
42 
43 private:
44  short mTrackIdCut;
45  long mNPairsPassed;
46  long mNPairsFailed;
47 
48 #ifdef __ROOT__
49  ClassDef(franksV0PairCut, 1)
50 #endif
51 };
52 
53 inline franksV0PairCut::franksV0PairCut(const franksV0PairCut& c) : StHbtPairCut(c) {
54  mNPairsPassed = 0;
55  mNPairsFailed = 0;
56  mTrackIdCut = c.mTrackIdCut;
57 
58 }
59 inline franksV0PairCut* franksV0PairCut::Clone() { franksV0PairCut* c = new franksV0PairCut(*this); return c;}
60 
61 inline void franksV0PairCut::SetTrackIdCut(const short x) { mTrackIdCut = x; }
62 inline short franksV0PairCut::TrackIdCut() const { return mTrackIdCut; }
63 
64 #endif