CMS 3D CMS Logo

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
BPHParticleMasses
Definition: BPHParticleMasses.h:28
BPHDecayToResTrkBuilder::getTrkPtMin
double getTrkPtMin() const
get current cuts
Definition: BPHDecayToResTrkBuilder.h:74
BPHBuToJPsiKBuilder::setJPsiMassMin
void setJPsiMassMin(double m)
Definition: BPHBuToJPsiKBuilder.h:75
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
BPHDecayConstrainedBuilder::setConstr
void setConstr(bool flag)
Definition: BPHDecayConstrainedBuilder.cc:73
BPHDecayToResTrkBuilder
Definition: BPHDecayToResTrkBuilder.h:42
DDAxes::x
BPHDecayConstrainedBuilder::setResMassRange
void setResMassRange(double mMin, double mMax)
Definition: BPHDecayConstrainedBuilder.cc:66
BPHBuToJPsiKBuilder::setKPtMin
void setKPtMin(double pt)
set cuts
Definition: BPHBuToJPsiKBuilder.h:73
BPHBuToJPsiKBuilder::getJPsiMassMax
double getJPsiMassMax() const
Definition: BPHBuToJPsiKBuilder.h:82
BPHBuToJPsiKBuilder::operator=
BPHBuToJPsiKBuilder & operator=(const BPHBuToJPsiKBuilder &x)=delete
BPHParticleMasses.h
PVValHelper::eta
Definition: PVValidationHelpers.h:70
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:78
BPHDecayToResTrkBuilder::setTrkPtMin
void setTrkPtMin(double pt)
set cuts
Definition: BPHDecayToResTrkBuilder.cc:94
BPHDecayConstrainedBuilder::getResMassMax
double getResMassMax() const
Definition: BPHDecayConstrainedBuilder.h:65
BPHBuToJPsiKBuilder::~BPHBuToJPsiKBuilder
~BPHBuToJPsiKBuilder() override
Definition: BPHBuToJPsiKBuilder.h:68
BPHDecayGenericBuilder::setProbMin
void setProbMin(double p)
Definition: BPHDecayGenericBuilder.cc:72
BPHDecayConstrainedBuilder::setResMassMax
void setResMassMax(double m)
Definition: BPHDecayConstrainedBuilder.cc:60
Event.h
BPHDecayConstrainedBuilder::setResMassMin
void setResMassMin(double m)
set cuts
Definition: BPHDecayConstrainedBuilder.cc:54
BPHDecayGenericBuilder::setMassFitRange
void setMassFitRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:90
BPHDecayToResTrkBuilder.h
BPHBuToJPsiKBuilder::getJPsiMassMin
double getJPsiMassMin() const
Definition: BPHBuToJPsiKBuilder.h:81
edm::EventSetup
Definition: EventSetup.h:58
BPHRecoBuilder.h
BPHDecayToResTrkBuilder::getTrkEtaMax
double getTrkEtaMax() const
Definition: BPHDecayToResTrkBuilder.h:75
BPHDecayConstrainedBuilder::getResMassMin
double getResMassMin() const
get current cuts
Definition: BPHDecayConstrainedBuilder.h:64
BPHRecoBuilder::BPHGenericCollection
Definition: BPHRecoBuilder.h:70
BPHBuToJPsiKBuilder
Definition: BPHBuToJPsiKBuilder.h:37
BPHPlusMinusCandidate.h
BPHBuToJPsiKBuilder::getKPtMin
double getKPtMin() const
get current cuts
Definition: BPHBuToJPsiKBuilder.h:79
BPHRecoCandidate.h
BPHBuToJPsiKBuilder::setJPsiMassMax
void setJPsiMassMax(double m)
Definition: BPHBuToJPsiKBuilder.h:76
BPHBuToJPsiKBuilder::setKEtaMax
void setKEtaMax(double eta)
Definition: BPHBuToJPsiKBuilder.h:74
BPHDecayToResTrkBuilder::setTrkEtaMax
void setTrkEtaMax(double eta)
Definition: BPHDecayToResTrkBuilder.cc:100
BPHBuToJPsiKBuilder::getKEtaMax
double getKEtaMax() const
Definition: BPHBuToJPsiKBuilder.h:80
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65
BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder
BPHBuToJPsiKBuilder(const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *kaonCollection)
Definition: BPHBuToJPsiKBuilder.h:41