CMS 3D CMS Logo

TkJet.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1Trigger
4 // Class : TkJet
5 //
6 
8 
9 using namespace l1t;
10 
12  : JetVtx_(-999.),
13  ntracks_(0),
14  tighttracks_(0),
15  displacedtracks_(0),
16  tightdisplacedtracks_(0),
17  displacedTag_(false) {}
18 
20  const edm::Ref<JetBxCollection>& jetRef,
21  const std::vector<edm::Ptr<L1TTTrackType> >& trkPtrs,
22  float jetvtx)
23  : L1Candidate(p4),
24  jetRef_(jetRef),
25  trkPtrs_(trkPtrs),
26  JetVtx_(jetvtx),
27  ntracks_(0),
28  tighttracks_(0),
29  displacedtracks_(0),
30  tightdisplacedtracks_(0),
31  displacedTag_(false) {}
33  const std::vector<edm::Ptr<L1TTTrackType> >& trkPtrs,
34  float jetvtx,
35  unsigned int ntracks,
36  unsigned int tighttracks,
37  unsigned int displacedtracks,
38  unsigned int tightdisplacedtracks,
39  bool displacedTag)
40  : L1Candidate(p4),
41  trkPtrs_(trkPtrs),
42  JetVtx_(jetvtx),
43  ntracks_(ntracks),
44  tighttracks_(tighttracks),
45  displacedtracks_(displacedtracks),
46  tightdisplacedtracks_(tightdisplacedtracks),
47  displacedTag_(displacedTag) {}
48 
49 int TkJet::bx() const {
50  // in the producer TkJetProducer.cc, we keep only jets with bx = 0
51  return 0;
52 }
TkJet()
Definition: TkJet.cc:11
delete x;
Definition: CaloConfig.h:22
int bx() const
Definition: TkJet.cc:49
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36