CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EGamma.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Trigger_EGamma_h
2 #define DataFormats_L1Trigger_EGamma_h
3 
4 
7 
8 
9 namespace l1t {
10 
11  class EGamma;
15  typedef std::vector< EGammaRef > EGammaVectorRef ;
16 
17  class EGamma : public L1Candidate {
18 
19  public:
20  EGamma(){}
21  EGamma( const LorentzVector& p4,
22  int pt=0,
23  int eta=0,
24  int phi=0,
25  int qual=0,
26  int iso=0);
27  EGamma(const L1Candidate& rhs):L1Candidate(rhs){} //this is okay given that EGamma currently has no additional data members
28  //but need to add a check for rhs being an EGamma if this changes
29 
31  int pt=0,
32  int eta=0,
33  int phi=0,
34  int qual=0,
35  int iso=0);
36 
37  ~EGamma();
38 
39 
40  private:
41 
42  // additional hardware quantities common to L1 global jet
43  // there are currently none
44 
45 
46 
47  };
48 
49 }
50 
51 #endif
BXVector< EGamma > EGammaBxCollection
Definition: EGamma.h:11
EGamma(const L1Candidate &rhs)
Definition: EGamma.h:27
edm::Ref< EGammaBxCollection > EGammaRef
Definition: EGamma.h:13
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
math::XYZTLorentzVector LorentzVector
virtual double phi() const final
momentum azimuthal angle
std::vector< EGammaRef > EGammaVectorRef
Definition: EGamma.h:15
virtual double eta() const final
momentum pseudorapidity
EGamma()
Definition: EGamma.h:20
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
edm::RefVector< EGammaBxCollection > EGammaRefVector
Definition: EGamma.h:14
virtual double pt() const final
transverse momentum