CMS 3D CMS Logo

BPHRecoCandidate.cc
Go to the documentation of this file.
1 /*
2  * See header file for a description of this class.
3  *
4  * \author Paolo Ronchese INFN Padova
5  *
6  */
7 
8 //-----------------------
9 // This Class' Header --
10 //-----------------------
12 
13 //-------------------------------
14 // Collaborating Class Headers --
15 //-------------------------------
17 
18 //---------------
19 // C++ Headers --
20 //---------------
21 #include <iostream>
22 
23 using namespace std;
24 
25 //-------------------
26 // Initializations --
27 //-------------------
28 
29 //----------------
30 // Constructors --
31 //----------------
33 
35  : BPHDecayMomentum(compList.daugMap, compList.compMap), BPHDecayVertex(this, es), BPHKinematicFit(this) {}
36 
37 //--------------
38 // Destructor --
39 //--------------
41 
42 //--------------
43 // Operations --
44 //--------------
45 vector<BPHRecoConstCandPtr> BPHRecoCandidate::build(const BPHRecoBuilder& builder, double mass, double msig) {
46  // create a list of pointers to BPHRecoCandidate and fill it
47  // with particle combinations selected by the BPHRecoBuilder
48  vector<BPHRecoConstCandPtr> cList;
49  fill<BPHRecoCandidate>(cList, builder, mass, msig);
50  return cList;
51 }
std::vector< BPHRecoConstCandPtr > cList
BPHRecoCandidate(const edm::EventSetup *es)
virtual ParticleMass mass() const
~BPHRecoCandidate() override
static std::vector< BPHRecoConstCandPtr > build(const BPHRecoBuilder &builder, double mass=-1, double msig=-1)
std::vector< Component > compList