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 {
36  };
37 
38  EtSum(){}
39  EtSum( const LorentzVector& p4,
41  int pt=0,
42  int eta=0,
43  int phi=0,
44  int qual=0);
45 
46  EtSum( const PolarLorentzVector& p4,
48  int pt=0,
49  int eta=0,
50  int phi=0,
51  int qual=0);
52 
53 
54  ~EtSum();
55 
56  void setType(EtSumType type);
57 
58  EtSumType getType() const;
59 
60  private:
61 
62  // type of EtSum
64 
65  // additional hardware quantities common to L1 global EtSum
66  // there are currently none
67 
68  };
69 
70 }
71 
72 #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:38
edm::RefVector< EtSumBxCollection > EtSumRefVector
Definition: EtSum.h:13
edm::Ref< EtSumBxCollection > EtSumRef
Definition: EtSum.h:12
EtSumType type_
Definition: EtSum.h:63
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