CMS 3D CMS Logo

BPHBsToJPsiPhiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBsToJPsiPhiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBsToJPsiPhiBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
24 
26 
27 //---------------
28 // C++ Headers --
29 //---------------
30 #include <string>
31 #include <vector>
32 
33 // ---------------------
34 // -- Class Interface --
35 // ---------------------
36 
38 public:
42  const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
43  const std::vector<BPHPlusMinusConstCandPtr>& phiCollection)
45  "JPsi",
46  BPHParticleMasses::jPsiMass,
47  BPHParticleMasses::jPsiMWidth,
48  jpsiCollection,
49  "Phi",
50  phiCollection) {
51  setRes1MassRange(2.80, 3.40);
52  setRes2MassRange(1.005, 1.035);
53  setMassRange(3.50, 8.00);
54  setProbMin(0.02);
55  setMassFitRange(5.00, 6.00);
56  setConstr(true);
57  }
58 
59  // deleted copy constructor and assignment operator
62 
65  ~BPHBsToJPsiPhiBuilder() override {}
66 
69  void setJPsiMassMin(double m) { setRes1MassMin(m); }
71  void setJPsiMassMax(double m) { setRes1MassMax(m); }
72  void setPhiMassMin(double m) { setRes2MassMin(m); }
73  void setPhiMassMax(double m) { setRes2MassMax(m); }
74 
76  double getJPsiMassMin() const { return getRes1MassMin(); }
77  double getJPsiMassMax() const { return getRes1MassMax(); }
78  double getPhiMassMin() const { return getRes2MassMin(); }
79  double getPhiMassMax() const { return getRes2MassMax(); }
80 };
81 
82 #endif
BPHParticleMasses
Definition: BPHParticleMasses.h:28
BPHBsToJPsiPhiBuilder::setJPsiMassMin
void setJPsiMassMin(double m)
set cuts
Definition: BPHBsToJPsiPhiBuilder.h:70
BPHBsToJPsiPhiBuilder::~BPHBsToJPsiPhiBuilder
~BPHBsToJPsiPhiBuilder() override
Definition: BPHBsToJPsiPhiBuilder.h:65
BPHBsToJPsiPhiBuilder::getPhiMassMax
double getPhiMassMax() const
Definition: BPHBsToJPsiPhiBuilder.h:79
BPHBsToJPsiPhiBuilder
Definition: BPHBsToJPsiPhiBuilder.h:37
BPHDecayToResResBuilder::setRes2MassMin
void setRes2MassMin(double m)
set cuts
Definition: BPHDecayToResResBuilder.cc:78
BPHDecayToResResBuilder::getRes2MassMax
double getRes2MassMax() const
Definition: BPHDecayToResResBuilder.h:74
BPHDecayConstrainedBuilder::setConstr
void setConstr(bool flag)
Definition: BPHDecayConstrainedBuilder.cc:73
DDAxes::x
BPHBsToJPsiPhiBuilder::setPhiMassMin
void setPhiMassMin(double m)
Definition: BPHBsToJPsiPhiBuilder.h:72
BPHDecayToResResBuilder.h
BPHParticleMasses.h
BPHDecayToResResBuilder::getRes2MassMin
double getRes2MassMin() const
Definition: BPHDecayToResResBuilder.h:73
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
BPHBsToJPsiPhiBuilder::setJPsiMassMax
void setJPsiMassMax(double m)
Definition: BPHBsToJPsiPhiBuilder.h:71
BPHDecayToResResBuilder::getRes1MassMax
double getRes1MassMax() const
Definition: BPHDecayToResResBuilder.h:72
BPHDecayGenericBuilder::setProbMin
void setProbMin(double p)
Definition: BPHDecayGenericBuilder.cc:72
BPHDecayToResResBuilder
Definition: BPHDecayToResResBuilder.h:37
Event.h
BPHBsToJPsiPhiBuilder::getPhiMassMin
double getPhiMassMin() const
Definition: BPHBsToJPsiPhiBuilder.h:78
BPHDecayToResResBuilder::setRes2MassMax
void setRes2MassMax(double m)
Definition: BPHDecayToResResBuilder.cc:84
BPHDecayGenericBuilder::setMassFitRange
void setMassFitRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:90
BPHDecayToResResBuilder::setRes1MassMin
void setRes1MassMin(double m)
set cuts
Definition: BPHDecayToResResBuilder.h:63
edm::EventSetup
Definition: EventSetup.h:58
BPHRecoBuilder.h
BPHBsToJPsiPhiBuilder::getJPsiMassMin
double getJPsiMassMin() const
get current cuts
Definition: BPHBsToJPsiPhiBuilder.h:76
BPHDecayToResResBuilder::setRes1MassMax
void setRes1MassMax(double m)
Definition: BPHDecayToResResBuilder.h:64
BPHPlusMinusCandidate.h
BPHBsToJPsiPhiBuilder::setPhiMassMax
void setPhiMassMax(double m)
Definition: BPHBsToJPsiPhiBuilder.h:73
BPHBsToJPsiPhiBuilder::BPHBsToJPsiPhiBuilder
BPHBsToJPsiPhiBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &phiCollection)
Definition: BPHBsToJPsiPhiBuilder.h:41
BPHRecoCandidate.h
BPHBsToJPsiPhiBuilder::operator=
BPHBsToJPsiPhiBuilder & operator=(const BPHBsToJPsiPhiBuilder &x)=delete
BPHBsToJPsiPhiBuilder::getJPsiMassMax
double getJPsiMassMax() const
Definition: BPHBsToJPsiPhiBuilder.h:77
BPHDecayToResResBuilder::getRes1MassMin
double getRes1MassMin() const
get current cuts
Definition: BPHDecayToResResBuilder.h:71
BPHDecayToResResBuilder::setRes1MassRange
void setRes1MassRange(double mMin, double mMax)
Definition: BPHDecayToResResBuilder.h:65
BPHDecayToResResBuilder::setRes2MassRange
void setRes2MassRange(double mMin, double mMax)
Definition: BPHDecayToResResBuilder.cc:90
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65