CMS 3D CMS Logo

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 //------------------------------------
25 
27 
29 
30 //---------------
31 // C++ Headers --
32 //---------------
33 #include <string>
34 #include <vector>
35 
36 // ---------------------
37 // -- Class Interface --
38 // ---------------------
39 
41 public:
45  const BPHRecoBuilder::BPHGenericCollection* posCollection,
46  const BPHRecoBuilder::BPHGenericCollection* negCollection)
49  "PionPos",
50  "PionNeg",
51  BPHParticleMasses::pionMass,
52  BPHParticleMasses::pionMSigma,
53  posCollection,
54  negCollection) {
55  setPtMin(0.7);
56  setEtaMax(10.0);
57  setMassRange(0.40, 0.60);
58  }
59 
60  template <class V0VertexType>
62  const std::vector<V0VertexType>* v0Collection,
63  const std::string& searchList = "cfp")
66  "PionPos",
67  "PionNeg",
68  BPHParticleMasses::pionMass,
69  BPHParticleMasses::pionMSigma,
70  v0Collection,
71  searchList) {
72  setPtMin(0.0);
73  setEtaMax(10.0);
74  setMassRange(0.00, 2.00);
75  }
76 
77  // deleted copy constructor and assignment operator
78  BPHK0sToPiPiBuilder(const BPHK0sToPiPiBuilder& x) = delete;
80 
83  ~BPHK0sToPiPiBuilder() override = default;
84 };
85 
86 #endif
~BPHK0sToPiPiBuilder() override=default
BPHK0sToPiPiBuilder(const BPHEventSetupWrapper &es, const std::vector< V0VertexType > *v0Collection, const std::string &searchList="cfp")
BPHK0sToPiPiBuilder(const BPHEventSetupWrapper &es, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
BPHK0sToPiPiBuilder & operator=(const BPHK0sToPiPiBuilder &x)=delete
common object to interface with edm collections
void setMassRange(double mMin, double mMax)