CMS 3D CMS Logo

TkTau.h
Go to the documentation of this file.
1 #ifndef DataFormatsL1TCorrelator_TkTau_h
2 #define DataFormatsL1TCorrelator_TkTau_h
3 
4 // -*- C++ -*-
5 //
6 // Package: L1Trigger
7 // Class : TkTau
8 //
9 
13 
15 
17 
18 namespace l1t {
19 
20  class TkTau : public L1Candidate {
21  public:
23  typedef std::vector<L1TTTrackType> L1TTTrackCollection;
24 
25  TkTau();
26 
27  TkTau(const LorentzVector& p4,
28  const edm::Ref<TauBxCollection>& tauCaloRef, // null for stand-alone TkTaus
30  const edm::Ptr<L1TTTrackType>& trkPtr2, // null for tau -> 1 prong
31  const edm::Ptr<L1TTTrackType>& trkPtr3, // null for tau -> 1 prong
32  float tkisol = -999.);
33 
34  // ---------- const member functions ---------------------
35 
37 
38  const edm::Ptr<L1TTTrackType>& trkPtr() const { return trkPtr_; }
39 
40  const edm::Ptr<L1TTTrackType>& trkPtr2() const { return trkPtr2_; }
41  const edm::Ptr<L1TTTrackType>& trkPtr3() const { return trkPtr3_; }
42 
43  float trkzVtx() const { return TrkzVtx_; }
44  float trkIsol() const { return TrkIsol_; }
45 
46  // ---------- member functions ---------------------------
47 
48  void setTrkzVtx(float TrkzVtx) { TrkzVtx_ = TrkzVtx; }
49  void setTrkIsol(float TrkIsol) { TrkIsol_ = TrkIsol; }
50  int bx() const;
51 
52  private:
54 
58 
59  float TrkIsol_;
60  float TrkzVtx_;
61  };
62 } // namespace l1t
63 
64 #endif
l1t::TkTau::TrkzVtx_
float TrkzVtx_
Definition: TkTau.h:60
l1t::TkTau::trkPtr2_
edm::Ptr< L1TTTrackType > trkPtr2_
Definition: TkTau.h:56
l1t::TkTau::tauCaloRef
const edm::Ref< TauBxCollection > & tauCaloRef() const
Definition: TkTau.h:36
l1t::TkTau::setTrkzVtx
void setTrkzVtx(float TrkzVtx)
Definition: TkTau.h:48
l1t::TkTau::TkTau
TkTau()
Definition: TkTau.cc:11
TTTrack
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:26
edm::Ref< TauBxCollection >
l1t::L1Candidate
Definition: L1Candidate.h:15
l1t::TkTau::trkPtr
const edm::Ptr< L1TTTrackType > & trkPtr() const
Definition: TkTau.h:38
l1t::TkTau::TrkIsol_
float TrkIsol_
Definition: TkTau.h:59
l1t
delete x;
Definition: CaloConfig.h:22
l1t::TkTau::trkIsol
float trkIsol() const
Definition: TkTau.h:44
Ptr.h
l1t::TkTau::trkPtr2
const edm::Ptr< L1TTTrackType > & trkPtr2() const
Definition: TkTau.h:40
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
l1t::TkTau::L1TTTrackCollection
std::vector< L1TTTrackType > L1TTTrackCollection
Definition: TkTau.h:23
TkEm.h
l1t::TkTau::tauCaloRef_
edm::Ref< TauBxCollection > tauCaloRef_
Definition: TkTau.h:53
L1Candidate.h
l1t::TkTau::trkzVtx
float trkzVtx() const
Definition: TkTau.h:43
l1t::TkTau::L1TTTrackType
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
Definition: TkTau.h:22
l1t::TkTau
Definition: TkTau.h:20
edm::Ptr
Definition: AssociationVector.h:31
l1t::TkTau::trkPtr3_
edm::Ptr< L1TTTrackType > trkPtr3_
Definition: TkTau.h:57
l1t::TkTau::bx
int bx() const
Ref.h
l1t::TkTau::setTrkIsol
void setTrkIsol(float TrkIsol)
Definition: TkTau.h:49
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
l1t::TkTau::trkPtr3
const edm::Ptr< L1TTTrackType > & trkPtr3() const
Definition: TkTau.h:41
l1t::TkTau::trkPtr_
edm::Ptr< L1TTTrackType > trkPtr_
Definition: TkTau.h:55
Tau.h