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