CMS 3D CMS Logo

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 
33  CaloSpare( const PolarLorentzVector& p4,
34  CaloSpareType type,
35  int pt=0,
36  int eta=0,
37  int phi=0,
38  int qual=0);
39 
40 
41  ~CaloSpare() override;
42 
43  void setType(CaloSpareType type);
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
double eta() const final
momentum pseudorapidity
double pt() const final
transverse momentum
delete x;
Definition: CaloConfig.h:22
void SetRing(unsigned index, int value)
Definition: CaloSpare.cc:42
int GetRing(unsigned index) const
Definition: CaloSpare.cc:37
void setType(CaloSpareType type)
Definition: CaloSpare.cc:32
~CaloSpare() override
Definition: CaloSpare.cc:27
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
Definition: value.py:1
BXVector< CaloSpare > CaloSpareBxCollection
Definition: CaloSpare.h:10
CaloSpareType getType() const
Definition: CaloSpare.cc:48
unsigned int index
index type
Definition: Candidate.h:51
CaloSpareType type_
Definition: CaloSpare.h:53
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
double phi() const final
momentum azimuthal angle
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:39