CMS 3D CMS Logo

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 //------------------------------------
26 
28 
30 
32 
33 //---------------
34 // C++ Headers --
35 //---------------
36 #include <string>
37 #include <vector>
38 
39 // ---------------------
40 // -- Class Interface --
41 // ---------------------
42 
44 public:
48  const BPHRecoBuilder::BPHGenericCollection* protonCollection,
49  const BPHRecoBuilder::BPHGenericCollection* pionCollection)
52  "Proton",
53  BPHParticleMasses::protonMass,
54  BPHParticleMasses::protonMSigma,
55  "Pion",
56  BPHParticleMasses::pionMass,
57  BPHParticleMasses::pionMSigma,
58  protonCollection,
59  pionCollection,
60  BPHParticleMasses::lambda0Mass) {
61  setPtMin(0.7);
62  setEtaMax(10.0);
63  setMassRange(0.80, 1.40);
64  }
65 
66  template <class V0VertexType>
68  const std::vector<V0VertexType>* v0Collection,
69  const std::string& searchList = "cfp")
72  "Proton",
73  BPHParticleMasses::protonMass,
74  BPHParticleMasses::protonMSigma,
75  "Pion",
76  BPHParticleMasses::pionMass,
77  BPHParticleMasses::pionMSigma,
78  v0Collection,
79  BPHParticleMasses::lambda0Mass) {
80  setPtMin(0.0);
81  setEtaMax(10.0);
82  setMassRange(0.00, 3.00);
83  }
84 
85  // deleted copy constructor and assignment operator
88 
91  ~BPHLambda0ToPPiBuilder() override = default;
92 };
93 
94 #endif
BPHLambda0ToPPiBuilder & operator=(const BPHLambda0ToPPiBuilder &x)=delete
BPHLambda0ToPPiBuilder(const BPHEventSetupWrapper &es, const BPHRecoBuilder::BPHGenericCollection *protonCollection, const BPHRecoBuilder::BPHGenericCollection *pionCollection)
BPHLambda0ToPPiBuilder(const BPHEventSetupWrapper &es, const std::vector< V0VertexType > *v0Collection, const std::string &searchList="cfp")
~BPHLambda0ToPPiBuilder() override=default
common object to interface with edm collections
void setMassRange(double mMin, double mMax)