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;
14  typedef std::vector< EtSumRef > EtSumVectorRef ;
15 
16  class EtSum : public L1Candidate {
17 
18  public:
19 
20  enum EtSumType {
43  };
44 
45  EtSum(){}
46  EtSum( const LorentzVector& p4,
48  int pt=0,
49  int eta=0,
50  int phi=0,
51  int qual=0);
52 
53  EtSum( const PolarLorentzVector& p4,
55  int pt=0,
56  int eta=0,
57  int phi=0,
58  int qual=0);
59 
60 
61  ~EtSum();
62 
63  void setType(EtSumType type);
64 
65  EtSumType getType() const;
66 
67  private:
68 
69  // type of EtSum
71 
72  // additional hardware quantities common to L1 global EtSum
73  // there are currently none
74 
75  };
76 
77 }
78 
79 #endif
type
Definition: HCALResponse.h:21
~EtSum()
Definition: EtSum.cc:27
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
math::XYZTLorentzVector LorentzVector
virtual double phi() const final
momentum azimuthal angle
void setType(EtSumType type)
Definition: EtSum.cc:32
BXVector< EtSum > EtSumBxCollection
Definition: EtSum.h:10
EtSum()
Definition: EtSum.h:45
edm::RefVector< EtSumBxCollection > EtSumRefVector
Definition: EtSum.h:13
edm::Ref< EtSumBxCollection > EtSumRef
Definition: EtSum.h:12
EtSumType type_
Definition: EtSum.h:70
std::vector< EtSumRef > EtSumVectorRef
Definition: EtSum.h:14
virtual double eta() const final
momentum pseudorapidity
EtSumType getType() const
Definition: EtSum.cc:37
EtSumType
Definition: EtSum.h:20
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
virtual double pt() const final
transverse momentum