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() {}
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
BPHMassCuts::setMassMax
void setMassMax(double m)
Definition: BPHMassCuts.h:52
BPHMassCuts::getMassMin
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
DDAxes::x
BPHMassCuts::mMax
double mMax
Definition: BPHMassCuts.h:63
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
BPHMassCuts::setMassMin
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
B2GTnPMonitor_cfi.maxMass
maxMass
Definition: B2GTnPMonitor_cfi.py:55
BPHMassCuts::getMassMax
double getMassMax() const
Definition: BPHMassCuts.h:59
BPHMassCuts::~BPHMassCuts
virtual ~BPHMassCuts()
Definition: BPHMassCuts.h:43
BPHMassCuts::operator=
BPHMassCuts & operator=(const BPHMassCuts &x)=delete
BPHMassCuts::BPHMassCuts
BPHMassCuts(double minMass, double maxMass)
Definition: BPHMassCuts.h:35
BPHMassCuts::mMin
double mMin
Definition: BPHMassCuts.h:62
B2GTnPMonitor_cfi.minMass
minMass
Definition: B2GTnPMonitor_cfi.py:54
BPHMassCuts
Definition: BPHMassCuts.h:31