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 
6 
7 namespace l1t {
8 
9  class CaloSpare;
11 
12  class CaloSpare : public L1Candidate {
13  public:
15 
16  CaloSpare() {}
17  CaloSpare(const LorentzVector& p4, CaloSpareType type, int pt = 0, int eta = 0, int phi = 0, int qual = 0);
18 
19  CaloSpare(const PolarLorentzVector& p4, CaloSpareType type, int pt = 0, int eta = 0, int phi = 0, int qual = 0);
20 
21  ~CaloSpare() override;
22 
24 
25  int GetRing(unsigned index) const;
26  void SetRing(unsigned index, int value);
27 
28  CaloSpareType getType() const;
29 
30  private:
31  // type of CaloSpare
33 
34  // additional hardware quantities common to L1 global CaloSpare
35  // there are currently none
36  };
37 
38 } // namespace l1t
39 
40 #endif
BXVector.h
l1t::CaloSpareBxCollection
BXVector< CaloSpare > CaloSpareBxCollection
Definition: CaloSpare.h:9
reco::LeafCandidate::index
unsigned int index
Definition: LeafCandidate.h:31
l1t::CaloSpare::GetRing
int GetRing(unsigned index) const
Definition: CaloSpare.cc:13
l1t::CaloSpare::CaloSpareType
CaloSpareType
Definition: CaloSpare.h:14
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
l1t::CaloSpare
Definition: CaloSpare.h:12
BXVector
Definition: BXVector.h:15
l1t::CaloSpare::type_
CaloSpareType type_
Definition: CaloSpare.h:32
l1t::L1Candidate
Definition: L1Candidate.h:15
reco::LeafCandidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
l1t::CaloSpare::Tau
Definition: CaloSpare.h:14
l1t::CaloSpare::getType
CaloSpareType getType() const
Definition: CaloSpare.cc:20
l1t::CaloSpare::Centrality
Definition: CaloSpare.h:14
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
l1t
delete x;
Definition: CaloConfig.h:22
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
value
Definition: value.py:1
L1Candidate.h
l1t::CaloSpare::SetRing
void SetRing(unsigned index, int value)
Definition: CaloSpare.cc:15
type
type
Definition: HCALResponse.h:21
l1t::CaloSpare::~CaloSpare
~CaloSpare() override
Definition: CaloSpare.cc:9
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: HLTMuonMatchAndPlot.h:49
l1t::CaloSpare::V2
Definition: CaloSpare.h:14
l1t::CaloSpare::HFBitCount
Definition: CaloSpare.h:14
l1t::CaloSpare::CaloSpare
CaloSpare()
Definition: CaloSpare.h:16
l1t::CaloSpare::HFRingSum
Definition: CaloSpare.h:14
l1t::CaloSpare::setType
void setType(CaloSpareType type)
Definition: CaloSpare.cc:11