CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BPHBuToJPsiKBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBuToJPsiKBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBuToJPsiKBuilder_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 BPHRecoBuilder::BPHGenericCollection* kaonCollection)
45  "JPsi",
46  BPHParticleMasses::jPsiMass,
47  BPHParticleMasses::jPsiMWidth,
48  jpsiCollection,
49  "Kaon",
50  BPHParticleMasses::kaonMass,
51  BPHParticleMasses::kaonMSigma,
52  kaonCollection) {
53  setResMassRange(2.80, 3.40);
54  setTrkPtMin(0.7);
55  setTrkEtaMax(10.0);
56  setMassRange(3.50, 8.00);
57  setProbMin(0.02);
58  setMassFitRange(5.00, 6.00);
59  setConstr(true);
60  }
61 
62  // deleted copy constructor and assignment operator
63  BPHBuToJPsiKBuilder(const BPHBuToJPsiKBuilder& x) = delete;
65 
68  ~BPHBuToJPsiKBuilder() override {}
69 
72  void setKPtMin(double pt) { setTrkPtMin(pt); }
74  void setKEtaMax(double eta) { setTrkEtaMax(eta); }
75  void setJPsiMassMin(double m) { setResMassMin(m); }
76  void setJPsiMassMax(double m) { setResMassMax(m); }
77 
79  double getKPtMin() const { return getTrkPtMin(); }
80  double getKEtaMax() const { return getTrkEtaMax(); }
81  double getJPsiMassMin() const { return getResMassMin(); }
82  double getJPsiMassMax() const { return getResMassMax(); }
83 };
84 
85 #endif
void setResMassMin(double m)
set cuts
double getJPsiMassMax() const
void setJPsiMassMin(double m)
void setKPtMin(double pt)
set cuts
void setKEtaMax(double eta)
double getTrkPtMin() const
get current cuts
void setTrkPtMin(double pt)
set cuts
BPHBuToJPsiKBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *kaonCollection)
double getKPtMin() const
get current cuts
void setMassRange(double mMin, double mMax)
double getResMassMin() const
get current cuts
double getJPsiMassMin() const
void setResMassRange(double mMin, double mMax)
BPHBuToJPsiKBuilder & operator=(const BPHBuToJPsiKBuilder &x)=delete
void setMassFitRange(double mMin, double mMax)
double getKEtaMax() const
void setJPsiMassMax(double m)