test
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 {
22  };
23 
24  EtSum(){}
25  EtSum( const LorentzVector& p4,
27  int pt=0,
28  int eta=0,
29  int phi=0,
30  int qual=0);
31 
32  EtSum( const PolarLorentzVector& p4,
34  int pt=0,
35  int eta=0,
36  int phi=0,
37  int qual=0);
38 
39 
40  ~EtSum();
41 
42  void setType(EtSumType type);
43 
44  EtSumType getType() const;
45 
46  private:
47 
48  // type of EtSum
50 
51  // additional hardware quantities common to L1 global EtSum
52  // there are currently none
53 
54  };
55 
56 }
57 
58 #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:24
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > LorentzVector
Definition: analysisEnums.h:9
EtSumType type_
Definition: EtSum.h:49
EtSumType getType() const
Definition: EtSum.cc:37
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
EtSumType
Definition: EtSum.h:17