CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
L1TrkTau.h
Go to the documentation of this file.
1 #ifndef DataFormatsL1TCorrelator_TkTrkTau_h
2 #define DataFormatsL1TCorrelator_TkTrkTau_h
3 
4 // -*- C++ -*-
5 //
6 // Package: L1Trigger
7 // Class : L1TrkTau
8 //
9 
12 
15 
18 
19 #include <vector>
20 
21 namespace l1t {
22 
23  class L1TrkTau;
24 
25  typedef std::vector<L1TrkTau> L1TrkTauCollection;
26 
29  typedef std::vector<L1TrkTauRef> L1TrkTauVectorRef;
30 
32  typedef std::vector<L1TTTrackType> L1TTTrackCollection;
34  typedef std::vector<L1TTTrackRefPtr> L1TTTrackRefPtr_Collection;
35 
36  class L1TrkTau : public L1Candidate {
37  public:
38  L1TrkTau();
39 
40  L1TrkTau(const LorentzVector& p4, const std::vector<L1TTTrackRefPtr>& clustTracks, float iso = -999.);
41 
42  // ---------- const member functions ---------------------
43 
44  const L1TTTrackRefPtr seedTrk() const { return clustTracks_.at(0); }
45 
46  const std::vector<L1TTTrackRefPtr> trks() const { return clustTracks_; }
47 
48  float iso() const { return iso_; }
49 
50  // ---------- member functions ---------------------------
51 
52  void setIso(float iso) { iso_ = iso; }
53 
54  private:
55  std::vector<L1TTTrackRefPtr> clustTracks_;
56  float iso_;
57  };
58 } // namespace l1t
59 
60 #endif
l1t::L1TrkTau::setIso
void setIso(float iso)
Definition: L1TrkTau.h:52
l1t::L1TrkTau::iso
float iso() const
Definition: L1TrkTau.h:48
l1t::L1TrkTauRef
edm::Ref< L1TrkTauCollection > L1TrkTauRef
Definition: L1TrkTau.h:27
TTTypes.h
l1t::L1TrkTauRefVector
edm::RefVector< L1TrkTauCollection > L1TrkTauRefVector
Definition: L1TrkTau.h:28
l1t::L1TTTrackRefPtr_Collection
std::vector< L1TTTrackRefPtr > L1TTTrackRefPtr_Collection
Definition: L1CaloTkTau.h:34
TTTrack
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:26
l1t::L1TTTrackType
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
Definition: L1CaloTkTau.h:31
edm::RefVector
Definition: EDProductfwd.h:27
edm::Ref
Definition: AssociativeIterator.h:58
l1t::L1TrkTau::clustTracks_
std::vector< L1TTTrackRefPtr > clustTracks_
Definition: L1TrkTau.h:55
GenParticle.h
l1t::L1TrkTau::seedTrk
const L1TTTrackRefPtr seedTrk() const
Definition: L1TrkTau.h:44
l1t::L1Candidate
Definition: L1Candidate.h:15
EGamma.h
TTTrack.h
l1t::L1TrkTau::iso_
float iso_
Definition: L1TrkTau.h:56
l1t
delete x;
Definition: CaloConfig.h:22
l1t::L1TrkTau
Definition: L1TrkTau.h:36
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::L1TrkTauVectorRef
std::vector< L1TrkTauRef > L1TrkTauVectorRef
Definition: L1TrkTau.h:29
L1Candidate.h
l1t::L1TrkTauCollection
std::vector< L1TrkTau > L1TrkTauCollection
Definition: L1TrkTau.h:23
edm::Ptr
Definition: AssociationVector.h:31
Ref.h
l1t::L1TTTrackCollection
std::vector< L1TTTrackType > L1TTTrackCollection
Definition: L1CaloTkTau.h:32
l1t::L1TrkTau::trks
const std::vector< L1TTTrackRefPtr > trks() const
Definition: L1TrkTau.h:46
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
l1t::L1TrkTau::L1TrkTau
L1TrkTau()
Definition: L1TrkTau.cc:11