CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EtSum.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Trigger_ETSum_h
2 #define DataFormats_L1Trigger_ETSum_h
3 
4 
7 
8 namespace l1t {
9 
10  class EtSum;
12 
13  class EtSum : public L1Candidate {
14 
15  public:
16 
17  enum EtSumType {
26  };
27 
28  EtSum(){}
29  EtSum( const LorentzVector& p4,
31  int pt=0,
32  int eta=0,
33  int phi=0,
34  int qual=0);
35 
36  EtSum( const PolarLorentzVector& p4,
38  int pt=0,
39  int eta=0,
40  int phi=0,
41  int qual=0);
42 
43 
44  ~EtSum();
45 
46  void setType(EtSumType type);
47 
48  EtSumType getType() const;
49 
50  private:
51 
52  // type of EtSum
54 
55  // additional hardware quantities common to L1 global EtSum
56  // there are currently none
57 
58  };
59 
60 }
61 
62 #endif
type
Definition: HCALResponse.h:21
virtual float pt() const
transverse momentum
~EtSum()
Definition: EtSum.cc:27
virtual float phi() const
momentum azimuthal angle
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:30
void setType(EtSumType type)
Definition: EtSum.cc:32
BXVector< EtSum > EtSumBxCollection
Definition: EtSum.h:10
virtual float eta() const
momentum pseudorapidity
EtSum()
Definition: EtSum.h:28
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > LorentzVector
Definition: analysisEnums.h:9
EtSumType type_
Definition: EtSum.h:53
EtSumType getType() const
Definition: EtSum.cc:37
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
EtSumType
Definition: EtSum.h:17