CMS 3D CMS Logo

BPHDecayToV0SameMassBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayToV0SameMassBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayToV0SameMassBuilder_h
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
19 
20 //------------------------------------
21 // Collaborating Class Declarations --
22 //------------------------------------
26 
28 
29 //---------------
30 // C++ Headers --
31 //---------------
32 #include <string>
33 #include <vector>
34 #include <map>
35 
36 // ---------------------
37 // -- Class Interface --
38 // ---------------------
39 
41 public:
45  const std::string& posName,
46  const std::string& negName,
47  double daugMass,
48  double daugSigma,
49  const BPHRecoBuilder::BPHGenericCollection* posCollection,
50  const BPHRecoBuilder::BPHGenericCollection* negCollection);
52  const std::string& posName,
53  const std::string& negName,
54  double daugMass,
55  double daugSigma,
56  const std::vector<reco::VertexCompositeCandidate>* v0Collection,
57  const std::string& searchList = "cfp");
59  const std::string& posName,
60  const std::string& negName,
61  double daugMass,
62  double daugSigma,
63  const std::vector<reco::VertexCompositePtrCandidate>* vpCollection,
64  const std::string& searchList = "cfp");
65 
66  // deleted copy constructor and assignment operator
69 
72  ~BPHDecayToV0SameMassBuilder() override = default;
73 
74 protected:
75  double pMass;
76  double pSigma;
77 
79  void buildFromBPHGenericCollection() override;
81  const reco::Candidate* c2,
82  const void* v0,
83  v0Type type) override;
84 
85 private:
88 };
89 
90 #endif
void buildFromBPHGenericCollection() override
build candidates and link to V0
BPHGenericPtr< BPHPlusMinusCandidate >::type BPHPlusMinusCandidatePtr
BPHPlusMinusCandidatePtr buildCandidate(const reco::Candidate *c1, const reco::Candidate *c2, const void *v0, v0Type type) override
BPHDecayToV0SameMassBuilder(const BPHEventSetupWrapper &es, const std::string &posName, const std::string &negName, double daugMass, double daugSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
~BPHDecayToV0SameMassBuilder() override=default
common object to interface with edm collections
void fillRecList() override
build candidates
BPHDecayToV0SameMassBuilder & operator=(const BPHDecayToV0SameMassBuilder &x)=delete
void fillRecList() override
build candidates