Project
Loading...
Searching...
No Matches
o2::mch::StatusMapCreatorParam Class Reference

Configurable parameters for the statusmap creator. More...

#include <StatusMapCreatorParam.h>

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

Public Member Functions

bool isActive () const
 
 O2ParamDef (StatusMapCreatorParam, "MCHStatusMap")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< StatusMapCreatorParam >
std::string getName () const final
 
EParamProvenance getMemberProvenance (const std::string &key) const final
 
void printKeyValues (bool showProv=true, bool useLogger=false) 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

bool useBadChannels = true
 reject bad channels (obtained during pedestal calibration runs)
 
bool useRejectList = true
 use extra rejection list (relative to other bad channels sources)
 
bool useHV = true
 reject channels connected to bad HV sectors
 
double hvLimits [10] = {1550., 1550., 1600., 1600., 1600., 1600., 1600., 1600., 1600., 1600.}
 chambers HV thresholds for detecting issues
 
uint64_t hvMinDuration = 10000
 minimum duration of HV issues in ms
 
uint64_t timeMargin = 2000
 time margin for comparing DCS and TF timestamps in ms
 

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< StatusMapCreatorParam >
static const StatusMapCreatorParam & 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)
 
- 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

Configurable parameters for the statusmap creator.

Definition at line 25 of file StatusMapCreatorParam.h.

Member Function Documentation

◆ isActive()

bool o2::mch::StatusMapCreatorParam::isActive ( ) const
inline

Definition at line 37 of file StatusMapCreatorParam.h.

◆ O2ParamDef()

o2::mch::StatusMapCreatorParam::O2ParamDef ( StatusMapCreatorParam  ,
"MCHStatusMap"   
)

Member Data Documentation

◆ hvLimits

double o2::mch::StatusMapCreatorParam::hvLimits[10] = {1550., 1550., 1600., 1600., 1600., 1600., 1600., 1600., 1600., 1600.}

chambers HV thresholds for detecting issues

Definition at line 32 of file StatusMapCreatorParam.h.

◆ hvMinDuration

uint64_t o2::mch::StatusMapCreatorParam::hvMinDuration = 10000

minimum duration of HV issues in ms

Definition at line 33 of file StatusMapCreatorParam.h.

◆ timeMargin

uint64_t o2::mch::StatusMapCreatorParam::timeMargin = 2000

time margin for comparing DCS and TF timestamps in ms

Definition at line 35 of file StatusMapCreatorParam.h.

◆ useBadChannels

bool o2::mch::StatusMapCreatorParam::useBadChannels = true

reject bad channels (obtained during pedestal calibration runs)

Definition at line 27 of file StatusMapCreatorParam.h.

◆ useHV

bool o2::mch::StatusMapCreatorParam::useHV = true

reject channels connected to bad HV sectors

Definition at line 29 of file StatusMapCreatorParam.h.

◆ useRejectList

bool o2::mch::StatusMapCreatorParam::useRejectList = true

use extra rejection list (relative to other bad channels sources)

Definition at line 28 of file StatusMapCreatorParam.h.


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