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_; }
35  const edm::Ref<VertexCollection>& vtxRef() const { return vtxRef_; }
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
double etTotalPU() const
Definition: TkHTMiss.h:31
void setEtTotal(double EtTotal)
Definition: TkHTMiss.h:38
void setBx(int bx)
Definition: TkHTMiss.h:42
const edm::Ref< VertexCollection > & vtxRef() const
Definition: TkHTMiss.h:35
double etTotal() const
Definition: TkHTMiss.h:28
float vtx() const
Definition: TkHTMiss.h:33
delete x;
Definition: CaloConfig.h:22
const LorentzVector & p4() const final
four-momentum Lorentz vector
double EtMiss() const
Definition: TkHTMiss.h:25
edm::RefProd< TkJetCollection > jetCollectionRef_
Definition: TkHTMiss.h:51
void setEtTotalPU(double EtTotalPU)
Definition: TkHTMiss.h:39
int bx() const
Definition: TkHTMiss.h:32
double etTotalPU_
Definition: TkHTMiss.h:49
void setVtx(const float &zvtx)
Definition: TkHTMiss.h:41
edm::Ref< VertexCollection > vtxRef_
Definition: TkHTMiss.h:52
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
double et() const final
transverse energy
double etMissPU() const
Definition: TkHTMiss.h:30
const edm::RefProd< TkJetCollection > & jetCollectionRef() const
Definition: TkHTMiss.h:34
void setEtMissPU(double EtMissPU)
Definition: TkHTMiss.h:40
double etTot_
Definition: TkHTMiss.h:47
double etMissPU_
Definition: TkHTMiss.h:48
float zvtx_
Definition: TkHTMiss.h:46