CMS 3D CMS Logo

BPHBdToJPsiKsBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBdToJPsiKsBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBdToJPsiKsBuilder_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>& k0sCollection)
45  "JPsi",
46  BPHParticleMasses::jPsiMass,
47  BPHParticleMasses::jPsiMWidth,
48  jpsiCollection,
49  "K0s",
50  BPHParticleMasses::k0sMass,
51  BPHParticleMasses::k0sMSigma,
52  k0sCollection) {
53  setResMassRange(2.80, 3.40);
54  setFlyingMassRange(0.00, 2.00);
55  setMassRange(3.50, 8.00);
56  setKinFitProbMin(0.02);
57  setMassFitRange(5.00, 6.00);
58  setConstr(true);
59  }
60 
61  // deleted copy constructor and assignment operator
64 
67  ~BPHBdToJPsiKsBuilder() override {}
68 
71  void setJPsiMassMin(double m) { setResMassMin(m); }
73  void setJPsiMassMax(double m) { setResMassMax(m); }
74  void setK0MassMin(double m) { setFlyingMassMin(m); }
75  void setK0MassMax(double m) { setFlyingMassMax(m); }
76 
78  double getJPsiMassMin() const { return getResMassMin(); }
79  double getJPsiMassMax() const { return getResMassMax(); }
80  double getK0MassMin() const { return getFlyingMassMin(); }
81  double getK0MassMax() const { return getFlyingMassMax(); }
82 };
83 
84 #endif
BPHParticleMasses
Definition: BPHParticleMasses.h:28
BPHBdToJPsiKsBuilder::BPHBdToJPsiKsBuilder
BPHBdToJPsiKsBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &k0sCollection)
Definition: BPHBdToJPsiKsBuilder.h:41
BPHDecayToResFlyingBuilder::setFlyingMassMax
void setFlyingMassMax(double m)
Definition: BPHDecayToResFlyingBuilder.cc:114
BPHBdToJPsiKsBuilder::getJPsiMassMax
double getJPsiMassMax() const
Definition: BPHBdToJPsiKsBuilder.h:79
BPHBdToJPsiKsBuilder::setK0MassMin
void setK0MassMin(double m)
Definition: BPHBdToJPsiKsBuilder.h:74
BPHDecayConstrainedBuilder::setConstr
void setConstr(bool flag)
Definition: BPHDecayConstrainedBuilder.cc:73
BPHBdToJPsiKsBuilder::setK0MassMax
void setK0MassMax(double m)
Definition: BPHBdToJPsiKsBuilder.h:75
DDAxes::x
BPHBdToJPsiKsBuilder
Definition: BPHBdToJPsiKsBuilder.h:37
BPHDecayConstrainedBuilder::setResMassRange
void setResMassRange(double mMin, double mMax)
Definition: BPHDecayConstrainedBuilder.cc:66
BPHParticleMasses.h
BPHDecayToResFlyingBuilder::setFlyingMassMin
void setFlyingMassMin(double m)
set cuts
Definition: BPHDecayToResFlyingBuilder.cc:108
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
BPHDecayConstrainedBuilder::getResMassMax
double getResMassMax() const
Definition: BPHDecayConstrainedBuilder.h:65
BPHBdToJPsiKsBuilder::getK0MassMax
double getK0MassMax() const
Definition: BPHBdToJPsiKsBuilder.h:81
BPHDecayToResFlyingBuilder::setKinFitProbMin
void setKinFitProbMin(double p)
Definition: BPHDecayToResFlyingBuilder.cc:127
BPHDecayConstrainedBuilder::setResMassMax
void setResMassMax(double m)
Definition: BPHDecayConstrainedBuilder.cc:60
BPHDecayToResFlyingBuilder::getFlyingMassMin
double getFlyingMassMin() const
get current cuts
Definition: BPHDecayToResFlyingBuilder.h:76
Event.h
BPHDecayToResFlyingBuilder.h
BPHDecayToResFlyingBuilder::getFlyingMassMax
double getFlyingMassMax() const
Definition: BPHDecayToResFlyingBuilder.h:77
BPHBdToJPsiKsBuilder::~BPHBdToJPsiKsBuilder
~BPHBdToJPsiKsBuilder() override
Definition: BPHBdToJPsiKsBuilder.h:67
BPHDecayConstrainedBuilder::setResMassMin
void setResMassMin(double m)
set cuts
Definition: BPHDecayConstrainedBuilder.cc:54
BPHDecayGenericBuilder::setMassFitRange
void setMassFitRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:90
BPHDecayToResFlyingBuilder
Definition: BPHDecayToResFlyingBuilder.h:39
BPHBdToJPsiKsBuilder::getJPsiMassMin
double getJPsiMassMin() const
get current cuts
Definition: BPHBdToJPsiKsBuilder.h:78
edm::EventSetup
Definition: EventSetup.h:57
BPHRecoBuilder.h
BPHDecayConstrainedBuilder::getResMassMin
double getResMassMin() const
get current cuts
Definition: BPHDecayConstrainedBuilder.h:64
BPHPlusMinusCandidate.h
BPHRecoCandidate.h
BPHBdToJPsiKsBuilder::setJPsiMassMin
void setJPsiMassMin(double m)
set cuts
Definition: BPHBdToJPsiKsBuilder.h:72
BPHBdToJPsiKsBuilder::operator=
BPHBdToJPsiKsBuilder & operator=(const BPHBdToJPsiKsBuilder &x)=delete
BPHDecayToResFlyingBuilder::setFlyingMassRange
void setFlyingMassRange(double mMin, double mMax)
Definition: BPHDecayToResFlyingBuilder.cc:120
BPHBdToJPsiKsBuilder::getK0MassMin
double getK0MassMin() const
Definition: BPHBdToJPsiKsBuilder.h:80
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65
BPHBdToJPsiKsBuilder::setJPsiMassMax
void setJPsiMassMax(double m)
Definition: BPHBdToJPsiKsBuilder.h:73