CMS 3D CMS Logo

TkHTMiss.h
Go to the documentation of this file.
1 #ifndef DataFormatsL1TCorrelator_TkHTMiss_h
2 #define DataFormatsL1TCorrelator_TkHTMiss_h
3 // Package: L1Trigger
4 // Class : TkHTMiss
5 
13 
14 namespace l1t {
15  class TkHTMiss : public L1Candidate {
16  public:
17  TkHTMiss();
18  TkHTMiss(const LorentzVector& p4,
19  double EtTotal,
22  int bx = 0);
23 
24  // ---------- const member functions ---------------------
25  double EtMiss() const { // HTM (missing HT)
26  return et();
27  }
28  double etTotal() const { return etTot_; }
29  // HTM and HT from PU vertices
30  double etMissPU() const { return etMissPU_; }
31  double etTotalPU() const { return etTotalPU_; }
32  int bx() const { return bx_; }
33  float vtx() const { return zvtx_; }
36 
37  // ---------- member functions ---------------------------
38  void setEtTotal(double EtTotal) { etTot_ = EtTotal; }
39  void setEtTotalPU(double EtTotalPU) { etTotalPU_ = EtTotalPU; }
40  void setEtMissPU(double EtMissPU) { etMissPU_ = EtMissPU; }
41  void setVtx(const float& zvtx) { zvtx_ = zvtx; }
42  void setBx(int bx) { bx_ = bx; }
43 
44  private:
45  // ---------- member data --------------------------------
46  float zvtx_; // zvtx used to constrain the jets
47  double etTot_; // HT
48  double etMissPU_; // HTM form jets that don't come from zvtx
49  double etTotalPU_; // HT from jets that don't come from zvtx
50 
53 
54  int bx_;
55  };
56 } // namespace l1t
57 
58 #endif
edm::RefProd< TkJetCollection >
l1t::TkHTMiss::jetCollectionRef_
edm::RefProd< TkJetCollection > jetCollectionRef_
Definition: TkHTMiss.h:51
RefProd.h
l1t::TkHTMiss::vtxRef_
edm::Ref< TkPrimaryVertexCollection > vtxRef_
Definition: TkHTMiss.h:52
l1t::TkHTMiss::setEtTotalPU
void setEtTotalPU(double EtTotalPU)
Definition: TkHTMiss.h:39
TkPrimaryVertex.h
l1t::TkHTMiss::etMissPU
double etMissPU() const
Definition: TkHTMiss.h:30
l1t::TkHTMiss::vtx
float vtx() const
Definition: TkHTMiss.h:33
l1t::TkHTMiss::etTotalPU
double etTotalPU() const
Definition: TkHTMiss.h:31
l1t::TkHTMiss::setVtx
void setVtx(const float &zvtx)
Definition: TkHTMiss.h:41
edm::Ref< TkPrimaryVertexCollection >
l1t::L1Candidate
Definition: L1Candidate.h:15
l1t::TkHTMiss::setBx
void setBx(int bx)
Definition: TkHTMiss.h:42
l1t::TkHTMiss::jetCollectionRef
const edm::RefProd< TkJetCollection > & jetCollectionRef() const
Definition: TkHTMiss.h:34
l1t::TkHTMiss::etTotalPU_
double etTotalPU_
Definition: TkHTMiss.h:49
l1t::TkHTMiss::vtxRef
const edm::Ref< TkPrimaryVertexCollection > & vtxRef() const
Definition: TkHTMiss.h:35
l1t::TkHTMiss
Definition: TkHTMiss.h:15
l1t::TkHTMiss::EtMiss
double EtMiss() const
Definition: TkHTMiss.h:25
l1t
delete x;
Definition: CaloConfig.h:22
TkJet.h
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
TkJetFwd.h
l1t::TkHTMiss::bx
int bx() const
Definition: TkHTMiss.h:32
L1Candidate.h
l1t::TkHTMiss::etMissPU_
double etMissPU_
Definition: TkHTMiss.h:48
reco::LeafCandidate::et
double et() const final
transverse energy
Definition: LeafCandidate.h:127
Ref.h
l1t::TkHTMiss::TkHTMiss
TkHTMiss()
Definition: TkHTMiss.cc:5
l1t::TkHTMiss::etTotal
double etTotal() const
Definition: TkHTMiss.h:28
l1t::TkHTMiss::setEtMissPU
void setEtMissPU(double EtMissPU)
Definition: TkHTMiss.h:40
l1t::TkHTMiss::bx_
int bx_
Definition: TkHTMiss.h:54
l1t::TkHTMiss::etTot_
double etTot_
Definition: TkHTMiss.h:47
l1t::TkHTMiss::zvtx_
float zvtx_
Definition: TkHTMiss.h:46
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
l1t::TkHTMiss::setEtTotal
void setEtTotal(double EtTotal)
Definition: TkHTMiss.h:38