CMS 3D CMS Logo

EtSum.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Trigger_ETSum_h
2 #define DataFormats_L1Trigger_ETSum_h
3 
7 
8 namespace l1t {
9 
10  class EtSum;
14  typedef std::vector<EtSumRef> EtSumVectorRef;
15 
19 
20  class EtSum : public L1Candidate {
21  public:
22  enum EtSumType {
50  };
51 
52  EtSum() {}
53  EtSum(const LorentzVector& p4, EtSumType type, int pt = 0, int eta = 0, int phi = 0, int qual = 0);
54 
55  EtSum(const PolarLorentzVector& p4, EtSumType type, int pt = 0, int eta = 0, int phi = 0, int qual = 0);
56 
57  ~EtSum() override;
58 
59  void setType(EtSumType type);
60 
61  EtSumType getType() const;
62 
63  virtual bool operator==(const l1t::EtSum& rhs) const;
64  virtual inline bool operator!=(const l1t::EtSum& rhs) const { return !(operator==(rhs)); };
65 
66  private:
67  // type of EtSum
69 
70  // additional hardware quantities common to L1 global EtSum
71  // there are currently none
72  };
73 
74 } // namespace l1t
75 
76 #endif
l1t::EtSum::kTowerCount
Definition: EtSum.h:44
l1t::EtSumRefVector
edm::RefVector< EtSumBxCollection > EtSumRefVector
Definition: EtSum.h:13
l1t::EtSum::kTotalHty
Definition: EtSum.h:30
l1t::EtSum::kMinBiasHFP0
Definition: EtSum.h:34
l1t::EtSum::setType
void setType(EtSumType type)
Definition: EtSum.cc:11
l1t::EtSum::kTotalEtx
Definition: EtSum.h:27
BXVector.h
l1t::EtSumBxCollection
BXVector< EtSum > EtSumBxCollection
Definition: EtSum.h:10
l1t::EtSum::kMinBiasHFM1
Definition: EtSum.h:37
l1t::EtSum::kAsymHtHF
Definition: EtSum.h:49
l1t::EtSum::kTotalEty
Definition: EtSum.h:28
l1t::EtSum::operator==
virtual bool operator==(const l1t::EtSum &rhs) const
Definition: EtSum.cc:15
edm::RefVector
Definition: EDProductfwd.h:27
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
edm::Ref
Definition: AssociativeIterator.h:58
BXVector
Definition: BXVector.h:15
l1t::EtSum::kTotalHt
Definition: EtSum.h:24
l1t::EtSum::kAsymEtHF
Definition: EtSum.h:48
l1t::EtSumRefPairBxCollection
ObjectRefPairBxCollection< EtSum > EtSumRefPairBxCollection
Definition: EtSum.h:18
l1t::EtSum::operator!=
virtual bool operator!=(const l1t::EtSum &rhs) const
Definition: EtSum.h:64
l1t::L1Candidate
Definition: L1Candidate.h:15
l1t::EtSum::kCentrality
Definition: EtSum.h:45
reco::LeafCandidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
l1t::EtSum::kMissingHtHF
Definition: EtSum.h:43
l1t::EtSum::kAsymHt
Definition: EtSum.h:47
l1t::EtSum::kMissingEt
Definition: EtSum.h:25
l1t::EtSum::EtSum
EtSum()
Definition: EtSum.h:52
l1t::EtSum::kMinBiasHFP1
Definition: EtSum.h:36
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
l1t::EtSum::getType
EtSumType getType() const
Definition: EtSum.cc:13
l1t
delete x;
Definition: CaloConfig.h:22
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
l1t::EtSum
Definition: EtSum.h:20
l1t::EtSum::kTotalHtHF
Definition: EtSum.h:40
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
l1t::ObjectRefPair
std::pair< edm::Ref< BXVector< T > >, edm::Ref< BXVector< T > >> ObjectRefPair
Definition: L1TObjComparison.h:14
l1t::EtSum::kTotalHtxHF
Definition: EtSum.h:41
l1t::EtSum::kTotalEtyHF
Definition: EtSum.h:33
L1Candidate.h
l1t::EtSum::kMissingHt
Definition: EtSum.h:26
l1t::EtSum::kAsymEt
Definition: EtSum.h:46
l1t::EtSum::kTotalEtEm
Definition: EtSum.h:39
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: HLTMuonMatchAndPlot.h:49
l1t::EtSum::~EtSum
~EtSum() override
Definition: EtSum.cc:9
l1t::EtSumRefBxCollection
ObjectRefBxCollection< EtSum > EtSumRefBxCollection
Definition: EtSum.h:16
l1t::EtSum::kTotalEtxHF
Definition: EtSum.h:32
l1t::EtSum::kTotalHtyHF
Definition: EtSum.h:42
l1t::EtSum::kTotalHtx
Definition: EtSum.h:29
l1t::EtSum::EtSumType
EtSumType
Definition: EtSum.h:22
l1t::EtSum::kMinBiasHFM0
Definition: EtSum.h:35
l1t::EtSumRef
edm::Ref< EtSumBxCollection > EtSumRef
Definition: EtSum.h:12
l1t::EtSumRefPair
ObjectRefPair< EtSum > EtSumRefPair
Definition: EtSum.h:17
L1TObjComparison.h
l1t::EtSumVectorRef
std::vector< EtSumRef > EtSumVectorRef
Definition: EtSum.h:14
l1t::EtSum::kMissingEtHF
Definition: EtSum.h:31
l1t::EtSum::kTotalEt
Definition: EtSum.h:23
l1t::EtSum::type_
EtSumType type_
Definition: EtSum.h:64
l1t::EtSum::kTotalEtHF
Definition: EtSum.h:38