CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:
20  RecoCaloTowerCandidate(Charge q, const LorentzVector& p4, const Point& vtx = Point(0, 0, 0))
21  : RecoCandidate(q, p4, vtx) {}
23  RecoCaloTowerCandidate(Charge q, const PolarLorentzVector& p4, const Point& vtx = Point(0, 0, 0))
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
CaloTowerRef caloTower() const override
reference to a CaloTower
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
bool overlap(const Candidate &) const override
check overlap with another candidate
RecoCaloTowerCandidate()
default constructor
const LorentzVector & p4() const final
four-momentum Lorentz vector
void setCaloTower(const CaloTowerRef &r)
set CaloTower reference
RecoCaloTowerCandidate * clone() const override
returns a clone of the candidate
math::XYZTLorentzVector LorentzVector
CaloTowerRef caloTower_
reference to a CaloTower
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