ATLAS Offline Software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
FPTracker::ConfigData Class Reference

#include <ConfigData.h>

Collaboration diagram for FPTracker::ConfigData:

Public Member Functions

 ConfigData ()
 
std::string toString () const
 
void setpbeam (double)
 

Public Attributes

int IP
 
bool useaper
 
double apermb
 
double xcol1
 
double xcol2
 
double pbeam0
 
double brho
 
float endMarker
 
float absZMagMax
 

Static Public Attributes

static const double speedOfLight = 0.299792458
 

Detailed Description

Definition at line 9 of file FPTracker/FPTracker/ConfigData.h.

Constructor & Destructor Documentation

◆ ConfigData()

FPTracker::ConfigData::ConfigData ( )

Definition at line 16 of file FPTracker/src/ConfigData.cxx.

16  :
17  IP (0),
18  useaper (false),
19  apermb (0.),
20  xcol1 (999.),
21  xcol2 (999.),
22  pbeam0 (7000),
23  brho (7000./speedOfLight),
24 
25  // tracking will be done to the following
26  // z-value * side sign
27  endMarker (420.),
28 
29 
30  // absZMagMax - do not read in magnets
31  // from TWISS file with z greater than this value.
32  // default value set to AFP (= 437 for ALFA)
33  absZMagMax (437.)
34  {
35  }

Member Function Documentation

◆ setpbeam()

void FPTracker::ConfigData::setpbeam ( double  pbeam)

Definition at line 37 of file FPTracker/src/ConfigData.cxx.

37  {
38  pbeam0 = pbeam;
39  brho = pbeam/speedOfLight;
40  }

◆ toString()

std::string FPTracker::ConfigData::toString ( ) const

Definition at line 42 of file FPTracker/src/ConfigData.cxx.

42  {
43  std::ostringstream ost;
44  ost << std::left
45  << std::setw(20) << "IP" << IP << '\n'
46  << std::setw(20) << "useaper" << useaper << '\n'
47  << std::setw(20) << "apermb" << apermb << '\n'
48  << std::setw(20) << "xcol1" << xcol1 << '\n'
49  << std::setw(20) << "xcol2" << xcol2 << '\n'
50  << std::setw(20) << "Brho" << brho << '\n'
51  << std::setw(20) << "pbeam0" << pbeam0 << '\n'
52  << std::setw(20) << "endMarker" << endMarker << '\n'
53  << std::setw(20) << "absZMagMax" << absZMagMax << '\n';
54  return ost.str();
55 
56  }

Member Data Documentation

◆ absZMagMax

float FPTracker::ConfigData::absZMagMax

Definition at line 23 of file FPTracker/FPTracker/ConfigData.h.

◆ apermb

double FPTracker::ConfigData::apermb

Definition at line 15 of file FPTracker/FPTracker/ConfigData.h.

◆ brho

double FPTracker::ConfigData::brho

Definition at line 19 of file FPTracker/FPTracker/ConfigData.h.

◆ endMarker

float FPTracker::ConfigData::endMarker

Definition at line 21 of file FPTracker/FPTracker/ConfigData.h.

◆ IP

int FPTracker::ConfigData::IP

Definition at line 12 of file FPTracker/FPTracker/ConfigData.h.

◆ pbeam0

double FPTracker::ConfigData::pbeam0

Definition at line 18 of file FPTracker/FPTracker/ConfigData.h.

◆ speedOfLight

const double FPTracker::ConfigData::speedOfLight = 0.299792458
static

Definition at line 25 of file FPTracker/FPTracker/ConfigData.h.

◆ useaper

bool FPTracker::ConfigData::useaper

Definition at line 14 of file FPTracker/FPTracker/ConfigData.h.

◆ xcol1

double FPTracker::ConfigData::xcol1

Definition at line 16 of file FPTracker/FPTracker/ConfigData.h.

◆ xcol2

double FPTracker::ConfigData::xcol2

Definition at line 17 of file FPTracker/FPTracker/ConfigData.h.


The documentation for this class was generated from the following files:
FPTracker::ConfigData::speedOfLight
static const double speedOfLight
Definition: FPTracker/FPTracker/ConfigData.h:25
python.trigbs_prescaleL1.ost
ost
Definition: trigbs_prescaleL1.py:104
FPTracker::ConfigData::useaper
bool useaper
Definition: FPTracker/FPTracker/ConfigData.h:14
FPTracker::ConfigData::xcol1
double xcol1
Definition: FPTracker/FPTracker/ConfigData.h:16
FPTracker::ConfigData::xcol2
double xcol2
Definition: FPTracker/FPTracker/ConfigData.h:17
FPTracker::ConfigData::absZMagMax
float absZMagMax
Definition: FPTracker/FPTracker/ConfigData.h:23
FPTracker::ConfigData::pbeam0
double pbeam0
Definition: FPTracker/FPTracker/ConfigData.h:18
FPTracker::ConfigData::brho
double brho
Definition: FPTracker/FPTracker/ConfigData.h:19
FPTracker::ConfigData::endMarker
float endMarker
Definition: FPTracker/FPTracker/ConfigData.h:21
FPTracker::ConfigData::apermb
double apermb
Definition: FPTracker/FPTracker/ConfigData.h:15
FPTracker::ConfigData::IP
int IP
Definition: FPTracker/FPTracker/ConfigData.h:12