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
BPHChi2Select.h
BPHMassFitSelect.h
BPHDecayGenericBuilder::~BPHDecayGenericBuilder
virtual ~BPHDecayGenericBuilder()
Definition: BPHDecayGenericBuilder.cc:43
BPHDecayGenericBuilder::getMassMax
double getMassMax() const
Definition: BPHDecayGenericBuilder.h:63
BPHChi2Select::getProbMin
double getProbMin() const
get current prob min
Definition: BPHChi2Select.h:66
BPHDecayGenericBuilder::setMassMin
void setMassMin(double m)
set cuts
Definition: BPHDecayGenericBuilder.cc:53
BPHMassCuts::getMassMin
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHDecayGenericBuilder::operator=
BPHDecayGenericBuilder & operator=(const BPHDecayGenericBuilder &x)=delete
DDAxes::x
BPHDecayGenericBuilder::massSel
BPHMassSelect * massSel
Definition: BPHDecayGenericBuilder.h:75
BPHDecayGenericBuilder::updated
bool updated
Definition: BPHDecayGenericBuilder.h:80
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
BPHMassSelect
Definition: BPHMassSelect.h:31
BPHDecayGenericBuilder::getProbMin
double getProbMin() const
Definition: BPHDecayGenericBuilder.h:64
BPHDecayGenericBuilder::evSetup
const edm::EventSetup * evSetup
Definition: BPHDecayGenericBuilder.h:73
BPHDecayGenericBuilder::setProbMin
void setProbMin(double p)
Definition: BPHDecayGenericBuilder.cc:72
BPHDecayGenericBuilder::chi2Sel
BPHChi2Select * chi2Sel
Definition: BPHDecayGenericBuilder.h:76
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
Event.h
BPHDecayGenericBuilder::minPDiff
double minPDiff
Definition: BPHDecayGenericBuilder.h:79
BPHDecayGenericBuilder::setMassFitRange
void setMassFitRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:90
BPHDecayGenericBuilder::getMinPDiff
double getMinPDiff()
Definition: BPHDecayGenericBuilder.h:70
BPHDecayGenericBuilder::mFitSel
BPHMassFitSelect * mFitSel
Definition: BPHDecayGenericBuilder.h:77
BPHMassSelect.h
BPHMassCuts::getMassMax
double getMassMax() const
Definition: BPHMassCuts.h:59
edm::EventSetup
Definition: EventSetup.h:58
BPHChi2Select
Definition: BPHChi2Select.h:31
BPHDecayGenericBuilder::getMassFitMin
double getMassFitMin() const
Definition: BPHDecayGenericBuilder.h:65
BPHDecayGenericBuilder::setMassFitMax
void setMassFitMax(double m)
Definition: BPHDecayGenericBuilder.cc:84
BPHDecayGenericBuilder::getMassFitMax
double getMassFitMax() const
Definition: BPHDecayGenericBuilder.h:66
BPHDecayGenericBuilder::BPHDecayGenericBuilder
BPHDecayGenericBuilder(const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr)
Definition: BPHDecayGenericBuilder.cc:29
BPHDecayGenericBuilder
Definition: BPHDecayGenericBuilder.h:36
BPHDecayGenericBuilder::setMassFitMin
void setMassFitMin(double m)
Definition: BPHDecayGenericBuilder.cc:78
BPHDecayGenericBuilder::setMinPDiff
void setMinPDiff(double mpd)
track min p difference
Definition: BPHDecayGenericBuilder.h:69
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65
BPHDecayGenericBuilder::setMassMax
void setMassMax(double m)
Definition: BPHDecayGenericBuilder.cc:59
BPHDecayGenericBuilder::getMassMin
double getMassMin() const
get current cuts
Definition: BPHDecayGenericBuilder.h:62
BPHMassFitSelect
Definition: BPHMassFitSelect.h:34