CMS 3D CMS Logo

BPHDecayToResTrkBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayToResTrkBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayToResTrkBuilder_h
3 
13 //----------------------
14 // Base Class Headers --
15 //----------------------
17 
18 //------------------------------------
19 // Collaborating Class Declarations --
20 //------------------------------------
23 
27 
29 
31 
32 //---------------
33 // C++ Headers --
34 //---------------
35 #include <string>
36 #include <vector>
37 
38 // ---------------------
39 // -- Class Interface --
40 // ---------------------
41 
43 public:
47  const std::string& resName,
48  double resMass,
49  double resWidth,
50  const std::vector<BPHPlusMinusConstCandPtr>& resCollection,
51  const std::string& trkName,
52  double trkMass,
53  double trkSigma,
54  const BPHRecoBuilder::BPHGenericCollection* trkCollection);
55 
56  // deleted copy constructor and assignment operator
59 
62  ~BPHDecayToResTrkBuilder() override;
63 
66  std::vector<BPHRecoConstCandPtr> build();
68 
70  void setTrkPtMin(double pt);
71  void setTrkEtaMax(double eta);
72 
74  double getTrkPtMin() const { return ptSel->getPtMin(); }
75  double getTrkEtaMax() const { return etaSel->getEtaMax(); }
76 
77 private:
79  double tMass;
80  double tSigma;
81 
83 
87 
88  std::vector<BPHRecoConstCandPtr> recList;
89 };
90 
91 #endif
BPHDecayToResTrkBuilder::getTrkPtMin
double getTrkPtMin() const
get current cuts
Definition: BPHDecayToResTrkBuilder.h:74
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
BPHDecayToResTrkBuilder::build
std::vector< BPHRecoConstCandPtr > build()
build candidates
Definition: BPHDecayToResTrkBuilder.cc:63
BPHParticlePtSelect::getPtMin
double getPtMin() const
get current pt min
Definition: BPHParticlePtSelect.h:56
BPHDecayToResTrkBuilder::tMass
double tMass
Definition: BPHDecayToResTrkBuilder.h:79
BPHDecayConstrainedBuilder
Definition: BPHDecayConstrainedBuilder.h:37
BPHDecayToResTrkBuilder
Definition: BPHDecayToResTrkBuilder.h:42
DDAxes::x
BPHParticleEtaSelect
Definition: BPHParticleEtaSelect.h:30
BPHDecayToResTrkBuilder::recList
std::vector< BPHRecoConstCandPtr > recList
Definition: BPHDecayToResTrkBuilder.h:88
BPHParticlePtSelect.h
PVValHelper::eta
Definition: PVValidationHelpers.h:70
BPHDecayToResTrkBuilder::tCollection
const BPHRecoBuilder::BPHGenericCollection * tCollection
Definition: BPHDecayToResTrkBuilder.h:82
BPHParticleNeutralVeto
Definition: BPHParticleNeutralVeto.h:30
BPHDecayToResTrkBuilder::setTrkPtMin
void setTrkPtMin(double pt)
set cuts
Definition: BPHDecayToResTrkBuilder.cc:94
BPHParticlePtSelect
Definition: BPHParticlePtSelect.h:30
BPHParticleEtaSelect::getEtaMax
double getEtaMax() const
get current eta max
Definition: BPHParticleEtaSelect.h:56
Event.h
BPHDecayToResTrkBuilder::~BPHDecayToResTrkBuilder
~BPHDecayToResTrkBuilder() override
Definition: BPHDecayToResTrkBuilder.cc:54
BPHDecayToResTrkBuilder::tName
std::string tName
Definition: BPHDecayToResTrkBuilder.h:78
edm::EventSetup
Definition: EventSetup.h:58
BPHParticleEtaSelect.h
BPHRecoBuilder.h
BPHDecayToResTrkBuilder::getTrkEtaMax
double getTrkEtaMax() const
Definition: BPHDecayToResTrkBuilder.h:75
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BPHRecoBuilder::BPHGenericCollection
Definition: BPHRecoBuilder.h:70
BPHDecayToResTrkBuilder::BPHDecayToResTrkBuilder
BPHDecayToResTrkBuilder(const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
Definition: BPHDecayToResTrkBuilder.cc:33
BPHPlusMinusCandidate.h
BPHDecayToResTrkBuilder::etaSel
BPHParticleEtaSelect * etaSel
Definition: BPHDecayToResTrkBuilder.h:86
BPHRecoCandidate.h
BPHDecayToResTrkBuilder::ptSel
BPHParticlePtSelect * ptSel
Definition: BPHDecayToResTrkBuilder.h:85
BPHDecayToResTrkBuilder::operator=
BPHDecayToResTrkBuilder & operator=(const BPHDecayToResTrkBuilder &x)=delete
BPHDecayToResTrkBuilder::setTrkEtaMax
void setTrkEtaMax(double eta)
Definition: BPHDecayToResTrkBuilder.cc:100
BPHDecayConstrainedBuilder.h
BPHDecayToResTrkBuilder::tknVeto
BPHParticleNeutralVeto * tknVeto
Definition: BPHDecayToResTrkBuilder.h:84
BPHDecayToResTrkBuilder::tSigma
double tSigma
Definition: BPHDecayToResTrkBuilder.h:80