CMS 3D CMS Logo

BPHBdToJPsiKxBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBdToJPsiKxBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBdToJPsiKxBuilder_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>& kx0Collection)
45  "JPsi",
46  BPHParticleMasses::jPsiMass,
47  BPHParticleMasses::jPsiMWidth,
48  jpsiCollection,
49  "Kx0",
50  kx0Collection) {
51  setRes1MassRange(2.80, 3.40);
52  setRes2MassRange(0.80, 1.00);
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  ~BPHBdToJPsiKxBuilder() override {}
66 
69  void setJPsiMassMin(double m) { setRes1MassMin(m); }
71  void setJPsiMassMax(double m) { setRes1MassMax(m); }
72  void setKxMassMin(double m) { setRes2MassMin(m); }
73  void setKxMassMax(double m) { setRes2MassMax(m); }
74 
76  double getJPsiMassMin() const { return getRes1MassMin(); }
77  double getJPsiMassMax() const { return getRes1MassMax(); }
78  double getKxMassMin() const { return getRes2MassMin(); }
79  double getKxMassMax() const { return getRes2MassMax(); }
80 };
81 
82 #endif
BPHParticleMasses
Definition: BPHParticleMasses.h:28
BPHDecayToResResBuilder::setRes2MassMin
void setRes2MassMin(double m)
set cuts
Definition: BPHDecayToResResBuilder.cc:78
BPHBdToJPsiKxBuilder::setKxMassMax
void setKxMassMax(double m)
Definition: BPHBdToJPsiKxBuilder.h:73
BPHDecayToResResBuilder::getRes2MassMax
double getRes2MassMax() const
Definition: BPHDecayToResResBuilder.h:74
BPHDecayConstrainedBuilder::setConstr
void setConstr(bool flag)
Definition: BPHDecayConstrainedBuilder.cc:73
BPHBdToJPsiKxBuilder::operator=
BPHBdToJPsiKxBuilder & operator=(const BPHBdToJPsiKxBuilder &x)=delete
BPHBdToJPsiKxBuilder::setJPsiMassMax
void setJPsiMassMax(double m)
Definition: BPHBdToJPsiKxBuilder.h:71
DDAxes::x
BPHDecayToResResBuilder.h
BPHBdToJPsiKxBuilder::~BPHBdToJPsiKxBuilder
~BPHBdToJPsiKxBuilder() override
Definition: BPHBdToJPsiKxBuilder.h:65
BPHParticleMasses.h
BPHBdToJPsiKxBuilder::getKxMassMax
double getKxMassMax() const
Definition: BPHBdToJPsiKxBuilder.h:79
BPHDecayToResResBuilder::getRes2MassMin
double getRes2MassMin() const
Definition: BPHDecayToResResBuilder.h:73
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:78
BPHDecayToResResBuilder::getRes1MassMax
double getRes1MassMax() const
Definition: BPHDecayToResResBuilder.h:72
BPHDecayGenericBuilder::setProbMin
void setProbMin(double p)
Definition: BPHDecayGenericBuilder.cc:72
BPHDecayToResResBuilder
Definition: BPHDecayToResResBuilder.h:37
BPHBdToJPsiKxBuilder
Definition: BPHBdToJPsiKxBuilder.h:37
BPHBdToJPsiKxBuilder::getJPsiMassMax
double getJPsiMassMax() const
Definition: BPHBdToJPsiKxBuilder.h:77
Event.h
BPHDecayToResResBuilder::setRes2MassMax
void setRes2MassMax(double m)
Definition: BPHDecayToResResBuilder.cc:84
BPHDecayGenericBuilder::setMassFitRange
void setMassFitRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:90
BPHBdToJPsiKxBuilder::getKxMassMin
double getKxMassMin() const
Definition: BPHBdToJPsiKxBuilder.h:78
BPHDecayToResResBuilder::setRes1MassMin
void setRes1MassMin(double m)
set cuts
Definition: BPHDecayToResResBuilder.h:63
edm::EventSetup
Definition: EventSetup.h:58
BPHRecoBuilder.h
BPHBdToJPsiKxBuilder::setJPsiMassMin
void setJPsiMassMin(double m)
set cuts
Definition: BPHBdToJPsiKxBuilder.h:70
BPHDecayToResResBuilder::setRes1MassMax
void setRes1MassMax(double m)
Definition: BPHDecayToResResBuilder.h:64
BPHBdToJPsiKxBuilder::setKxMassMin
void setKxMassMin(double m)
Definition: BPHBdToJPsiKxBuilder.h:72
BPHPlusMinusCandidate.h
BPHBdToJPsiKxBuilder::BPHBdToJPsiKxBuilder
BPHBdToJPsiKxBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &kx0Collection)
Definition: BPHBdToJPsiKxBuilder.h:41
BPHRecoCandidate.h
BPHDecayToResResBuilder::getRes1MassMin
double getRes1MassMin() const
get current cuts
Definition: BPHDecayToResResBuilder.h:71
BPHDecayToResResBuilder::setRes1MassRange
void setRes1MassRange(double mMin, double mMax)
Definition: BPHDecayToResResBuilder.h:65
BPHBdToJPsiKxBuilder::getJPsiMassMin
double getJPsiMassMin() const
get current cuts
Definition: BPHBdToJPsiKxBuilder.h:76
BPHDecayToResResBuilder::setRes2MassRange
void setRes2MassRange(double mMin, double mMax)
Definition: BPHDecayToResResBuilder.cc:90
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65