CMS 3D CMS Logo

BPHDecayGenericBuilderBase.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayGenericBuilderBase_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayGenericBuilderBase_h
3 
13 //----------------------
14 // Base Class Headers --
15 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
23 
25 
26 //---------------
27 // C++ Headers --
28 //---------------
29 
30 // ---------------------
31 // -- Class Interface --
32 // ---------------------
33 
35 public:
40  BPHMassFitSelect* mfs = new BPHMassFitSelect(-2.0e+06, -1.0e+06));
41 
42  // deleted copy constructor and assignment operator
45 
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 outdated;
81 
82  virtual void fillRecList() = 0;
83 };
84 
85 #endif
double getProbMin() const
get current prob min
Definition: BPHChi2Select.h:66
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
void setMassFitRange(double mMin, double mMax)
const BPHEventSetupWrapper * evSetup
double getMassMin() const
get current cuts
double getMassMax() const
Definition: BPHMassCuts.h:59
BPHDecayGenericBuilderBase & operator=(const BPHDecayGenericBuilderBase &x)=delete
virtual void fillRecList()=0
void setMinPDiff(double mpd)
track min p difference
void setMassRange(double mMin, double mMax)