test
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 
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  virtual ~RecoCaloTowerCandidate();
28  virtual RecoCaloTowerCandidate * clone() const;
30  void setCaloTower( const CaloTowerRef & r ) { caloTower_ = r; }
32  virtual CaloTowerRef caloTower() const;
33 
34  private:
36  virtual bool overlap( const Candidate & ) const;
39  };
40 
41 }
42 
43 #endif
int Charge
electric charge type
Definition: Candidate.h:39
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:41
math::XYZPoint Point
point in the space
Definition: Candidate.h:45
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:32
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:43