CMS 3D CMS Logo

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