CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:
35  BPHMassCuts(double minMass, double maxMass) : mMin(minMass), mMax(maxMass) {}
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() {}
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
void setMassMax(double m)
Definition: BPHMassCuts.h:52
double mMax
Definition: BPHMassCuts.h:63
virtual ~BPHMassCuts()
Definition: BPHMassCuts.h:43
BPHMassCuts & operator=(const BPHMassCuts &x)=delete
double mMin
Definition: BPHMassCuts.h:62
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
double getMassMax() const
Definition: BPHMassCuts.h:59
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHMassCuts(double minMass, double maxMass)
Definition: BPHMassCuts.h:35