CMS 3D CMS Logo

BPHKx0ToKPiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHKx0ToKPiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHKx0ToKPiBuilder_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 BPHRecoBuilder::BPHGenericCollection* posCollection,
43  const BPHRecoBuilder::BPHGenericCollection* negCollection)
45  "Kaon",
46  BPHParticleMasses::pionMass,
47  BPHParticleMasses::pionMass,
48  "Pion",
49  BPHParticleMasses::kaonMass,
50  BPHParticleMasses::kaonMSigma,
51  posCollection,
52  negCollection,
53  BPHParticleMasses::kx0Mass) {
54  setTrk1PtMin(0.7);
55  setTrk2PtMin(0.7);
56  setTrk1EtaMax(10.0);
57  setTrk2EtaMax(10.0);
58  setMassRange(0.75, 1.05);
59  setProbMin(0.0);
60  }
61 
62  // deleted copy constructor and assignment operator
63  BPHKx0ToKPiBuilder(const BPHKx0ToKPiBuilder& x) = delete;
65 
68  ~BPHKx0ToKPiBuilder() override {}
69 
72  void setPiPtMin(double pt) { setTrk1PtMin(pt); }
74  void setPiEtaMax(double eta) { setTrk1EtaMax(eta); }
75  void setKPtMin(double pt) { setTrk2PtMin(pt); }
76  void setKEtaMax(double eta) { setTrk2EtaMax(eta); }
77  void setPtMin(double pt) {
80  }
81  void setEtaMax(double eta) {
84  }
85 
87  double getPiPtMin() const { return getTrk1PtMin(); }
88  double getPiEtaMax() const { return getTrk1EtaMax(); }
89  double getKPtMin() const { return getTrk2PtMin(); }
90  double getKEtaMax() const { return getTrk2EtaMax(); }
91 };
92 
93 #endif
BPHParticleMasses
Definition: BPHParticleMasses.h:28
BPHDecayToTkpTknSymChargeBuilder::getTrk2EtaMax
double getTrk2EtaMax() const
Definition: BPHDecayToTkpTknSymChargeBuilder.h:82
BPHDecayToTkpTknSymChargeBuilder::getTrk1EtaMax
double getTrk1EtaMax() const
Definition: BPHDecayToTkpTknSymChargeBuilder.h:81
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
BPHDecayToTkpTknSymChargeBuilder.h
DDAxes::x
BPHKx0ToKPiBuilder::setPiPtMin
void setPiPtMin(double pt)
set cuts
Definition: BPHKx0ToKPiBuilder.h:73
BPHKx0ToKPiBuilder::setPtMin
void setPtMin(double pt)
Definition: BPHKx0ToKPiBuilder.h:77
BPHKx0ToKPiBuilder::setKEtaMax
void setKEtaMax(double eta)
Definition: BPHKx0ToKPiBuilder.h:76
BPHKx0ToKPiBuilder::setKPtMin
void setKPtMin(double pt)
Definition: BPHKx0ToKPiBuilder.h:75
BPHDecayToTkpTknSymChargeBuilder::setTrk1EtaMax
void setTrk1EtaMax(double eta)
Definition: BPHDecayToTkpTknSymChargeBuilder.cc:188
BPHParticleMasses.h
BPHKx0ToKPiBuilder::setPiEtaMax
void setPiEtaMax(double eta)
Definition: BPHKx0ToKPiBuilder.h:74
BPHKx0ToKPiBuilder::BPHKx0ToKPiBuilder
BPHKx0ToKPiBuilder(const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
Definition: BPHKx0ToKPiBuilder.h:41
PVValHelper::eta
Definition: PVValidationHelpers.h:70
BPHDecayToTkpTknSymChargeBuilder::getTrk2PtMin
double getTrk2PtMin() const
Definition: BPHDecayToTkpTknSymChargeBuilder.h:80
BPHKx0ToKPiBuilder::getKPtMin
double getKPtMin() const
Definition: BPHKx0ToKPiBuilder.h:89
BPHKx0ToKPiBuilder::setEtaMax
void setEtaMax(double eta)
Definition: BPHKx0ToKPiBuilder.h:81
BPHDecayGenericBuilder::setProbMin
void setProbMin(double p)
Definition: BPHDecayGenericBuilder.cc:72
Event.h
BPHDecayToTkpTknSymChargeBuilder::setTrk2EtaMax
void setTrk2EtaMax(double eta)
Definition: BPHDecayToTkpTknSymChargeBuilder.cc:194
BPHKx0ToKPiBuilder::getKEtaMax
double getKEtaMax() const
Definition: BPHKx0ToKPiBuilder.h:90
edm::EventSetup
Definition: EventSetup.h:58
BPHRecoBuilder.h
BPHRecoBuilder::BPHGenericCollection
Definition: BPHRecoBuilder.h:70
BPHKx0ToKPiBuilder::getPiPtMin
double getPiPtMin() const
get current cuts
Definition: BPHKx0ToKPiBuilder.h:87
BPHPlusMinusCandidate.h
BPHDecayToTkpTknSymChargeBuilder::setTrk2PtMin
void setTrk2PtMin(double pt)
Definition: BPHDecayToTkpTknSymChargeBuilder.cc:182
BPHRecoCandidate.h
BPHKx0ToKPiBuilder::getPiEtaMax
double getPiEtaMax() const
Definition: BPHKx0ToKPiBuilder.h:88
BPHDecayToTkpTknSymChargeBuilder::getTrk1PtMin
double getTrk1PtMin() const
get current cuts
Definition: BPHDecayToTkpTknSymChargeBuilder.h:79
BPHKx0ToKPiBuilder::operator=
BPHKx0ToKPiBuilder & operator=(const BPHKx0ToKPiBuilder &x)=delete
BPHKx0ToKPiBuilder::~BPHKx0ToKPiBuilder
~BPHKx0ToKPiBuilder() override
Definition: BPHKx0ToKPiBuilder.h:68
BPHKx0ToKPiBuilder
Definition: BPHKx0ToKPiBuilder.h:37
BPHDecayToTkpTknSymChargeBuilder::setTrk1PtMin
void setTrk1PtMin(double pt)
set cuts
Definition: BPHDecayToTkpTknSymChargeBuilder.cc:176
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65
BPHDecayToTkpTknSymChargeBuilder
Definition: BPHDecayToTkpTknSymChargeBuilder.h:43