CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoEcalCandidate.h
Go to the documentation of this file.
1 #ifndef RecoCandidate_RecoEcalCandidate_h
2 #define RecoCandidate_RecoEcalCandidate_h
3 
13 
14 namespace reco {
15 
17  public:
21  RecoEcalCandidate( Charge q , const LorentzVector & p4, const Point & vtx = Point( 0, 0, 0 ),
22  int pdgId = 0, int status = 0 ) :
23  RecoCandidate( q, p4, vtx, pdgId, status ) { }
25  RecoEcalCandidate( Charge q , const PolarLorentzVector & p4, const Point & vtx = Point( 0, 0, 0 ),
26  int pdgId = 0, int status = 0 ) :
27  RecoCandidate( q, p4, vtx, pdgId, status ) { }
29  virtual ~RecoEcalCandidate();
31  virtual RecoEcalCandidate * clone() const;
35  virtual reco::SuperClusterRef superCluster() const;
36 
37  private:
39  virtual bool overlap( const Candidate & ) const;
42  };
43 
44 }
45 
46 #endif
int Charge
electric charge type
Definition: Candidate.h:39
virtual const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
virtual int pdgId() const GCC11_FINAL
PDG identifier.
RecoEcalCandidate()
default constructor
void setSuperCluster(const reco::SuperClusterRef &r)
set reference to superCluster
virtual reco::SuperClusterRef superCluster() const
reference to a superCluster
virtual bool overlap(const Candidate &) const
check overlap with another candidate
RecoEcalCandidate(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
constructor from values
virtual int status() const GCC11_FINAL
status word
RecoEcalCandidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
constructor from values
virtual RecoEcalCandidate * clone() const
returns a clone of the candidate
reco::SuperClusterRef superCluster_
reference to a superCluster
virtual ~RecoEcalCandidate()
destructor
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:41
math::XYZPoint Point
point in the space
Definition: Candidate.h:45
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:30
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:43