CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CaloRecHitCandidate.h
Go to the documentation of this file.
1 #ifndef RecoCandidate_CaloRecHitCandidate_h
2 #define RecoCandidate_CaloRecHitCandidate_h
3 
14 
15 namespace reco {
16 
18  public:
23  CaloRecHitCandidate(const LorentzVector& p4, Charge q = 0, const Point& vtx = Point(0, 0, 0))
24  : LeafCandidate(q, p4, vtx) {}
26  CaloRecHitCandidate(const PolarLorentzVector& p4, Charge q = 0, const Point& vtx = Point(0, 0, 0))
27  : LeafCandidate(q, p4, vtx) {}
29  ~CaloRecHitCandidate() override;
31  CaloRecHitCandidate* clone() const override;
35  CaloRecHitRef caloRecHit() const { return caloRecHit_; }
36 
37  private:
39  bool overlap(const Candidate&) const override;
42  };
45 
46 } // namespace reco
47 
48 #endif
bool overlap(const Candidate &) const override
check overlap with another candidate
CaloRecHitRef caloRecHit() const
reference to a CaloRecHit
CaloRecHitCandidate * clone() const override
returns a clone of the candidate
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
edm::RefToBase< CaloRecHit > CaloRecHitRef
const LorentzVector & p4() const final
four-momentum Lorentz vector
CaloRecHitRef caloRecHit_
reference to a CaloRecHit
math::XYZTLorentzVector LorentzVector
void setCaloRecHit(const CaloRecHitRef &r)
set CaloRecHit reference
#define GET_DEFAULT_CANDIDATE_COMPONENT(CAND, TYPE, FUN)
Definition: component.h:97
CaloRecHitCandidate()
default constructor
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
int Charge
electric charge type
Definition: LeafCandidate.h:21
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27