CMS 3D CMS Logo

BPHBcToJPsiPiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHBcToJPsiPiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHBcToJPsiPiBuilder_h
3 
12 //----------------------
13 // Base Class Headers --
14 //----------------------
16 
17 //------------------------------------
18 // Collaborating Class Declarations --
19 //------------------------------------
24 
26 
30 class BPHMassSelect;
31 class BPHChi2Select;
32 class BPHMassFitSelect;
33 
34 //---------------
35 // C++ Headers --
36 //---------------
37 #include <string>
38 #include <vector>
39 
40 // ---------------------
41 // -- Class Interface --
42 // ---------------------
43 
45 public:
49  const std::vector<BPHPlusMinusConstCandPtr>& jpsiCollection,
50  const BPHRecoBuilder::BPHGenericCollection* pionCollection)
52  "JPsi",
53  BPHParticleMasses::jPsiMass,
54  BPHParticleMasses::jPsiMWidth,
55  jpsiCollection,
56  "Pion",
57  BPHParticleMasses::pionMass,
58  BPHParticleMasses::pionMSigma,
59  pionCollection) {
60  setResMassRange(2.80, 3.40);
61  setTrkPtMin(0.7);
62  setTrkEtaMax(10.0);
63  setMassRange(4.00, 9.00);
64  setProbMin(0.02);
65  setMassFitRange(6.00, 7.00);
66  setConstr(true);
67  }
68 
69  // deleted copy constructor and assignment operator
72 
75  ~BPHBcToJPsiPiBuilder() override {}
76 
79  void setPiPtMin(double pt) { setTrkPtMin(pt); }
81  void setPiEtaMax(double eta) { setTrkEtaMax(eta); }
82  void setJPsiMassMin(double m) { setResMassMin(m); }
83  void setJPsiMassMax(double m) { setResMassMax(m); }
84 
86  double getPiPtMin() const { return getTrkPtMin(); }
87  double getPiEtaMax() const { return getTrkEtaMax(); }
88  double getJPsiMassMin() const { return getResMassMin(); }
89  double getJPsiMassMax() const { return getResMassMax(); }
90 };
91 
92 #endif
double getResMassMin() const
get current cuts
void setResMassMin(double m)
set cuts
double getJPsiMassMin() const
double getTrkPtMin() const
get current cuts
double getPiPtMin() const
get current cuts
void setTrkPtMin(double pt)
set cuts
void setMassRange(double mMin, double mMax)
void setResMassRange(double mMin, double mMax)
double getJPsiMassMax() const
BPHBcToJPsiPiBuilder & operator=(const BPHBcToJPsiPiBuilder &x)=delete
void setPiEtaMax(double eta)
BPHBcToJPsiPiBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *pionCollection)
void setJPsiMassMin(double m)
void setJPsiMassMax(double m)
void setMassFitRange(double mMin, double mMax)
void setPiPtMin(double pt)
set cuts