CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BPHLambda0ToPPiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHLambda0ToPPiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHLambda0ToPPiBuilder_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* protonCollection,
43  const BPHRecoBuilder::BPHGenericCollection* pionCollection)
45  "Proton",
46  BPHParticleMasses::protonMass,
47  BPHParticleMasses::protonMSigma,
48  "Pion",
49  BPHParticleMasses::pionMass,
50  BPHParticleMasses::pionMSigma,
51  protonCollection,
52  pionCollection,
53  BPHParticleMasses::lambda0Mass) {
54  setPtMin(0.7);
55  setEtaMax(10.0);
56  setMassRange(0.80, 1.40);
57  }
59  const std::vector<reco::VertexCompositeCandidate>* v0Collection,
60  const std::string& searchList = "cfp")
62  "Proton",
63  BPHParticleMasses::protonMass,
64  BPHParticleMasses::protonMSigma,
65  "Pion",
66  BPHParticleMasses::pionMass,
67  BPHParticleMasses::pionMSigma,
68  v0Collection,
69  BPHParticleMasses::lambda0Mass) {
70  setPtMin(0.0);
71  setEtaMax(10.0);
72  setMassRange(0.00, 3.00);
73  }
75  const std::vector<reco::VertexCompositePtrCandidate>* vpCollection,
76  const std::string& searchList = "cfp")
78  "Proton",
79  BPHParticleMasses::protonMass,
80  BPHParticleMasses::protonMSigma,
81  "Pion",
82  BPHParticleMasses::pionMass,
83  BPHParticleMasses::pionMSigma,
84  vpCollection,
85  BPHParticleMasses::lambda0Mass) {
86  setPtMin(0.0);
87  setEtaMax(10.0);
88  setMassRange(0.00, 3.00);
89  }
90 
91  // deleted copy constructor and assignment operator
94 
98 };
99 
100 #endif
BPHLambda0ToPPiBuilder(const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *protonCollection, const BPHRecoBuilder::BPHGenericCollection *pionCollection)
BPHLambda0ToPPiBuilder & operator=(const BPHLambda0ToPPiBuilder &x)=delete
void setMassRange(double mMin, double mMax)
void setEtaMax(double eta)
BPHLambda0ToPPiBuilder(const edm::EventSetup &es, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp")
void setPtMin(double pt)
set cuts
BPHLambda0ToPPiBuilder(const edm::EventSetup &es, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp")