CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Phase2L1GMT::ConvertedTTTrack Class Reference

#include <ConvertedTTTrack.h>

Public Member Functions

const uint abseta () const
 
const uint charge () const
 
 ConvertedTTTrack (const uint &charge, const int &curvature, const uint &abseta, const uint &pt, const int &eta, const int &phi, const int &z0, const int &d0, const int &quality, const ap_uint< 96 > &word)
 
const int curvature () const
 
const int d0 () const
 
const int eta () const
 
const float offline_eta () const
 
const float offline_phi () const
 
const float offline_pt () const
 
const int phi () const
 
void print () const
 
void printWord () const
 
const uint pt () const
 
const int quality () const
 
void setOfflineQuantities (float pt, float eta, float phi)
 
void setPhi (int phi)
 
void setTrkPtr (const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > &trkPtr)
 
const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > trkPtr () const
 
const ap_uint< 96 > & word () const
 
const int z0 () const
 

Private Attributes

uint abseta_
 
uint charge_
 
int curvature_
 
int d0_
 
int eta_
 
float offline_eta_
 
float offline_phi_
 
float offline_pt_
 
int phi_
 
uint pt_
 
uint quality_
 
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > trkPtr_
 
ap_uint< 96 > word_
 
int z0_
 

Detailed Description

Definition at line 9 of file ConvertedTTTrack.h.

Constructor & Destructor Documentation

◆ ConvertedTTTrack()

Phase2L1GMT::ConvertedTTTrack::ConvertedTTTrack ( const uint &  charge,
const int &  curvature,
const uint &  abseta,
const uint &  pt,
const int &  eta,
const int &  phi,
const int &  z0,
const int &  d0,
const int &  quality,
const ap_uint< 96 > &  word 
)
inline

Definition at line 11 of file ConvertedTTTrack.h.

21  : charge_(charge),
23  abseta_(abseta),
24  pt_(pt),
25  eta_(eta),
26  phi_(phi),
27  z0_(z0),
28  d0_(d0),
30  word_(word) {}
uint64_t word

Member Function Documentation

◆ abseta()

const uint Phase2L1GMT::ConvertedTTTrack::abseta ( ) const
inline

Definition at line 35 of file ConvertedTTTrack.h.

References abseta_.

◆ charge()

const uint Phase2L1GMT::ConvertedTTTrack::charge ( void  ) const
inline

Definition at line 32 of file ConvertedTTTrack.h.

References charge_.

◆ curvature()

const int Phase2L1GMT::ConvertedTTTrack::curvature ( ) const
inline

Definition at line 34 of file ConvertedTTTrack.h.

References curvature_.

◆ d0()

const int Phase2L1GMT::ConvertedTTTrack::d0 ( ) const
inline

Definition at line 45 of file ConvertedTTTrack.h.

References d0_.

◆ eta()

const int Phase2L1GMT::ConvertedTTTrack::eta ( void  ) const
inline

◆ offline_eta()

const float Phase2L1GMT::ConvertedTTTrack::offline_eta ( ) const
inline

Definition at line 48 of file ConvertedTTTrack.h.

References offline_eta_.

◆ offline_phi()

const float Phase2L1GMT::ConvertedTTTrack::offline_phi ( ) const
inline

Definition at line 49 of file ConvertedTTTrack.h.

References offline_phi_.

◆ offline_pt()

const float Phase2L1GMT::ConvertedTTTrack::offline_pt ( ) const
inline

Definition at line 47 of file ConvertedTTTrack.h.

References offline_pt_.

◆ phi()

const int Phase2L1GMT::ConvertedTTTrack::phi ( void  ) const
inline

◆ print()

void Phase2L1GMT::ConvertedTTTrack::print ( void  ) const
inline

Definition at line 58 of file ConvertedTTTrack.h.

References charge_, curvature_, d0_, eta_, LogDebug, offline_eta_, offline_phi_, offline_pt_, phi_, pt_, quality_, and z0_.

58  {
59  LogDebug("ConvertedTTTrack") << "converted track : charge=" << charge_ << " curvature=" << curvature_
60  << " pt=" << offline_pt_ << "," << pt_ << " eta=" << offline_eta_ << "," << eta_
61  << " phi=" << offline_phi_ << "," << phi_ << " z0=" << z0_ << " d0=" << d0_
62  << " quality=" << quality_;
63  }
#define LogDebug(id)

◆ printWord()

void Phase2L1GMT::ConvertedTTTrack::printWord ( ) const
inline

Definition at line 65 of file ConvertedTTTrack.h.

References createfilelist::int, LogDebug, and word_.

65  {
66  LogDebug("ConvertedTTTrack") << "converted track : word=" << std::setfill('0') << std::setw(8) << std::hex
67  << (long long unsigned int)((word_ >> 64).to_uint64()) << std::setfill('0')
68  << std::setw(16) << std::hex
69  << (long long unsigned int)((word_ & 0xffffffffffffffff).to_uint64());
70  }
#define LogDebug(id)

◆ pt()

const uint Phase2L1GMT::ConvertedTTTrack::pt ( ) const
inline

◆ quality()

const int Phase2L1GMT::ConvertedTTTrack::quality ( void  ) const
inline

Definition at line 46 of file ConvertedTTTrack.h.

References quality_.

◆ setOfflineQuantities()

void Phase2L1GMT::ConvertedTTTrack::setOfflineQuantities ( float  pt,
float  eta,
float  phi 
)
inline

◆ setPhi()

void Phase2L1GMT::ConvertedTTTrack::setPhi ( int  phi)
inline

Definition at line 42 of file ConvertedTTTrack.h.

References phi(), and phi_.

◆ setTrkPtr()

void Phase2L1GMT::ConvertedTTTrack::setTrkPtr ( const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > &  trkPtr)
inline

Definition at line 72 of file ConvertedTTTrack.h.

References trkPtr(), and trkPtr_.

72 { trkPtr_ = trkPtr; }
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > trkPtr_
const edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > trkPtr() const

◆ trkPtr()

const edm::Ptr<TTTrack<Ref_Phase2TrackerDigi_> > Phase2L1GMT::ConvertedTTTrack::trkPtr ( ) const
inline

Definition at line 74 of file ConvertedTTTrack.h.

References trkPtr_.

Referenced by setTrkPtr().

74 { return trkPtr_; }
edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > trkPtr_

◆ word()

const ap_uint<96>& Phase2L1GMT::ConvertedTTTrack::word ( ) const
inline

Definition at line 51 of file ConvertedTTTrack.h.

References word_.

51 { return word_; }

◆ z0()

const int Phase2L1GMT::ConvertedTTTrack::z0 ( ) const
inline

Definition at line 44 of file ConvertedTTTrack.h.

References z0_.

Referenced by Phase2L1GMT::Isolation::compute_trk_iso().

Member Data Documentation

◆ abseta_

uint Phase2L1GMT::ConvertedTTTrack::abseta_
private

Definition at line 79 of file ConvertedTTTrack.h.

Referenced by abseta().

◆ charge_

uint Phase2L1GMT::ConvertedTTTrack::charge_
private

Definition at line 77 of file ConvertedTTTrack.h.

Referenced by charge(), and print().

◆ curvature_

int Phase2L1GMT::ConvertedTTTrack::curvature_
private

Definition at line 78 of file ConvertedTTTrack.h.

Referenced by curvature(), and print().

◆ d0_

int Phase2L1GMT::ConvertedTTTrack::d0_
private

Definition at line 84 of file ConvertedTTTrack.h.

Referenced by d0(), and print().

◆ eta_

int Phase2L1GMT::ConvertedTTTrack::eta_
private

Definition at line 81 of file ConvertedTTTrack.h.

Referenced by eta(), and print().

◆ offline_eta_

float Phase2L1GMT::ConvertedTTTrack::offline_eta_
private

Definition at line 87 of file ConvertedTTTrack.h.

Referenced by offline_eta(), print(), and setOfflineQuantities().

◆ offline_phi_

float Phase2L1GMT::ConvertedTTTrack::offline_phi_
private

Definition at line 88 of file ConvertedTTTrack.h.

Referenced by offline_phi(), print(), and setOfflineQuantities().

◆ offline_pt_

float Phase2L1GMT::ConvertedTTTrack::offline_pt_
private

Definition at line 86 of file ConvertedTTTrack.h.

Referenced by offline_pt(), print(), and setOfflineQuantities().

◆ phi_

int Phase2L1GMT::ConvertedTTTrack::phi_
private

Definition at line 82 of file ConvertedTTTrack.h.

Referenced by phi(), print(), and setPhi().

◆ pt_

uint Phase2L1GMT::ConvertedTTTrack::pt_
private

Definition at line 80 of file ConvertedTTTrack.h.

Referenced by print(), and pt().

◆ quality_

uint Phase2L1GMT::ConvertedTTTrack::quality_
private

Definition at line 85 of file ConvertedTTTrack.h.

Referenced by print(), and quality().

◆ trkPtr_

edm::Ptr<TTTrack<Ref_Phase2TrackerDigi_> > Phase2L1GMT::ConvertedTTTrack::trkPtr_
private

Definition at line 91 of file ConvertedTTTrack.h.

Referenced by setTrkPtr(), and trkPtr().

◆ word_

ap_uint<96> Phase2L1GMT::ConvertedTTTrack::word_
private

Definition at line 89 of file ConvertedTTTrack.h.

Referenced by printWord(), and word().

◆ z0_

int Phase2L1GMT::ConvertedTTTrack::z0_
private

Definition at line 83 of file ConvertedTTTrack.h.

Referenced by print(), and z0().