Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "DataFormats/L1TCorrelator/interface/TkHTMiss.h"

using namespace l1t;

TkHTMiss::TkHTMiss() {}

TkHTMiss::TkHTMiss(const LorentzVector& p4,
                   double etTotal,
                   const edm::RefProd<TkJetCollection>& jetCollRef,
                   const edm::Ref<VertexCollection>& avtxRef,
                   int bx)
    : L1Candidate(p4), etTot_(etTotal), jetCollectionRef_(jetCollRef), vtxRef_(avtxRef), bx_(bx) {
  if (vtxRef_.isNonnull()) {
    setVtx(vtxRef()->z0());
  }
}