Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:31

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     : JetVtx_(-999.),
0013       ntracks_(0),
0014       tighttracks_(0),
0015       displacedtracks_(0),
0016       tightdisplacedtracks_(0),
0017       displacedTag_(false) {}
0018 
0019 TkJet::TkJet(const LorentzVector& p4,
0020              const edm::Ref<JetBxCollection>& jetRef,
0021              const std::vector<edm::Ptr<L1TTTrackType> >& trkPtrs,
0022              float jetvtx)
0023     : L1Candidate(p4),
0024       jetRef_(jetRef),
0025       trkPtrs_(trkPtrs),
0026       JetVtx_(jetvtx),
0027       ntracks_(0),
0028       tighttracks_(0),
0029       displacedtracks_(0),
0030       tightdisplacedtracks_(0),
0031       displacedTag_(false) {}
0032 TkJet::TkJet(const LorentzVector& p4,
0033              const std::vector<edm::Ptr<L1TTTrackType> >& trkPtrs,
0034              float jetvtx,
0035              unsigned int ntracks,
0036              unsigned int tighttracks,
0037              unsigned int displacedtracks,
0038              unsigned int tightdisplacedtracks,
0039              bool displacedTag)
0040     : L1Candidate(p4),
0041       trkPtrs_(trkPtrs),
0042       JetVtx_(jetvtx),
0043       ntracks_(ntracks),
0044       tighttracks_(tighttracks),
0045       displacedtracks_(displacedtracks),
0046       tightdisplacedtracks_(tightdisplacedtracks),
0047       displacedTag_(displacedTag) {}
0048 
0049 int TkJet::bx() const {
0050   // in the producer TkJetProducer.cc, we keep only jets with bx = 0
0051   return 0;
0052 }