CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 //----------------------
18 
19 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
25 
27 
28 //---------------
29 // C++ Headers --
30 //---------------
31 #include <string>
32 #include <vector>
33 #include <map>
34 
35 // ---------------------
36 // -- Class Interface --
37 // ---------------------
38 
40 public:
44  const std::string& d1Name,
45  const std::string& d2Name,
46  double dMass,
47  double dSigma,
48  const BPHRecoBuilder::BPHGenericCollection* d1Collection,
49  const BPHRecoBuilder::BPHGenericCollection* d2Collection);
51  const std::string& d1Name,
52  const std::string& d2Name,
53  double dMass,
54  double dSigma,
55  const std::vector<reco::VertexCompositeCandidate>* v0Collection,
56  const std::string& searchList = "cfp");
58  const std::string& d1Name,
59  const std::string& d2Name,
60  double dMass,
61  double dSigma,
62  const std::vector<reco::VertexCompositePtrCandidate>* vpCollection,
63  const std::string& searchList = "cfp");
64 
65  // deleted copy constructor and assignment operator
68 
72 
73 protected:
74  double pMass;
75  double pSigma;
76 
78  void buildFromBPHGenericCollection() override;
80  const reco::Candidate* c2,
81  const void* v0,
82  v0Type type) override;
83 };
84 
85 #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 edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, double dMass, double dSigma, const BPHRecoBuilder::BPHGenericCollection *d1Collection, const BPHRecoBuilder::BPHGenericCollection *d2Collection)
BPHDecayToV0SameMassBuilder & operator=(const BPHDecayToV0SameMassBuilder &x)=delete