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
edm::Ptr< L1TTTrackType > trkPtr_
Definition: TkTau.h:55
float trkzVtx() const
Definition: TkTau.h:43
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
Definition: TkTau.h:22
int bx() const
delete x;
Definition: CaloConfig.h:22
void setTrkIsol(float TrkIsol)
Definition: TkTau.h:49
TkTau()
Definition: TkTau.cc:11
const LorentzVector & p4() const final
four-momentum Lorentz vector
const edm::Ptr< L1TTTrackType > & trkPtr3() const
Definition: TkTau.h:41
const edm::Ptr< L1TTTrackType > & trkPtr2() const
Definition: TkTau.h:40
std::vector< L1TTTrackType > L1TTTrackCollection
Definition: TkTau.h:23
const edm::Ptr< L1TTTrackType > & trkPtr() const
Definition: TkTau.h:38
const edm::Ref< TauBxCollection > & tauCaloRef() const
Definition: TkTau.h:36
float TrkzVtx_
Definition: TkTau.h:60
void setTrkzVtx(float TrkzVtx)
Definition: TkTau.h:48
float TrkIsol_
Definition: TkTau.h:59
edm::Ptr< L1TTTrackType > trkPtr3_
Definition: TkTau.h:57
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
float trkIsol() const
Definition: TkTau.h:44
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
edm::Ref< TauBxCollection > tauCaloRef_
Definition: TkTau.h:53
edm::Ptr< L1TTTrackType > trkPtr2_
Definition: TkTau.h:56