CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BPHDecayToV0DiffMassBuilder.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayToV0DiffMassBuilder_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayToV0DiffMassBuilder_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  double d1Mass,
46  double d1Sigma,
47  const std::string& d2Name,
48  double d2Mass,
49  double d2Sigma,
50  const BPHRecoBuilder::BPHGenericCollection* posCollection,
51  const BPHRecoBuilder::BPHGenericCollection* negCollection,
52  double expectedMass);
54  const std::string& d1Name,
55  double d1Mass,
56  double d1Sigma,
57  const std::string& d2Name,
58  double d2Mass,
59  double d2Sigma,
60  const std::vector<reco::VertexCompositeCandidate>* v0Collection,
61  double expectedMass,
62  const std::string& searchList = "cfp");
64  const std::string& d1Name,
65  double d1Mass,
66  double d1Sigma,
67  const std::string& d2Name,
68  double d2Mass,
69  double d2Sigma,
70  const std::vector<reco::VertexCompositePtrCandidate>* vpCollection,
71  double expectedMass,
72  const std::string& searchList = "cfp");
73 
74  // deleted copy constructor and assignment operator
77 
81 
82 protected:
83  double p1Mass;
84  double p2Mass;
85  double p1Sigma;
86  double p2Sigma;
87  double expMass;
88 
90  void buildFromBPHGenericCollection() override;
92  const reco::Candidate* c2,
93  const void* v0,
94  v0Type type) override;
95 };
96 
97 #endif
void buildFromBPHGenericCollection() override
build candidates and link to V0
BPHPlusMinusCandidatePtr buildCandidate(const reco::Candidate *c1, const reco::Candidate *c2, const void *v0, v0Type type) override
BPHGenericPtr< BPHPlusMinusCandidate >::type BPHPlusMinusCandidatePtr
BPHDecayToV0DiffMassBuilder & operator=(const BPHDecayToV0DiffMassBuilder &x)=delete
BPHDecayToV0DiffMassBuilder(const edm::EventSetup &es, const std::string &d1Name, double d1Mass, double d1Sigma, const std::string &d2Name, double d2Mass, double d2Sigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection, double expectedMass)