StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
QinvPairCut.h
1 /***************************************************************************
2  *
3  * $Id: QinvPairCut.h,v 1.1 2000/09/14 18:36:59 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 Qinvariant
10  *
11  ***************************************************************************
12  *
13  * $Log: QinvPairCut.h,v $
14  * Revision 1.1 2000/09/14 18:36:59 lisa
15  * Added Qinv and ExitSep pair cuts and BPLCMSFrame3DCorrFctn_SIM CorrFctn
16  *
17  *
18  *
19  **************************************************************************/
20 
21 
22 #ifndef QinvPairCut_hh
23 #define QinvPairCut_hh
24 
25 
26 #include "StHbtMaker/Base/StHbtPairCut.h"
27 
28 class QinvPairCut : public StHbtPairCut{
29 public:
30  QinvPairCut();
31  QinvPairCut(const QinvPairCut&);
32  //~QinvPairCut();
33 
34  virtual bool Pass(const StHbtPair*);
35  virtual StHbtString Report();
36  QinvPairCut* Clone();
37 
38  void SetQinvRange(const double& Lo, const double& Hi);
39 
40 private:
41  long mNPairsPassed;
42  long mNPairsFailed;
43  double mQinvLo;
44  double mQinvHi;
45 
46 #ifdef __ROOT__
47  ClassDef(QinvPairCut, 1)
48 #endif
49 };
50 
51 inline QinvPairCut::QinvPairCut(const QinvPairCut& c) : StHbtPairCut(c) {
52  mNPairsPassed = 0;
53  mNPairsFailed = 0;
54 
55 }
56 inline QinvPairCut* QinvPairCut::Clone() { QinvPairCut* c = new QinvPairCut(*this); return c;}
57 
58 #endif