![]() |
Project
|
struct for setting and storing the streamer level More...
#include <DebugStreamer.h>
Inherits o2::conf::ConfigurableParamHelper< ParameterDebugStreamer >.
Public Member Functions | |
| O2ParamDef (ParameterDebugStreamer, "DebugStreamerParam") | |
Public Member Functions inherited from o2::conf::ConfigurableParamHelper< ParameterDebugStreamer > | |
| 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 | |
| int | streamLevel {} |
| SamplingTypes | samplingType [StreamFlags::streamFlagsCount] {} |
| flag to store what will be streamed | |
| float | samplingFrequency [StreamFlags::streamFlagsCount] {0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1} |
| frequency which is used for the sampling (0.1 -> 10% is written if sampling is used) | |
| int | sampleIDGlobal [StreamFlags::streamFlagsCount] {} |
| storage of reference streamer used for sampleIDFromOtherStreamer | |
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< ParameterDebugStreamer > | |
| static const ParameterDebugStreamer & | 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 ¶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 = "" |
struct for setting and storing the streamer level
Definition at line 66 of file DebugStreamer.h.
| o2::utils::ParameterDebugStreamer::O2ParamDef | ( | ParameterDebugStreamer | , |
| "DebugStreamerParam" | |||
| ) |
| int o2::utils::ParameterDebugStreamer::sampleIDGlobal[StreamFlags::streamFlagsCount] {} |
storage of reference streamer used for sampleIDFromOtherStreamer
Definition at line 70 of file DebugStreamer.h.
| float o2::utils::ParameterDebugStreamer::samplingFrequency[StreamFlags::streamFlagsCount] {0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1} |
frequency which is used for the sampling (0.1 -> 10% is written if sampling is used)
Definition at line 69 of file DebugStreamer.h.
| SamplingTypes o2::utils::ParameterDebugStreamer::samplingType[StreamFlags::streamFlagsCount] {} |
flag to store what will be streamed
sampling type for each streamer (default = SamplingTypes::sampleAll)
Definition at line 68 of file DebugStreamer.h.
| int o2::utils::ParameterDebugStreamer::streamLevel {} |
Definition at line 67 of file DebugStreamer.h.