CMS 3D CMS Logo

BPHMassCuts.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHMassCuts_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHMassCuts_h
3 
15 //----------------------
16 // Base Class Headers --
17 //----------------------
18 
19 
20 //------------------------------------
21 // Collaborating Class Declarations --
22 //------------------------------------
23 
24 
25 //---------------
26 // C++ Headers --
27 //---------------
28 
29 
30 // ---------------------
31 // -- Class Interface --
32 // ---------------------
33 
34 class BPHMassCuts {
35 
36  public:
37 
40  BPHMassCuts( double minMass, double maxMass ): mMin( minMass ),
41  mMax( maxMass ) {}
42 
45  virtual ~BPHMassCuts() {}
46 
49  void setMassMin( double m ) { mMin = m; return; }
51  void setMassMax( double m ) { mMax = m; return; }
52 
54  double getMassMin() const { return mMin; }
55  double getMassMax() const { return mMax; }
56 
57  protected:
58 
59  // private copy and assigment constructors
60  BPHMassCuts ( const BPHMassCuts& x );
61  BPHMassCuts& operator=( const BPHMassCuts& x );
62 
63  double mMin;
64  double mMax;
65 
66 };
67 
68 
69 #endif
70 
void setMassMax(double m)
Definition: BPHMassCuts.h:51
double mMax
Definition: BPHMassCuts.h:64
virtual ~BPHMassCuts()
Definition: BPHMassCuts.h:45
double mMin
Definition: BPHMassCuts.h:63
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:50
double getMassMax() const
Definition: BPHMassCuts.h:55
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:54
BPHMassCuts(double minMass, double maxMass)
Definition: BPHMassCuts.h:40
BPHMassCuts & operator=(const BPHMassCuts &x)