CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BPHK0sToPiPiBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHK0sToPiPiBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHK0sToPiPiBuilder_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  "PionPos",
46  "PionNeg",
47  BPHParticleMasses::pionMass,
48  BPHParticleMasses::pionMSigma,
49  posCollection,
50  negCollection) {
51  setPtMin(0.7);
52  setEtaMax(10.0);
53  setMassRange(0.40, 0.60);
54  }
56  const std::vector<reco::VertexCompositeCandidate>* v0Collection,
57  const std::string& searchList = "cfp")
59  "PionPos",
60  "PionNeg",
61  BPHParticleMasses::pionMass,
62  BPHParticleMasses::pionMSigma,
63  v0Collection,
64  searchList) {
65  setPtMin(0.0);
66  setEtaMax(10.0);
67  setMassRange(0.00, 2.00);
68  }
70  const std::vector<reco::VertexCompositePtrCandidate>* vpCollection,
71  const std::string& searchList = "cfp")
73  "PionPos",
74  "PionNeg",
75  BPHParticleMasses::pionMass,
76  BPHParticleMasses::pionMSigma,
77  vpCollection,
78  searchList) {
79  setPtMin(0.0);
80  setEtaMax(10.0);
81  setMassRange(0.00, 2.00);
82  }
83 
84  // deleted copy constructor and assignment operator
85  BPHK0sToPiPiBuilder(const BPHK0sToPiPiBuilder& x) = delete;
87 
90  ~BPHK0sToPiPiBuilder() override {}
91 };
92 
93 #endif
BPHK0sToPiPiBuilder(const edm::EventSetup &es, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp")
void setMassRange(double mMin, double mMax)
void setEtaMax(double eta)
BPHK0sToPiPiBuilder & operator=(const BPHK0sToPiPiBuilder &x)=delete
void setPtMin(double pt)
set cuts
BPHK0sToPiPiBuilder(const edm::EventSetup &es, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp")
BPHK0sToPiPiBuilder(const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)