CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
double getTrkPtMin() const
get current cuts
void setTrkPtMin(double pt)
set cuts
std::vector< BPHRecoConstCandPtr > build()
build candidates
double getPtMin() const
get current pt min
const BPHRecoBuilder::BPHGenericCollection * tCollection
BPHParticleNeutralVeto * tknVeto
BPHParticleEtaSelect * etaSel
std::vector< BPHRecoConstCandPtr > recList
double getEtaMax() const
get current eta max
BPHParticlePtSelect * ptSel
BPHDecayToResTrkBuilder & operator=(const BPHDecayToResTrkBuilder &x)=delete
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)