CMS 3D CMS Logo

BPHLbToJPsiL0Builder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHLbToJPsiL0Builder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHLbToJPsiL0Builder_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>& l0Collection)
45  "JPsi",
46  BPHParticleMasses::jPsiMass,
47  BPHParticleMasses::jPsiMWidth,
48  jpsiCollection,
49  "Lambda0",
50  BPHParticleMasses::lambda0Mass,
51  BPHParticleMasses::lambda0MSigma,
52  l0Collection) {
53  setResMassRange(2.80, 3.40);
54  setFlyingMassRange(0.00, 3.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  ~BPHLbToJPsiL0Builder() override {}
68 
71  void setJPsiMassMin(double m) { setResMassMin(m); }
73  void setJPsiMassMax(double m) { setResMassMax(m); }
76 
78  double getJPsiMassMin() const { return getResMassMin(); }
79  double getJPsiMassMax() const { return getResMassMax(); }
80  double getLambda0MassMin() const { return getFlyingMassMin(); }
81  double getLambda0MassMax() const { return getFlyingMassMax(); }
82 };
83 
84 #endif
BPHParticleMasses
Definition: BPHParticleMasses.h:28
BPHLbToJPsiL0Builder::~BPHLbToJPsiL0Builder
~BPHLbToJPsiL0Builder() override
Definition: BPHLbToJPsiL0Builder.h:67
BPHDecayToResFlyingBuilder::setFlyingMassMax
void setFlyingMassMax(double m)
Definition: BPHDecayToResFlyingBuilder.cc:114
BPHLbToJPsiL0Builder::BPHLbToJPsiL0Builder
BPHLbToJPsiL0Builder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &l0Collection)
Definition: BPHLbToJPsiL0Builder.h:41
BPHLbToJPsiL0Builder::setJPsiMassMax
void setJPsiMassMax(double m)
Definition: BPHLbToJPsiL0Builder.h:73
BPHDecayConstrainedBuilder::setConstr
void setConstr(bool flag)
Definition: BPHDecayConstrainedBuilder.cc:73
DDAxes::x
BPHDecayConstrainedBuilder::setResMassRange
void setResMassRange(double mMin, double mMax)
Definition: BPHDecayConstrainedBuilder.cc:66
BPHLbToJPsiL0Builder::getJPsiMassMin
double getJPsiMassMin() const
get current cuts
Definition: BPHLbToJPsiL0Builder.h:78
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
BPHLbToJPsiL0Builder::operator=
BPHLbToJPsiL0Builder & operator=(const BPHLbToJPsiL0Builder &x)=delete
BPHDecayConstrainedBuilder::getResMassMax
double getResMassMax() const
Definition: BPHDecayConstrainedBuilder.h:65
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
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
BPHLbToJPsiL0Builder::setLambda0MassMin
void setLambda0MassMin(double m)
Definition: BPHLbToJPsiL0Builder.h:74
edm::EventSetup
Definition: EventSetup.h:57
BPHRecoBuilder.h
BPHDecayConstrainedBuilder::getResMassMin
double getResMassMin() const
get current cuts
Definition: BPHDecayConstrainedBuilder.h:64
BPHLbToJPsiL0Builder::setJPsiMassMin
void setJPsiMassMin(double m)
set cuts
Definition: BPHLbToJPsiL0Builder.h:72
BPHPlusMinusCandidate.h
BPHRecoCandidate.h
BPHLbToJPsiL0Builder::setLambda0MassMax
void setLambda0MassMax(double m)
Definition: BPHLbToJPsiL0Builder.h:75
BPHDecayToResFlyingBuilder::setFlyingMassRange
void setFlyingMassRange(double mMin, double mMax)
Definition: BPHDecayToResFlyingBuilder.cc:120
BPHLbToJPsiL0Builder::getLambda0MassMax
double getLambda0MassMax() const
Definition: BPHLbToJPsiL0Builder.h:81
BPHLbToJPsiL0Builder
Definition: BPHLbToJPsiL0Builder.h:37
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65
BPHLbToJPsiL0Builder::getLambda0MassMin
double getLambda0MassMin() const
Definition: BPHLbToJPsiL0Builder.h:80
BPHLbToJPsiL0Builder::getJPsiMassMax
double getJPsiMassMax() const
Definition: BPHLbToJPsiL0Builder.h:79