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 //----------------
31 // Constructors --
32 //----------------
34  BPHDecayVertex( es ) {
35 }
36 
37 
40  BPHDecayMomentum( compList.daugMap, compList.compMap ),
41  BPHDecayVertex( this, es ),
42  BPHKinematicFit( this ) {
43 }
44 
45 //--------------
46 // Destructor --
47 //--------------
49 }
50 
51 
52 //--------------
53 // Operations --
54 //--------------
55 vector<BPHRecoConstCandPtr> BPHRecoCandidate::build(
56  const BPHRecoBuilder& builder,
57  double mass, double msig ) {
58  // create a list of pointers to BPHRecoCandidate and fill it
59  // with particle combinations selected by the BPHRecoBuilder
60  vector<BPHRecoConstCandPtr> cList;
61  fill<BPHRecoCandidate>( cList, builder, mass, msig );
62  return cList;
63 }
64 
BPHRecoCandidate(const edm::EventSetup *es)
virtual ParticleMass mass() const
~BPHRecoCandidate() override
std::vector< BPHRecoConstCandPtr > cList
static std::vector< BPHRecoConstCandPtr > build(const BPHRecoBuilder &builder, double mass=-1, double msig=-1)
std::vector< Component > compList