ATLAS Offline Software
Loading...
Searching...
No Matches
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

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}

◆ 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: