ATLAS Offline Software
Public Member Functions | Public Attributes | Friends | List of all members
FPGATrackSimTrackParsI Class Reference

#include <FPGATrackSimTrackPars.h>

Collaboration diagram for FPGATrackSimTrackParsI:

Public Member Functions

const int & operator[] (unsigned i) const
 
int & operator[] (unsigned i)
 
 FPGATrackSimTrackParsI (int init=0)
 

Public Attributes

int phi
 
int qOverPt
 
int d0
 
int z0
 
int eta
 

Friends

std::ostream & operator<< (std::ostream &os, const FPGATrackSimTrackParsI &pars)
 

Detailed Description

Definition at line 55 of file FPGATrackSimTrackPars.h.

Constructor & Destructor Documentation

◆ FPGATrackSimTrackParsI()

FPGATrackSimTrackParsI::FPGATrackSimTrackParsI ( int  init = 0)
inline

Definition at line 69 of file FPGATrackSimTrackPars.h.

69  :
70  phi(init),
71  qOverPt(init),
72  d0(init),
73  z0(init),
74  eta(init)
75  {
76  }

Member Function Documentation

◆ operator[]() [1/2]

int & FPGATrackSimTrackParsI::operator[] ( unsigned  i)

Definition at line 58 of file FPGATrackSimTrackPars.cxx.

59 {
60  switch (i)
61  {
62  case 0: return phi;
63  case 1: return qOverPt;
64  case 2: return d0;
65  case 3: return z0;
66  case 4: return eta;
67  default: throw std::out_of_range("FPGATrackSimTrackPars[] out of range");
68  }
69 }

◆ operator[]() [2/2]

const int & FPGATrackSimTrackParsI::operator[] ( unsigned  i) const

Definition at line 44 of file FPGATrackSimTrackPars.cxx.

45 {
46  switch (i)
47  {
48  case 0: return phi;
49  case 1: return qOverPt;
50  case 2: return d0;
51  case 3: return z0;
52  case 4: return eta;
53  default: throw std::out_of_range("FPGATrackSimTrackPars[] out of range");
54  }
55 }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const FPGATrackSimTrackParsI pars 
)
friend

Definition at line 95 of file FPGATrackSimTrackPars.cxx.

96 {
97  os << "phi:" << pars.phi
98  << " q/pt:" << pars.qOverPt
99  << " d0:" << pars.d0
100  << " z0:" << pars.z0
101  << " eta:" << pars.eta;
102  return os;
103 }

Member Data Documentation

◆ d0

int FPGATrackSimTrackParsI::d0

Definition at line 60 of file FPGATrackSimTrackPars.h.

◆ eta

int FPGATrackSimTrackParsI::eta

Definition at line 62 of file FPGATrackSimTrackPars.h.

◆ phi

int FPGATrackSimTrackParsI::phi

Definition at line 58 of file FPGATrackSimTrackPars.h.

◆ qOverPt

int FPGATrackSimTrackParsI::qOverPt

Definition at line 59 of file FPGATrackSimTrackPars.h.

◆ z0

int FPGATrackSimTrackParsI::z0

Definition at line 61 of file FPGATrackSimTrackPars.h.


The documentation for this class was generated from the following files:
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
FPGATrackSimTrackParsI::eta
int eta
Definition: FPGATrackSimTrackPars.h:62
FPGATrackSimTrackParsI::d0
int d0
Definition: FPGATrackSimTrackPars.h:60
lumiFormat.i
int i
Definition: lumiFormat.py:85
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
python.PyKernel.init
def init(v_theApp, v_rootStream=None)
Definition: PyKernel.py:45
FPGATrackSimTrackParsI::phi
int phi
Definition: FPGATrackSimTrackPars.h:58
FPGATrackSimTrackParsI::z0
int z0
Definition: FPGATrackSimTrackPars.h:61
FPGATrackSimTrackParsI::qOverPt
int qOverPt
Definition: FPGATrackSimTrackPars.h:59