CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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
void setIso(float iso)
Definition: L1TrkTau.h:52
edm::Ptr< L1TTTrackType > L1TTTrackRefPtr
Definition: L1CaloTkTau.h:33
std::vector< L1TrkTauRef > L1TrkTauVectorRef
Definition: L1TrkTau.h:29
const LorentzVector & p4() const final
four-momentum Lorentz vector
std::vector< L1TTTrackType > L1TTTrackCollection
Definition: L1CaloTkTau.h:32
float iso() const
Definition: L1TrkTau.h:48
edm::Ref< L1TrkTauCollection > L1TrkTauRef
Definition: L1TrkTau.h:27
edm::RefVector< L1TrkTauCollection > L1TrkTauRefVector
Definition: L1TrkTau.h:28
std::vector< L1TTTrackRefPtr > L1TTTrackRefPtr_Collection
Definition: L1CaloTkTau.h:34
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
TTTrack< Ref_Phase2TrackerDigi_ > L1TTTrackType
Definition: L1CaloTkTau.h:31
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
float iso_
Definition: L1TrkTau.h:56
const L1TTTrackRefPtr seedTrk() const
Definition: L1TrkTau.h:44
const std::vector< L1TTTrackRefPtr > trks() const
Definition: L1TrkTau.h:46
std::vector< L1TTTrackRefPtr > clustTracks_
Definition: L1TrkTau.h:55
std::vector< L1TrkTau > L1TrkTauCollection
Definition: L1TrkTau.h:23