CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BPHBsToJPsiPhiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBsToJPsiPhiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBsToJPsiPhiBuilder_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>& phiCollection)
45  "JPsi",
46  BPHParticleMasses::jPsiMass,
47  BPHParticleMasses::jPsiMWidth,
48  jpsiCollection,
49  "Phi",
50  phiCollection) {
51  setRes1MassRange(2.80, 3.40);
52  setRes2MassRange(1.005, 1.035);
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  ~BPHBsToJPsiPhiBuilder() override {}
66 
69  void setJPsiMassMin(double m) { setRes1MassMin(m); }
71  void setJPsiMassMax(double m) { setRes1MassMax(m); }
72  void setPhiMassMin(double m) { setRes2MassMin(m); }
73  void setPhiMassMax(double m) { setRes2MassMax(m); }
74 
76  double getJPsiMassMin() const { return getRes1MassMin(); }
77  double getJPsiMassMax() const { return getRes1MassMax(); }
78  double getPhiMassMin() const { return getRes2MassMin(); }
79  double getPhiMassMax() const { return getRes2MassMax(); }
80 };
81 
82 #endif
BPHBsToJPsiPhiBuilder & operator=(const BPHBsToJPsiPhiBuilder &x)=delete
void setRes2MassMin(double m)
set cuts
void setRes1MassMin(double m)
set cuts
void setMassRange(double mMin, double mMax)
double getJPsiMassMin() const
get current cuts
double getRes1MassMin() const
get current cuts
BPHBsToJPsiPhiBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &phiCollection)
void setRes1MassRange(double mMin, double mMax)
double getJPsiMassMax() const
void setJPsiMassMin(double m)
set cuts
void setRes2MassRange(double mMin, double mMax)
void setMassFitRange(double mMin, double mMax)