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

#include <AlmiraParam.h>

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

Public Member Functions

int getROFLengthInBC (int layer) const
 
float getStrobeDelay (int layer) const
 
float getStrobeLengthCont (int layer) const
 
int getROFBiasInBC (int layer) const
 
int getROFDelayInBC (int layer) const
 
 O2ParamDef (AlmiraParam, "TRKAlmiraParam")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< AlmiraParam >
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 ()
 

Static Public Member Functions

static constexpr size_t getNLayers ()
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParamHelper< AlmiraParam >
static const AlmiraParam & 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="")
 
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 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)
 

Public Attributes

int roFrameLengthInBCPerLayer [kNLayers] = {0}
 ROF length in BC per layer.
 
float strobeDelayPerLayer [kNLayers] = {0}
 strobe delay in ns per layer
 
float strobeLengthContPerLayer [kNLayers] = {0}
 strobe length in ns per layer
 
int roFrameBiasInBCPerLayer [kNLayers] = {0}
 ROF start bias in BC per layer.
 
int roFrameDelayInBCPerLayer [kNLayers] = {0}
 extra ROF delay in BC per layer
 

Static Public Attributes

static constexpr size_t kNLayers = constants::VD::petal::nLayers + constants::ML::nLayers + constants::OT::nLayers
 

Additional Inherited Members

- Public Types inherited from o2::conf::ConfigurableParam
enum  EParamProvenance { kCODE , kCCDB , kRT }
 
enum class  EParamUpdateStatus { Changed , Unchanged , Failed }
 
- 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 27 of file AlmiraParam.h.

Member Function Documentation

◆ getNLayers()

static constexpr size_t o2::trk::AlmiraParam::getNLayers ( )
inlinestaticconstexpr

Definition at line 29 of file AlmiraParam.h.

◆ getROFBiasInBC()

int o2::trk::AlmiraParam::getROFBiasInBC ( int  layer) const
inline

Definition at line 47 of file AlmiraParam.h.

◆ getROFDelayInBC()

int o2::trk::AlmiraParam::getROFDelayInBC ( int  layer) const
inline

Definition at line 48 of file AlmiraParam.h.

◆ getROFLengthInBC()

int o2::trk::AlmiraParam::getROFLengthInBC ( int  layer) const
inline

Definition at line 37 of file AlmiraParam.h.

◆ getStrobeDelay()

float o2::trk::AlmiraParam::getStrobeDelay ( int  layer) const
inline

Definition at line 45 of file AlmiraParam.h.

◆ getStrobeLengthCont()

float o2::trk::AlmiraParam::getStrobeLengthCont ( int  layer) const
inline

Definition at line 46 of file AlmiraParam.h.

◆ O2ParamDef()

o2::trk::AlmiraParam::O2ParamDef ( AlmiraParam  ,
"TRKAlmiraParam"   
)

Member Data Documentation

◆ kNLayers

constexpr size_t o2::trk::AlmiraParam::kNLayers = constants::VD::petal::nLayers + constants::ML::nLayers + constants::OT::nLayers
staticconstexpr

Definition at line 28 of file AlmiraParam.h.

◆ roFrameBiasInBCPerLayer

int o2::trk::AlmiraParam::roFrameBiasInBCPerLayer[kNLayers] = {0}

ROF start bias in BC per layer.

Definition at line 34 of file AlmiraParam.h.

◆ roFrameDelayInBCPerLayer

int o2::trk::AlmiraParam::roFrameDelayInBCPerLayer[kNLayers] = {0}

extra ROF delay in BC per layer

Definition at line 35 of file AlmiraParam.h.

◆ roFrameLengthInBCPerLayer

int o2::trk::AlmiraParam::roFrameLengthInBCPerLayer[kNLayers] = {0}

ROF length in BC per layer.

Definition at line 31 of file AlmiraParam.h.

◆ strobeDelayPerLayer

float o2::trk::AlmiraParam::strobeDelayPerLayer[kNLayers] = {0}

strobe delay in ns per layer

Definition at line 32 of file AlmiraParam.h.

◆ strobeLengthContPerLayer

float o2::trk::AlmiraParam::strobeLengthContPerLayer[kNLayers] = {0}

strobe length in ns per layer

Definition at line 33 of file AlmiraParam.h.


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