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
int Charge
electric charge type
Definition: Candidate.h:34
~RecoCaloTowerCandidate() override
destructor
RecoCaloTowerCandidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
constructor from values
CaloTowerRef caloTower() const override
reference to a CaloTower
bool overlap(const Candidate &) const override
check overlap with another candidate
RecoCaloTowerCandidate()
default constructor
const LorentzVector & p4() const final
four-momentum Lorentz vector
RecoCaloTowerCandidate(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0))
constructor from values
void setCaloTower(const CaloTowerRef &r)
set CaloTower reference
RecoCaloTowerCandidate * clone() const override
returns a clone of the candidate
CaloTowerRef caloTower_
reference to a CaloTower
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
fixed size matrix
Structure Point Contains parameters of Gaussian fits to DMRs.
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38