CMS 3D CMS Logo

RecoCaloTowerCandidate.h
Go to the documentation of this file.
1 #ifndef RecoCandidate_RecoCaloTowerCandidate_h
2 #define RecoCandidate_RecoCaloTowerCandidate_h
3 
12 
13 namespace reco {
14 
16  public:
21  : RecoCandidate(q, p4, vtx) {}
24  : RecoCandidate(q, p4, vtx) {}
26  ~RecoCaloTowerCandidate() override;
28  RecoCaloTowerCandidate* clone() const override;
30  void setCaloTower(const CaloTowerRef& r) { caloTower_ = r; }
32  CaloTowerRef caloTower() const override;
33 
34  private:
36  bool overlap(const Candidate&) const override;
39  };
40 
41 } // namespace reco
42 
43 #endif
reco::RecoCaloTowerCandidate::caloTower_
CaloTowerRef caloTower_
reference to a CaloTower
Definition: RecoCaloTowerCandidate.h:38
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::RecoCaloTowerCandidate::setCaloTower
void setCaloTower(const CaloTowerRef &r)
set CaloTower reference
Definition: RecoCaloTowerCandidate.h:30
reco::RecoCaloTowerCandidate::RecoCaloTowerCandidate
RecoCaloTowerCandidate(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0))
constructor from values
Definition: RecoCaloTowerCandidate.h:23
data-class-funcs.q
q
Definition: data-class-funcs.py:169
reco::Candidate::Charge
int Charge
electric charge type
Definition: Candidate.h:34
reco::RecoCaloTowerCandidate
Definition: RecoCaloTowerCandidate.h:15
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
RecoCandidate.h
edm::Ref< CaloTowerCollection >
badGlobalMuonTaggersAOD_cff.vtx
vtx
Definition: badGlobalMuonTaggersAOD_cff.py:5
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
reco::RecoCaloTowerCandidate::caloTower
CaloTowerRef caloTower() const override
reference to a CaloTower
Definition: RecoCaloTowerCandidate.cc:9
reco::RecoCaloTowerCandidate::clone
RecoCaloTowerCandidate * clone() const override
returns a clone of the candidate
Definition: RecoCaloTowerCandidate.cc:7
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
reco::RecoCaloTowerCandidate::RecoCaloTowerCandidate
RecoCaloTowerCandidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
constructor from values
Definition: RecoCaloTowerCandidate.h:20
reco::RecoCaloTowerCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another candidate
Definition: RecoCaloTowerCandidate.cc:11
reco::RecoCaloTowerCandidate::~RecoCaloTowerCandidate
~RecoCaloTowerCandidate() override
destructor
Definition: RecoCaloTowerCandidate.cc:5
reco::RecoCandidate
Definition: RecoCandidate.h:20
reco::Candidate
Definition: Candidate.h:27
alignCSCRings.r
r
Definition: alignCSCRings.py:93
reco::RecoCaloTowerCandidate::RecoCaloTowerCandidate
RecoCaloTowerCandidate()
default constructor
Definition: RecoCaloTowerCandidate.h:18
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36