Project
Loading...
Searching...
No Matches
o2::itsmft::DPLAlpideParam< N > Struct Template Reference

#include <DPLAlpideParam.h>

Inherits o2::conf::ConfigurableParamHelper< DPLAlpideParam< N > >.

Public Member Functions

bool withStaggering () const noexcept
 
int getROFLengthInBC (int layer) const noexcept
 
int getROFBiasInBC (int layer) const noexcept
 
int getROFDelayInBC (int layer) const noexcept
 
 O2ParamDef (DPLAlpideParam, getParamName().data())
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< DPLAlpideParam< N > >
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 int getNLayers ()
 
static constexpr std::string_view getParamName ()
 
static constexpr bool supportsStaggering () noexcept
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParamHelper< DPLAlpideParam< N > >
static const DPLAlpideParam< N > & 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="")
 
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 roFrameLengthInBC = DEFROFLengthBC()
 ROF length in BC for continuous mode.
 
float roFrameLengthTrig = DEFROFLengthTrig()
 length of RO frame in ns for triggered mode
 
float strobeDelay = DEFStrobeDelay
 strobe start (in ns) wrt ROF start
 
float strobeLengthCont = -1.
 if < 0, full ROF length - delay
 
float strobeLengthTrig = 100.
 length of the strobe in ns (sig. over threshold checked in this window only)
 
int roFrameBiasInBC = DEFROFBiasInBC()
 bias of the start of ROF wrt orbit start: t_irof = (irof*roFrameLengthInBC + roFrameBiasInBC)*BClengthMUS
 
int roFrameLayerLengthInBC [getNLayers()] = {}
 staggering ROF length in BC for continuous mode per layer
 
int roFrameLayerBiasInBC [getNLayers()] = {}
 staggering ROF bias in BC for continuous mode per layer
 
int roFrameLayerDelayInBC [getNLayers()] = {}
 staggering ROF delay in BC for continuous mode per layer
 

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

template<int N>
struct o2::itsmft::DPLAlpideParam< N >

Definition at line 28 of file DPLAlpideParam.h.

Member Function Documentation

◆ getNLayers()

template<int N>
static constexpr int o2::itsmft::DPLAlpideParam< N >::getNLayers ( )
inlinestaticconstexpr

Definition at line 29 of file DPLAlpideParam.h.

◆ getParamName()

template<int N>
static constexpr std::string_view o2::itsmft::DPLAlpideParam< N >::getParamName ( )
inlinestaticconstexpr

Definition at line 34 of file DPLAlpideParam.h.

◆ getROFBiasInBC()

template<int N>
int o2::itsmft::DPLAlpideParam< N >::getROFBiasInBC ( int  layer) const
inlinenoexcept

Definition at line 65 of file DPLAlpideParam.h.

◆ getROFDelayInBC()

template<int N>
int o2::itsmft::DPLAlpideParam< N >::getROFDelayInBC ( int  layer) const
inlinenoexcept

Definition at line 66 of file DPLAlpideParam.h.

◆ getROFLengthInBC()

template<int N>
int o2::itsmft::DPLAlpideParam< N >::getROFLengthInBC ( int  layer) const
inlinenoexcept

Definition at line 64 of file DPLAlpideParam.h.

◆ O2ParamDef()

template<int N>
o2::itsmft::DPLAlpideParam< N >::O2ParamDef ( DPLAlpideParam< N >  ,
getParamName().data()   
)

◆ supportsStaggering()

template<int N>
static constexpr bool o2::itsmft::DPLAlpideParam< N >::supportsStaggering ( )
inlinestaticconstexprnoexcept

Definition at line 49 of file DPLAlpideParam.h.

◆ withStaggering()

template<int N>
bool o2::itsmft::DPLAlpideParam< N >::withStaggering ( ) const
inlinenoexcept

Definition at line 51 of file DPLAlpideParam.h.

Member Data Documentation

◆ roFrameBiasInBC

template<int N>
int o2::itsmft::DPLAlpideParam< N >::roFrameBiasInBC = DEFROFBiasInBC()

bias of the start of ROF wrt orbit start: t_irof = (irof*roFrameLengthInBC + roFrameBiasInBC)*BClengthMUS

Definition at line 44 of file DPLAlpideParam.h.

◆ roFrameLayerBiasInBC

template<int N>
int o2::itsmft::DPLAlpideParam< N >::roFrameLayerBiasInBC[getNLayers()] = {}

staggering ROF bias in BC for continuous mode per layer

Definition at line 46 of file DPLAlpideParam.h.

◆ roFrameLayerDelayInBC

template<int N>
int o2::itsmft::DPLAlpideParam< N >::roFrameLayerDelayInBC[getNLayers()] = {}

staggering ROF delay in BC for continuous mode per layer

Definition at line 47 of file DPLAlpideParam.h.

◆ roFrameLayerLengthInBC

template<int N>
int o2::itsmft::DPLAlpideParam< N >::roFrameLayerLengthInBC[getNLayers()] = {}

staggering ROF length in BC for continuous mode per layer

Definition at line 45 of file DPLAlpideParam.h.

◆ roFrameLengthInBC

template<int N>
int o2::itsmft::DPLAlpideParam< N >::roFrameLengthInBC = DEFROFLengthBC()

ROF length in BC for continuous mode.

Definition at line 39 of file DPLAlpideParam.h.

◆ roFrameLengthTrig

template<int N>
float o2::itsmft::DPLAlpideParam< N >::roFrameLengthTrig = DEFROFLengthTrig()

length of RO frame in ns for triggered mode

Definition at line 40 of file DPLAlpideParam.h.

◆ strobeDelay

template<int N>
float o2::itsmft::DPLAlpideParam< N >::strobeDelay = DEFStrobeDelay

strobe start (in ns) wrt ROF start

Definition at line 41 of file DPLAlpideParam.h.

◆ strobeLengthCont

template<int N>
float o2::itsmft::DPLAlpideParam< N >::strobeLengthCont = -1.

if < 0, full ROF length - delay

Definition at line 42 of file DPLAlpideParam.h.

◆ strobeLengthTrig

template<int N>
float o2::itsmft::DPLAlpideParam< N >::strobeLengthTrig = 100.

length of the strobe in ns (sig. over threshold checked in this window only)

Definition at line 43 of file DPLAlpideParam.h.


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