Project
Loading...
Searching...
No Matches
o2::fv0::FV0RecoConfig Struct Reference

#include <FV0RecoConfig.h>

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

Public Member Functions

bool areChannelDataFlagsGood (uint8_t flags) const
 
 O2ParamDef (FV0RecoConfig, "FV0RecoConfig")
 
 ClassDefNV (FV0RecoConfig, 1)
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< FV0RecoConfig >
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

double AmplitudeLowerThreshold = 24
 
double AmplitudeThresholdForMeanTime = 5
 
double TimeUpperThreshold = 1000.0
 
uint8_t mValidPmInputFlagMask = static_cast<uint8_t>(~(1u << ChannelData::kNumberADC))
 
uint8_t mValidPmInputFlags = static_cast<uint8_t>((1u << ChannelData::kIsCFDinADCgate) | (1u << ChannelData::kIsEventInTVDC))
 

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< FV0RecoConfig >
static const FV0RecoConfig & 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 &paramsList="", bool unchangedOnly=false)
 
static void updateFromJSONString (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 EnumRegistry * sEnumRegistry = nullptr
 
static std::string sOutputDir = ""
 

Detailed Description

Definition at line 20 of file FV0RecoConfig.h.

Member Function Documentation

◆ areChannelDataFlagsGood()

bool o2::fv0::FV0RecoConfig::areChannelDataFlagsGood ( uint8_t  flags) const
inline

Definition at line 27 of file FV0RecoConfig.h.

◆ ClassDefNV()

o2::fv0::FV0RecoConfig::ClassDefNV ( FV0RecoConfig  ,
1   
)

◆ O2ParamDef()

o2::fv0::FV0RecoConfig::O2ParamDef ( FV0RecoConfig  ,
"FV0RecoConfig"   
)

Member Data Documentation

◆ AmplitudeLowerThreshold

double o2::fv0::FV0RecoConfig::AmplitudeLowerThreshold = 24

Definition at line 21 of file FV0RecoConfig.h.

◆ AmplitudeThresholdForMeanTime

double o2::fv0::FV0RecoConfig::AmplitudeThresholdForMeanTime = 5

Definition at line 22 of file FV0RecoConfig.h.

◆ mValidPmInputFlagMask

uint8_t o2::fv0::FV0RecoConfig::mValidPmInputFlagMask = static_cast<uint8_t>(~(1u << ChannelData::kNumberADC))

Definition at line 24 of file FV0RecoConfig.h.

◆ mValidPmInputFlags

uint8_t o2::fv0::FV0RecoConfig::mValidPmInputFlags = static_cast<uint8_t>((1u << ChannelData::kIsCFDinADCgate) | (1u << ChannelData::kIsEventInTVDC))

Definition at line 25 of file FV0RecoConfig.h.

◆ TimeUpperThreshold

double o2::fv0::FV0RecoConfig::TimeUpperThreshold = 1000.0

Definition at line 23 of file FV0RecoConfig.h.


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