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
double getResMassMin() const
get current cuts
void setResMassMin(double m)
set cuts
BPHLbToJPsiL0Builder & operator=(const BPHLbToJPsiL0Builder &x)=delete
double getJPsiMassMax() const
void setFlyingMassMin(double m)
set cuts
void setLambda0MassMin(double m)
void setJPsiMassMax(double m)
void setMassRange(double mMin, double mMax)
void setJPsiMassMin(double m)
set cuts
double getJPsiMassMin() const
get current cuts
void setResMassRange(double mMin, double mMax)
void setLambda0MassMax(double m)
double getLambda0MassMin() const
BPHLbToJPsiL0Builder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &l0Collection)
double getFlyingMassMin() const
get current cuts
void setFlyingMassRange(double mMin, double mMax)
double getLambda0MassMax() const
void setMassFitRange(double mMin, double mMax)