![]() |
Project
|
Configurable parameters for the Bad Channel Calibrator. More...
#include <BadChannelCalibratorParam.h>
Inherits o2::conf::ConfigurableParamHelper< BadChannelCalibratorParam >.
Public Member Functions | |
| O2ParamDef (BadChannelCalibratorParam, "MCHBadChannelCalibratorParam") | |
Public Member Functions inherited from o2::conf::ConfigurableParamHelper< BadChannelCalibratorParam > | |
| 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 | |
| float | maxPed = 200.f |
| maximum allowed pedestal value | |
| float | maxNoise = 2.f |
| maximum allowed noise value | |
| int | minRequiredNofEntriesPerChannel = 10000 |
| mininum pedestal digits per channel needed to assess a channel quality | |
| float | minRequiredCalibratedFraction = 0.9f |
| minimum fraction of channels for which we need a quality value to produce a bad channel map. | |
| int | nThreads = 1 |
| number of paralle threads for processing the pedestal data | |
| bool | onlyAtEndOfStream = {true} |
| only produce bad channel map at end of stream (EoS). In that case the minRequiredCalibratedFraction and minRequiredNofEntriesPerChannel are irrelevant. | |
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< BadChannelCalibratorParam > | |
| static const BadChannelCalibratorParam & | 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 ¶msList="", bool unchangedOnly=false) |
| static void | updateFromJSONString (std::string const &, std::string const ¶msList="", 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 EnumRegistry * | sEnumRegistry = nullptr |
| static std::string | sOutputDir = "" |
Configurable parameters for the Bad Channel Calibrator.
Definition at line 25 of file BadChannelCalibratorParam.h.
| o2::mch::calibration::BadChannelCalibratorParam::O2ParamDef | ( | BadChannelCalibratorParam | , |
| "MCHBadChannelCalibratorParam" | |||
| ) |
maximum allowed noise value
Definition at line 28 of file BadChannelCalibratorParam.h.
maximum allowed pedestal value
Definition at line 27 of file BadChannelCalibratorParam.h.
minimum fraction of channels for which we need a quality value to produce a bad channel map.
Definition at line 31 of file BadChannelCalibratorParam.h.
| int o2::mch::calibration::BadChannelCalibratorParam::minRequiredNofEntriesPerChannel = 10000 |
mininum pedestal digits per channel needed to assess a channel quality
Definition at line 30 of file BadChannelCalibratorParam.h.
| int o2::mch::calibration::BadChannelCalibratorParam::nThreads = 1 |
number of paralle threads for processing the pedestal data
Definition at line 33 of file BadChannelCalibratorParam.h.
only produce bad channel map at end of stream (EoS). In that case the minRequiredCalibratedFraction and minRequiredNofEntriesPerChannel are irrelevant.
Definition at line 35 of file BadChannelCalibratorParam.h.