CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
void setJPsiMassMax(double m)
double getKxMassMin() const
double getJPsiMassMin() const
get current cuts
void setJPsiMassMin(double m)
set cuts
BPHBdToJPsiKxBuilder & operator=(const BPHBdToJPsiKxBuilder &x)=delete
void setRes2MassMin(double m)
set cuts
void setRes1MassMin(double m)
set cuts
void setMassRange(double mMin, double mMax)
double getKxMassMax() const
double getRes1MassMin() const
get current cuts
void setRes1MassRange(double mMin, double mMax)
BPHBdToJPsiKxBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &kx0Collection)
double getJPsiMassMax() const
void setRes2MassRange(double mMin, double mMax)
void setMassFitRange(double mMin, double mMax)