CMS 3D CMS Logo

BPHDecayGenericBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayGenericBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayGenericBuilder_h
3 
13 //----------------------
14 // Base Class Headers --
15 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
23 
25 
26 //---------------
27 // C++ Headers --
28 //---------------
29 #include <string>
30 #include <vector>
31 
32 // ---------------------
33 // -- Class Interface --
34 // ---------------------
35 
37 public:
40  BPHDecayGenericBuilder(const edm::EventSetup& es, BPHMassFitSelect* mfs = nullptr);
41 
42  // deleted copy constructor and assignment operator
45 
48  virtual ~BPHDecayGenericBuilder();
49 
52  void setMassMin(double m);
54  void setMassMax(double m);
55  void setMassRange(double mMin, double mMax);
56  void setProbMin(double p);
57  void setMassFitMin(double m);
58  void setMassFitMax(double m);
59  void setMassFitRange(double mMin, double mMax);
60 
62  double getMassMin() const { return massSel->getMassMin(); }
63  double getMassMax() const { return massSel->getMassMax(); }
64  double getProbMin() const { return chi2Sel->getProbMin(); }
65  double getMassFitMin() const { return mFitSel->getMassMin(); }
66  double getMassFitMax() const { return mFitSel->getMassMax(); }
67 
69  void setMinPDiff(double mpd) { minPDiff = mpd; }
70  double getMinPDiff() { return minPDiff; }
71 
72 protected:
74 
78 
79  double minPDiff;
80  bool updated;
81 };
82 
83 #endif
double getProbMin() const
get current prob min
Definition: BPHChi2Select.h:66
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHDecayGenericBuilder(const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr)
double getMassMin() const
get current cuts
void setMassRange(double mMin, double mMax)
void setMinPDiff(double mpd)
track min p difference
void setMassMin(double m)
set cuts
double getMassMax() const
Definition: BPHMassCuts.h:59
BPHDecayGenericBuilder & operator=(const BPHDecayGenericBuilder &x)=delete
void setMassFitRange(double mMin, double mMax)
const edm::EventSetup * evSetup