CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloRegion.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Trigger_CaloRegion_h
2 #define DataFormats_L1Trigger_CaloRegion_h
3 
4 
7 
8 namespace l1t {
9 
10  class CaloRegion : public L1Candidate {
11 
12  public:
14  CaloRegion( const LorentzVector& p4,
15  double etEm=0.,
16  double etHad=0.,
17  int pt=0,
18  int eta=0,
19  int phi=0,
20  int qual=0,
21  int hwEtEm=0,
22  int hwEtHad=0);
23 
24  ~CaloRegion();
25 
26  void setEtEm( double et );
27  void setEtHad( double et );
28  void setHwEtEm( int et );
29  void setHwEtHad( int et );
30 
31  double etEm()const;
32  double etHad()const;
33  int hwEtEm()const;
34  int hwEtHad()const;
35 
36  private:
37 
38  // additional hardware quantities
39  double etEm_;
40  double etHad_;
41 
42  int hwEtEm_;
43  int hwEtHad_;
44 
45  };
46 
48 
49 }
50 
51 #endif
void setHwEtEm(int et)
Definition: CaloRegion.cc:37
int hwEtHad() const
Definition: CaloRegion.cc:63
BXVector< CaloRegion > CaloRegionBxCollection
Definition: CaloRegion.h:47
virtual double et() const
transverse energy
math::XYZTLorentzVector LorentzVector
void setEtEm(double et)
Definition: CaloRegion.cc:27
double etHad() const
Definition: CaloRegion.cc:53
virtual double eta() const
momentum pseudorapidity
virtual double pt() const
transverse momentum
void setHwEtHad(int et)
Definition: CaloRegion.cc:42
void setEtHad(double et)
Definition: CaloRegion.cc:32
int hwEtEm() const
Definition: CaloRegion.cc:58
double etEm() const
Definition: CaloRegion.cc:48
virtual double phi() const
momentum azimuthal angle
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: LeafCandidate.h:99