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 // Collaborating Class Declarations --
21 //------------------------------------
22 
23 //---------------
24 // C++ Headers --
25 //---------------
26 
27 // ---------------------
28 // -- Class Interface --
29 // ---------------------
30 
31 class BPHMassCuts {
32 public:
36 
37  // deleted copy constructor and assignment operator
38  BPHMassCuts(const BPHMassCuts& x) = delete;
39  BPHMassCuts& operator=(const BPHMassCuts& x) = delete;
40 
43  virtual ~BPHMassCuts() = default;
44 
47  void setMassMin(double m) {
49  mMin = m;
50  return;
51  }
52  void setMassMax(double m) {
53  mMax = m;
54  return;
55  }
56 
58  double getMassMin() const { return mMin; }
59  double getMassMax() const { return mMax; }
60 
61 protected:
62  double mMin;
63  double mMax;
64 };
65 
66 #endif
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
void setMassMax(double m)
Definition: BPHMassCuts.h:52
virtual ~BPHMassCuts()=default
double mMax
Definition: BPHMassCuts.h:63
double getMassMax() const
Definition: BPHMassCuts.h:59
BPHMassCuts & operator=(const BPHMassCuts &x)=delete
double mMin
Definition: BPHMassCuts.h:62
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
BPHMassCuts(double minMass, double maxMass)
Definition: BPHMassCuts.h:35