ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
FPGATrackSimTrackPars Class Reference

#include <FPGATrackSimTrackPars.h>

Collaboration diagram for FPGATrackSimTrackPars:

Public Types

enum  pars_index {
  IPHI, IHIP, ID0, IZ0,
  IETA, NPARS
}
 

Public Member Functions

 FPGATrackSimTrackPars (double init=std::nan(""))
 
const double & operator[] (unsigned i) const
 
double & operator[] (unsigned i)
 

Static Public Member Functions

static std::string parName (unsigned i)
 

Public Attributes

double phi
 
double qOverPt
 
double d0
 
double z0
 
double eta
 

Friends

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

Detailed Description

Definition at line 21 of file FPGATrackSimTrackPars.h.

Member Enumeration Documentation

◆ pars_index

Enumerator
IPHI 
IHIP 
ID0 
IZ0 
IETA 
NPARS 

Definition at line 49 of file FPGATrackSimTrackPars.h.

49 { IPHI, IHIP, ID0, IZ0, IETA, NPARS };

Constructor & Destructor Documentation

◆ FPGATrackSimTrackPars()

FPGATrackSimTrackPars::FPGATrackSimTrackPars ( double  init = std::nan(""))
inline

Definition at line 33 of file FPGATrackSimTrackPars.h.

33  :
34  phi(init),
35  qOverPt(init),
36  d0(init),
37  z0(init),
38  eta(init)
39  {
40  }

Member Function Documentation

◆ operator[]() [1/2]

double & FPGATrackSimTrackPars::operator[] ( unsigned  i)

Definition at line 30 of file FPGATrackSimTrackPars.cxx.

31 {
32  switch (i)
33  {
34  case 0: return phi;
35  case 1: return qOverPt;
36  case 2: return d0;
37  case 3: return z0;
38  case 4: return eta;
39  default: throw std::out_of_range("FPGATrackSimTrackPars[] out of range");
40  }
41 }

◆ operator[]() [2/2]

const double & FPGATrackSimTrackPars::operator[] ( unsigned  i) const

Definition at line 16 of file FPGATrackSimTrackPars.cxx.

17 {
18  switch (i)
19  {
20  case 0: return phi;
21  case 1: return qOverPt;
22  case 2: return d0;
23  case 3: return z0;
24  case 4: return eta;
25  default: throw std::out_of_range("FPGATrackSimTrackPars[] out of range");
26  }
27 }

◆ parName()

std::string FPGATrackSimTrackPars::parName ( unsigned  i)
static

Definition at line 72 of file FPGATrackSimTrackPars.cxx.

73 {
74  switch (i)
75  {
76  case 0: return "phi";
77  case 1: return "qOverPt";
78  case 2: return "d0";
79  case 3: return "z0";
80  case 4: return "eta";
81  default: throw std::out_of_range("FPGATrackSimTrackPars::parName out of range");
82  }
83 }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 85 of file FPGATrackSimTrackPars.cxx.

86 {
87  os << "phi:" << pars.phi
88  << " q/pt:" << pars.qOverPt
89  << " d0:" << pars.d0
90  << " z0:" << pars.z0
91  << " eta:" << pars.eta;
92  return os;
93 }

Member Data Documentation

◆ d0

double FPGATrackSimTrackPars::d0

Definition at line 26 of file FPGATrackSimTrackPars.h.

◆ eta

double FPGATrackSimTrackPars::eta

Definition at line 28 of file FPGATrackSimTrackPars.h.

◆ phi

double FPGATrackSimTrackPars::phi

Definition at line 24 of file FPGATrackSimTrackPars.h.

◆ qOverPt

double FPGATrackSimTrackPars::qOverPt

Definition at line 25 of file FPGATrackSimTrackPars.h.

◆ z0

double FPGATrackSimTrackPars::z0

Definition at line 27 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
FPGATrackSimTrackPars::IHIP
@ IHIP
Definition: FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::ID0
@ ID0
Definition: FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::phi
double phi
Definition: FPGATrackSimTrackPars.h:24
FPGATrackSimTrackPars::qOverPt
double qOverPt
Definition: FPGATrackSimTrackPars.h:25
FPGATrackSimTrackPars::IZ0
@ IZ0
Definition: FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::d0
double d0
Definition: FPGATrackSimTrackPars.h:26
FPGATrackSimTrackPars::eta
double eta
Definition: FPGATrackSimTrackPars.h:28
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
FPGATrackSimTrackPars::IPHI
@ IPHI
Definition: FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::z0
double z0
Definition: FPGATrackSimTrackPars.h:27
FPGATrackSimTrackPars::NPARS
@ NPARS
Definition: FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::IETA
@ IETA
Definition: FPGATrackSimTrackPars.h:49