Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-26 02:40:29

0001 // -*- C++ -*-
0002 //
0003 // Package:     L1Trigger
0004 // Class  :     TkJet
0005 //
0006 
0007 #include "DataFormats/L1TCorrelator/interface/TkJet.h"
0008 
0009 using namespace l1t;
0010 
0011 TkJet::TkJet() {}
0012 
0013 TkJet::TkJet(const LorentzVector& p4,
0014              const edm::Ref<JetBxCollection>& jetRef,
0015              const std::vector<edm::Ptr<L1TTTrackType> >& trkPtrs,
0016              float jetvtx)
0017     : L1Candidate(p4), jetRef_(jetRef), trkPtrs_(trkPtrs), JetVtx_(jetvtx) {}
0018 TkJet::TkJet(const LorentzVector& p4,
0019              const std::vector<edm::Ptr<L1TTTrackType> >& trkPtrs,
0020              float jetvtx,
0021              unsigned int ntracks,
0022              unsigned int tighttracks,
0023              unsigned int displacedtracks,
0024              unsigned int tightdisplacedtracks,
0025              bool displacedTag)
0026     : L1Candidate(p4),
0027       trkPtrs_(trkPtrs),
0028       JetVtx_(jetvtx),
0029       ntracks_(ntracks),
0030       tighttracks_(tighttracks),
0031       displacedtracks_(displacedtracks),
0032       tightdisplacedtracks_(tightdisplacedtracks),
0033       displacedTag_(displacedTag) {}
0034 
0035 int TkJet::bx() const {
0036   // in the producer TkJetProducer.cc, we keep only jets with bx = 0
0037   return 0;
0038 }