CMS 3D CMS Logo

TkJet.h
Go to the documentation of this file.
1 #ifndef DataFormatsL1TCorrelator_TkJet_h
2 #define DataFormatsL1TCorrelator_TkJet_h
3 
4 // -*- C++ -*-
5 //
6 // Package: L1Trigger
7 // Class : TkJet
8 //
9 
12 
15 
16 namespace l1t {
17 
18  class TkJet : public L1Candidate {
19  public:
21  typedef std::vector<L1TTTrackType> L1TTTrackCollection;
22 
23  TkJet();
24 
25  TkJet(const LorentzVector& p4,
28  float jetvtx = -999.);
29  TkJet(const LorentzVector& p4,
31  float jetvtx = -999.,
32  unsigned int ntracks = 0,
33  unsigned int tighttracks = 0,
34  unsigned int displacedtracks = 0,
35  unsigned int tightdisplacedtracks = 0);
36 
37  // ---------- const member functions ---------------------
38 
39  const edm::Ref<JetBxCollection>& jetRef() const { return jetRef_; }
40 
41  const std::vector<edm::Ptr<L1TTTrackType> >& trkPtrs() const { return trkPtrs_; }
42 
43  float jetVtx() const { return JetVtx_; }
44  unsigned int ntracks() const { return ntracks_; }
45  unsigned int nTighttracks() const { return tighttracks_; }
46  unsigned int nDisptracks() const { return displacedtracks_; }
47  unsigned int nTightDisptracks() const { return tightdisplacedtracks_; }
48 
49  // ---------- member functions ---------------------------
50  void setJetVtx(float JetVtx) { JetVtx_ = JetVtx; }
51 
52  int bx() const;
53 
54  private:
56  std::vector<edm::Ptr<L1TTTrackType> > trkPtrs_;
57  float JetVtx_;
59  };
60 } // namespace l1t
61 
62 #endif
l1t::TkJet::L1TTTrackCollection
std::vector< L1TTTrackType > L1TTTrackCollection
Definition: TkJet.h:21
l1t::TkJet::ntracks_
unsigned int ntracks_
Definition: TkJet.h:58
l1t::TkJet::tightdisplacedtracks_
unsigned int tightdisplacedtracks_
Definition: TkJet.h:58
TTTypes.h
l1t::TkJet::jetVtx
float jetVtx() const
Definition: TkJet.h:43
TTTrack
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:26
Jet.h
l1t::TkJet::TkJet
TkJet()
Definition: TkJet.cc:11
edm::Ref
Definition: AssociativeIterator.h:58
l1t::L1Candidate
Definition: L1Candidate.h:15
l1t::TkJet::displacedtracks_
unsigned int displacedtracks_
Definition: TkJet.h:58
l1t::TkJet::bx
int bx() const
Definition: TkJet.cc:32
l1t::TkJet::nDisptracks
unsigned int nDisptracks() const
Definition: TkJet.h:46
l1t::TkJet::trkPtrs
const std::vector< edm::Ptr< L1TTTrackType > > & trkPtrs() const
Definition: TkJet.h:41
l1t
delete x;
Definition: CaloConfig.h:22
l1t::TkJet::jetRef
const edm::Ref< JetBxCollection > & jetRef() const
Definition: TkJet.h:39
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
L1Candidate.h
edm::Ptr
Definition: AssociationVector.h:31
l1t::TkJet::ntracks
unsigned int ntracks() const
Definition: TkJet.h:44
Ref.h
l1t::TkJet::nTighttracks
unsigned int nTighttracks() const
Definition: TkJet.h:45
l1t::TkJet
Definition: TkJet.h:18
l1t::TkJet::trkPtrs_
std::vector< edm::Ptr< L1TTTrackType > > trkPtrs_
Definition: TkJet.h:56
l1t::TkJet::L1TTTrackType
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
Definition: TkJet.h:20
l1t::TkJet::nTightDisptracks
unsigned int nTightDisptracks() const
Definition: TkJet.h:47
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
l1t::TkJet::JetVtx_
float JetVtx_
Definition: TkJet.h:57
l1t::TkJet::jetRef_
edm::Ref< JetBxCollection > jetRef_
Definition: TkJet.h:55
l1t::TkJet::tighttracks_
unsigned int tighttracks_
Definition: TkJet.h:58
l1t::TkJet::setJetVtx
void setJetVtx(float JetVtx)
Definition: TkJet.h:50