CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoCaloTowerCandidate.h
Go to the documentation of this file.
1 #ifndef RecoCandidate_RecoCaloTowerCandidate_h
2 #define RecoCandidate_RecoCaloTowerCandidate_h
3 
13 
14 namespace reco {
15 
17  public:
21  RecoCaloTowerCandidate( Charge q , const LorentzVector & p4, const Point & vtx = Point( 0, 0, 0 ) ) :
22  RecoCandidate( q, p4, vtx ) { }
24  RecoCaloTowerCandidate( Charge q , const PolarLorentzVector & p4, const Point & vtx = Point( 0, 0, 0 ) ) :
25  RecoCandidate( q, p4, vtx ) { }
27  virtual ~RecoCaloTowerCandidate();
29  virtual RecoCaloTowerCandidate * clone() const;
31  void setCaloTower( const CaloTowerRef & r ) { caloTower_ = r; }
33  virtual CaloTowerRef caloTower() const;
34 
35  private:
37  virtual bool overlap( const Candidate & ) const;
40  };
41 
42 }
43 
44 #endif
int Charge
electric charge type
Definition: Candidate.h:36
virtual CaloTowerRef caloTower() const
reference to a CaloTower
RecoCaloTowerCandidate(Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
constructor from values
virtual RecoCaloTowerCandidate * clone() const
returns a clone of the candidate
virtual ~RecoCaloTowerCandidate()
destructor
RecoCaloTowerCandidate()
default constructor
virtual bool overlap(const Candidate &) const
check overlap with another candidate
RecoCaloTowerCandidate(Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0))
constructor from values
void setCaloTower(const CaloTowerRef &r)
set CaloTower reference
CaloTowerRef caloTower_
reference to a CaloTower
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:38
math::XYZPoint Point
point in the space
Definition: Candidate.h:42
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:29
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:40