CMS 3D CMS Logo

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
reco::LeafCandidate::Point
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
reco::Candidate::Charge
int Charge
electric charge type
Definition: Candidate.h:34
reco::CaloRecHitCandidate::caloRecHit_
CaloRecHitRef caloRecHit_
reference to a CaloRecHit
Definition: CaloRecHitCandidate.h:41
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
RecoCandidate.h
CaloRecHit.h
reco::CaloRecHitCandidate::~CaloRecHitCandidate
~CaloRecHitCandidate() override
destructor
Definition: CaloRecHitCandidate.cc:5
reco::CaloRecHitCandidate::CaloRecHitCandidate
CaloRecHitCandidate(const LorentzVector &p4, Charge q=0, const Point &vtx=Point(0, 0, 0))
constructor from values
Definition: CaloRecHitCandidate.h:23
reco::CaloRecHitCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: CaloRecHitCandidate.cc:9
RefToBase.h
reco::CaloRecHitCandidate
Definition: CaloRecHitCandidate.h:17
GET_DEFAULT_CANDIDATE_COMPONENT
#define GET_DEFAULT_CANDIDATE_COMPONENT(CAND, TYPE, FUN)
Definition: component.h:97
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
reco::CaloRecHitCandidate::CaloRecHitRef
edm::RefToBase< CaloRecHit > CaloRecHitRef
Definition: CaloRecHitCandidate.h:19
reco::CaloRecHitCandidate::setCaloRecHit
void setCaloRecHit(const CaloRecHitRef &r)
set CaloRecHit reference
Definition: CaloRecHitCandidate.h:33
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
submitPVResolutionJobs.q
q
Definition: submitPVResolutionJobs.py:84
reco::CaloRecHitCandidate::CaloRecHitCandidate
CaloRecHitCandidate(const PolarLorentzVector &p4, Charge q=0, const Point &vtx=Point(0, 0, 0))
constructor from values
Definition: CaloRecHitCandidate.h:26
reco::Candidate
Definition: Candidate.h:27
alignCSCRings.r
r
Definition: alignCSCRings.py:93
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:19
edm::RefToBase< CaloRecHit >
reco::CaloRecHitCandidate::caloRecHit
CaloRecHitRef caloRecHit() const
reference to a CaloRecHit
Definition: CaloRecHitCandidate.h:35
reco::LeafCandidate
Definition: LeafCandidate.h:16
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
reco::CaloRecHitCandidate::clone
CaloRecHitCandidate * clone() const override
returns a clone of the candidate
Definition: CaloRecHitCandidate.cc:7
reco::CaloRecHitCandidate::CaloRecHitCandidate
CaloRecHitCandidate()
default constructor
Definition: CaloRecHitCandidate.h:21