CMS 3D CMS Logo

TkEGTau.h
Go to the documentation of this file.
1 #ifndef DataFormatsL1TCorrelator_TkEGTau_h
2 #define DataFormatsL1TCorrelator_TkEGTau_h
3 
4 // -*- C++ -*-
5 //
6 // Package: L1Trigger
7 // Class : TkEGTau
8 //
9 
12 
15 
18 
19 #include <vector>
20 
21 namespace l1t {
22 
23  class TkEGTau;
24 
25  typedef std::vector<TkEGTau> TkEGTauCollection;
26 
29  typedef std::vector<TkEGTauRef> TkEGTauVectorRef;
30 
32  typedef std::vector<L1TTTrackType> L1TTTrackCollection;
34  typedef std::vector<L1TTTrackRefPtr> L1TTTrackRefPtr_Collection;
36  typedef std::vector<EGammaRef> EGammaVectorRef;
37 
38  class TkEGTau : public L1Candidate {
39  public:
40  TkEGTau();
41 
42  TkEGTau(const LorentzVector& p4,
43  const std::vector<L1TTTrackRefPtr>& clustTracks,
44  const std::vector<EGammaRef>& clustEGs,
45  float iso = -999.);
46 
47  // ---------- const member functions ---------------------
48 
49  const L1TTTrackRefPtr seedTrk() const { return clustTracks_.at(0); }
50 
51  const std::vector<L1TTTrackRefPtr> trks() const { return clustTracks_; }
52 
53  const std::vector<EGammaRef> EGs() const { return clustEGs_; }
54 
55  float iso() const { return iso_; }
56 
57  // ---------- member functions ---------------------------
58 
59  void setVtxIso(float iso) { iso_ = iso; }
60 
61  private:
62  std::vector<L1TTTrackRefPtr> clustTracks_;
63  std::vector<EGammaRef> clustEGs_;
64  float iso_;
65  };
66 } // namespace l1t
67 
68 #endif
l1t::TkEGTau::EGs
const std::vector< EGammaRef > EGs() const
Definition: TkEGTau.h:53
TTTypes.h
l1t::TkEGTau
Definition: TkEGTau.h:38
l1t::TkEGTauCollection
std::vector< TkEGTau > TkEGTauCollection
Definition: TkEGTau.h:23
l1t::TkEGTau::clustTracks_
std::vector< L1TTTrackRefPtr > clustTracks_
Definition: TkEGTau.h:62
l1t::L1TTTrackRefPtr_Collection
std::vector< L1TTTrackRefPtr > L1TTTrackRefPtr_Collection
Definition: L1CaloTkTau.h:34
l1t::TkEGTau::setVtxIso
void setVtxIso(float iso)
Definition: TkEGTau.h:59
TTTrack
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
l1t::L1TTTrackType
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
Definition: L1CaloTkTau.h:31
l1t::TkEGTau::seedTrk
const L1TTTrackRefPtr seedTrk() const
Definition: TkEGTau.h:49
l1t::TkEGTau::TkEGTau
TkEGTau()
Definition: TkEGTau.cc:11
edm::RefVector
Definition: EDProductfwd.h:27
l1t::EGammaVectorRef
std::vector< EGammaRef > EGammaVectorRef
Definition: TkEGTau.h:36
l1t::TkEGTau::iso
float iso() const
Definition: TkEGTau.h:55
edm::Ref
Definition: AssociativeIterator.h:58
GenParticle.h
l1t::L1Candidate
Definition: L1Candidate.h:15
l1t::TkEGTau::trks
const std::vector< L1TTTrackRefPtr > trks() const
Definition: TkEGTau.h:51
EGamma.h
l1t::EGammaRef
edm::Ref< EGammaBxCollection > EGammaRef
Definition: TkEGTau.h:35
TTTrack.h
l1t::TkEGTau::clustEGs_
std::vector< EGammaRef > clustEGs_
Definition: TkEGTau.h:63
l1t
delete x;
Definition: CaloConfig.h:22
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
l1t::L1TTTrackRefPtr
edm::Ptr< L1TTTrackType > L1TTTrackRefPtr
Definition: L1CaloTkTau.h:33
l1t::TkEGTauRef
edm::Ref< TkEGTauCollection > TkEGTauRef
Definition: TkEGTau.h:27
l1t::TkEGTauVectorRef
std::vector< TkEGTauRef > TkEGTauVectorRef
Definition: TkEGTau.h:29
L1Candidate.h
edm::Ptr
Definition: AssociationVector.h:31
Ref.h
l1t::TkEGTauRefVector
edm::RefVector< TkEGTauCollection > TkEGTauRefVector
Definition: TkEGTau.h:28
l1t::L1TTTrackCollection
std::vector< L1TTTrackType > L1TTTrackCollection
Definition: L1CaloTkTau.h:32
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
l1t::TkEGTau::iso_
float iso_
Definition: TkEGTau.h:64