Project
Loading...
Searching...
No Matches
o2::trk::TRKBaseParam Struct Reference

#include <TRKBaseParam.h>

Inherits o2::conf::ConfigurableParamHelper< TRKBaseParam >.

Public Member Functions

eVDLayout getLayoutVD () const
 
eMLOTLayout getLayoutMLOT () const
 
eFT3Layout getLayoutFT3 () const
 
eSrvLayout getLayoutSRV () const
 
 O2ParamDef (TRKBaseParam, "TRKBase")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< TRKBaseParam >
std::string getName () const final
 
EParamProvenance getMemberProvenance (const std::string &key) const final
 
void printKeyValues (bool showProv=true, bool useLogger=false, bool withPadding=true, bool showHash=true) const final
 
size_t getHash () const final
 
void output (std::ostream &out) const final
 
std::vector< ParamDataMember > * getDataMembers () const
 
void putKeyValues (boost::property_tree::ptree *tree) final
 
void initFrom (TFile *file) final
 
void syncCCDBandRegistry (void *externalobj) final
 
void serializeTo (TFile *file) const final
 
 ConfigurableParam ()
 

Public Attributes

std::string configFile = ""
 
float serviceTubeX0 = 0.02f
 
bool irisOpen = false
 
bool includeLowServices = false
 
bool disableFT3 = false
 
int nTrapezoidalSegments = 32
 
double staveTolFT3MLInner = 0.
 
double staveTolFT3MLOuter = 0.
 
double staveTolFT3OTInner = 0.
 
double staveTolFT3OTOuter = 0.
 
bool placeSensorStackInMiddleOfStave = false
 
bool drawReferenceCircles = false
 
eVDLayout layoutVD = kIRIS4
 
eMLOTLayout layoutMLOT = kSegmented
 
eFT3Layout layoutFT3 = kSegmentedStave
 
eSrvLayout layoutSRV = kPeacockv1
 

Additional Inherited Members

- Public Types inherited from o2::conf::ConfigurableParam
enum  EParamProvenance { kCODE , kCCDB , kRT }
 
enum class  EParamUpdateStatus { Changed , Unchanged , Failed }
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParamHelper< TRKBaseParam >
static const TRKBaseParam & Instance ()
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParam
static std::string toString (EParamProvenance p)
 
static EParamProvenance getProvenance (const std::string &key)
 
static void printAllRegisteredParamNames ()
 
static void printAllKeyValuePairs (bool useLogger=false)
 
static const std::string & getOutputDir ()
 
static void setOutputDir (const std::string &d)
 
static bool configFileExists (std::string const &filepath)
 
static void writeJSON (std::string const &filename, std::string const &keyOnly="")
 
static void writeINI (std::string const &filename, std::string const &keyOnly="")
 
static void write (std::string const &filename, std::string const &keyOnly="")
 
static std::string asJSON (std::string const &keyOnly="")
 
template<typename T >
static T getValueAs (std::string key)
 
template<typename T >
static void setValue (std::string const &mainkey, std::string const &subkey, T x)
 
static void setProvenance (std::string const &mainkey, std::string const &subkey, EParamProvenance p)
 
static void setValue (std::string const &key, std::string const &valuestring)
 
static void setEnumValue (const std::string &, const std::string &)
 
static void setArrayValue (const std::string &, const std::string &)
 
static void setContainerValue (const std::string &, const std::string &)
 
static bool isRegisteredContainerType (const std::string &typeName)
 
static void registerContainerType (const std::string &key, const std::string &typeName)
 
static std::string getRegisteredContainerType (const std::string &key)
 
static bool assignRegisteredContainer (const std::string &typeName, void *target, const void *source)
 
static bool areRegisteredContainersEqual (const std::string &typeName, const void *lhs, const void *rhs)
 
static std::string registeredContainerAsString (const std::string &typeName, const void *source)
 
static void setValues (std::vector< std::pair< std::string, std::string > > const &keyValues)
 
static void initialize ()
 
static void toCCDB (std::string filename)
 
static void fromCCDB (std::string filename)
 
static void updateFromString (std::string const &)
 
static void updateFromFile (std::string const &, std::string const &paramsList="", bool unchangedOnly=false)
 
static void updateFromJSONString (std::string const &, std::string const &paramsList="", bool unchangedOnly=false)
 
- Protected Member Functions inherited from o2::conf::ConfigurableParam
 ConfigurableParam ()
 
virtual ~ConfigurableParam ()=default
 
void setRegisterMode (bool b)
 
bool isInitialized () const
 
- Static Protected Member Functions inherited from o2::conf::ConfigurableParam
static void initPropertyTree ()
 
static EParamUpdateStatus updateThroughStorageMap (std::string, std::string, std::type_info const &, void *)
 
static EParamUpdateStatus updateThroughStorageMapWithConversion (std::string const &, std::string const &)
 
- Static Protected Attributes inherited from o2::conf::ConfigurableParam
static std::map< std::string, std::pair< std::type_info const &, void * > > * sKeyToStorageMap = nullptr
 
static std::map< std::string, ConfigurableParam::EParamProvenance > * sValueProvenanceMap = nullptr
 
static EnumRegistrysEnumRegistry = nullptr
 
static std::string sOutputDir = ""
 

Detailed Description

Definition at line 47 of file TRKBaseParam.h.

Member Function Documentation

◆ getLayoutFT3()

eFT3Layout o2::trk::TRKBaseParam::getLayoutFT3 ( ) const
inline

Definition at line 76 of file TRKBaseParam.h.

◆ getLayoutMLOT()

eMLOTLayout o2::trk::TRKBaseParam::getLayoutMLOT ( ) const
inline

Definition at line 75 of file TRKBaseParam.h.

◆ getLayoutSRV()

eSrvLayout o2::trk::TRKBaseParam::getLayoutSRV ( ) const
inline

Definition at line 77 of file TRKBaseParam.h.

◆ getLayoutVD()

eVDLayout o2::trk::TRKBaseParam::getLayoutVD ( ) const
inline

Definition at line 74 of file TRKBaseParam.h.

◆ O2ParamDef()

o2::trk::TRKBaseParam::O2ParamDef ( TRKBaseParam  ,
"TRKBase"   
)

Member Data Documentation

◆ configFile

std::string o2::trk::TRKBaseParam::configFile = ""

Definition at line 48 of file TRKBaseParam.h.

◆ disableFT3

bool o2::trk::TRKBaseParam::disableFT3 = false

Definition at line 53 of file TRKBaseParam.h.

◆ drawReferenceCircles

bool o2::trk::TRKBaseParam::drawReferenceCircles = false

Definition at line 67 of file TRKBaseParam.h.

◆ includeLowServices

bool o2::trk::TRKBaseParam::includeLowServices = false

Definition at line 51 of file TRKBaseParam.h.

◆ irisOpen

bool o2::trk::TRKBaseParam::irisOpen = false

Definition at line 50 of file TRKBaseParam.h.

◆ layoutFT3

eFT3Layout o2::trk::TRKBaseParam::layoutFT3 = kSegmentedStave

Definition at line 71 of file TRKBaseParam.h.

◆ layoutMLOT

eMLOTLayout o2::trk::TRKBaseParam::layoutMLOT = kSegmented

Definition at line 70 of file TRKBaseParam.h.

◆ layoutSRV

eSrvLayout o2::trk::TRKBaseParam::layoutSRV = kPeacockv1

Definition at line 72 of file TRKBaseParam.h.

◆ layoutVD

eVDLayout o2::trk::TRKBaseParam::layoutVD = kIRIS4

Definition at line 69 of file TRKBaseParam.h.

◆ nTrapezoidalSegments

int o2::trk::TRKBaseParam::nTrapezoidalSegments = 32

Definition at line 56 of file TRKBaseParam.h.

◆ placeSensorStackInMiddleOfStave

bool o2::trk::TRKBaseParam::placeSensorStackInMiddleOfStave = false

Definition at line 64 of file TRKBaseParam.h.

◆ serviceTubeX0

float o2::trk::TRKBaseParam::serviceTubeX0 = 0.02f

Definition at line 49 of file TRKBaseParam.h.

◆ staveTolFT3MLInner

double o2::trk::TRKBaseParam::staveTolFT3MLInner = 0.

Definition at line 58 of file TRKBaseParam.h.

◆ staveTolFT3MLOuter

double o2::trk::TRKBaseParam::staveTolFT3MLOuter = 0.

Definition at line 59 of file TRKBaseParam.h.

◆ staveTolFT3OTInner

double o2::trk::TRKBaseParam::staveTolFT3OTInner = 0.

Definition at line 60 of file TRKBaseParam.h.

◆ staveTolFT3OTOuter

double o2::trk::TRKBaseParam::staveTolFT3OTOuter = 0.

Definition at line 61 of file TRKBaseParam.h.


The documentation for this struct was generated from the following file: