![]() |
Project
|
#include <CalibParam.h>
Inherits o2::conf::ConfigurableParamHelper< CalibParam >.
Public Member Functions | |
O2ParamDef (CalibParam, "FT0CalibParam") | |
![]() | |
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 | |
std::size_t | mMinEntriesThreshold = 500 |
std::size_t | mMaxEntriesThreshold = 1000 |
uint8_t | mNExtraSlots = 0 |
double | mMinFitRange = -200. |
double | mMaxFitRange = 200. |
double | mMaxDiffMean = 5 |
double | mMinRMS = 3 |
double | mMaxSigma = 32 |
int | mRebinFactorPerChID [Nchannels] = {0} |
bool | mUseDynamicRange = true |
double | mRangeInRMS = 1.5 |
Static Public Attributes | |
static constexpr auto | Nchannels = o2::ft0::Geometry::Nchannels |
Additional Inherited Members | |
![]() | |
enum | EParamProvenance { kCODE , kCCDB , kRT } |
enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
![]() | |
static const CalibParam & | Instance () |
![]() | |
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) |
![]() | |
ConfigurableParam () | |
virtual | ~ConfigurableParam ()=default |
void | setRegisterMode (bool b) |
bool | isInitialized () const |
![]() | |
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 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 = "" |
Definition at line 25 of file CalibParam.h.
o2::ft0::CalibParam::O2ParamDef | ( | CalibParam | , |
"FT0CalibParam" | |||
) |
double o2::ft0::CalibParam::mMaxDiffMean = 5 |
Definition at line 35 of file CalibParam.h.
std::size_t o2::ft0::CalibParam::mMaxEntriesThreshold = 1000 |
Definition at line 29 of file CalibParam.h.
double o2::ft0::CalibParam::mMaxFitRange = 200. |
Definition at line 33 of file CalibParam.h.
double o2::ft0::CalibParam::mMaxSigma = 32 |
Definition at line 37 of file CalibParam.h.
std::size_t o2::ft0::CalibParam::mMinEntriesThreshold = 500 |
Definition at line 28 of file CalibParam.h.
double o2::ft0::CalibParam::mMinFitRange = -200. |
Definition at line 32 of file CalibParam.h.
double o2::ft0::CalibParam::mMinRMS = 3 |
Definition at line 36 of file CalibParam.h.
uint8_t o2::ft0::CalibParam::mNExtraSlots = 0 |
Definition at line 30 of file CalibParam.h.
double o2::ft0::CalibParam::mRangeInRMS = 1.5 |
Definition at line 41 of file CalibParam.h.
Definition at line 38 of file CalibParam.h.
bool o2::ft0::CalibParam::mUseDynamicRange = true |
Definition at line 40 of file CalibParam.h.
|
staticconstexpr |
Definition at line 26 of file CalibParam.h.