CMS 3D CMS Logo

TkHTMiss.cc
Go to the documentation of this file.
2 
3 using namespace l1t;
4 
6 
8  double etTotal,
9  const edm::RefProd<TkJetCollection>& jetCollRef,
10  const edm::Ref<VertexCollection>& avtxRef,
11  int bx)
12  : L1Candidate(p4), etTot_(etTotal), jetCollectionRef_(jetCollRef), vtxRef_(avtxRef), bx_(bx) {
13  if (vtxRef_.isNonnull()) {
14  setVtx(vtxRef()->z0());
15  }
16 }
const edm::Ref< VertexCollection > & vtxRef() const
Definition: TkHTMiss.h:35
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
delete x;
Definition: CaloConfig.h:22
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