CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
void setResMassMin(double m)
set cuts
double getJPsiMassMax() const
BPHBdToJPsiKsBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &k0sCollection)
void setJPsiMassMin(double m)
set cuts
double getJPsiMassMin() const
get current cuts
void setFlyingMassMin(double m)
set cuts
void setJPsiMassMax(double m)
void setMassRange(double mMin, double mMax)
double getResMassMin() const
get current cuts
double getK0MassMin() const
double getK0MassMax() const
void setResMassRange(double mMin, double mMax)
BPHBdToJPsiKsBuilder & operator=(const BPHBdToJPsiKsBuilder &x)=delete
double getFlyingMassMin() const
get current cuts
void setFlyingMassRange(double mMin, double mMax)
void setMassFitRange(double mMin, double mMax)