CMS 3D CMS Logo

RecoChargedCandidate.h
Go to the documentation of this file.
1 #ifndef RecoCandidate_RecoChargedCandidate_h
2 #define RecoCandidate_RecoChargedCandidate_h
3 
12 
13 namespace reco {
14 
16  public:
21  Charge q, const LorentzVector& p4, const Point& vtx = Point(0, 0, 0), int pdgId = 0, int status = 0)
22  : RecoCandidate(q, p4, vtx, pdgId, status) {}
25  Charge q, const PolarLorentzVector& p4, const Point& vtx = Point(0, 0, 0), int pdgId = 0, int status = 0)
26  : RecoCandidate(q, p4, vtx, pdgId, status) {}
28  ~RecoChargedCandidate() override;
30  RecoChargedCandidate* clone() const override;
32  void setTrack(const reco::TrackRef& r) { track_ = r; }
34  reco::TrackRef track() const override;
35 
36  private:
38  bool overlap(const Candidate&) const override;
41  };
42 
43 } // namespace reco
44 
45 #endif
reco::RecoChargedCandidate::track
reco::TrackRef track() const override
reference to a track
Definition: RecoChargedCandidate.cc:9
reco::LeafCandidate::Point
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27
reco::LeafCandidate::status
int status() const final
status word
Definition: LeafCandidate.h:180
reco::RecoChargedCandidate::~RecoChargedCandidate
~RecoChargedCandidate() override
destructor
Definition: RecoChargedCandidate.cc:5
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
reco::RecoChargedCandidate::RecoChargedCandidate
RecoChargedCandidate(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
constructor from values
Definition: RecoChargedCandidate.h:24
reco::Candidate::Charge
int Charge
electric charge type
Definition: Candidate.h:34
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
RecoCandidate.h
edm::Ref< TrackCollection >
reco::RecoChargedCandidate::setTrack
void setTrack(const reco::TrackRef &r)
set reference to track
Definition: RecoChargedCandidate.h:32
reco::RecoChargedCandidate::RecoChargedCandidate
RecoChargedCandidate()
default constructor
Definition: RecoChargedCandidate.h:18
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
reco::LeafCandidate::pdgId
int pdgId() const final
PDG identifier.
Definition: LeafCandidate.h:176
reco::RecoChargedCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: RecoChargedCandidate.cc:11
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
reco::RecoChargedCandidate
Definition: RecoChargedCandidate.h:15
submitPVResolutionJobs.q
q
Definition: submitPVResolutionJobs.py:84
reco::RecoChargedCandidate::track_
reco::TrackRef track_
reference to a track
Definition: RecoChargedCandidate.h:40
reco::RecoCandidate
Definition: RecoCandidate.h:20
reco::Candidate
Definition: Candidate.h:27
alignCSCRings.r
r
Definition: alignCSCRings.py:93
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
reco::RecoChargedCandidate::RecoChargedCandidate
RecoChargedCandidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
constructor from values
Definition: RecoChargedCandidate.h:20
reco::RecoChargedCandidate::clone
RecoChargedCandidate * clone() const override
returns a clone of the candidate
Definition: RecoChargedCandidate.cc:7
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36