Project
Loading...
Searching...
No Matches
o2::emcal::RecoParam Class Reference

EMCal reconstruction parameters. More...

#include <RecoParam.h>

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

Public Member Functions

 ~RecoParam () override=default
 Destructor.
 
double getCellTimeShiftNanoSec () const
 Get the average cell time shift.
 
double getNoiseThresholdLGnoHG () const
 Get noise threshold for LGnoHG error.
 
int getPhaseBCmod4 () const
 Get the BC phase.
 
int getMaxAllowedBunchLength () const
 Get the max. allowed bunch length.
 
void PrintStream (std::ostream &stream) const
 Print current reconstruction parameters to stream.
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< RecoParam >
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 ()
 

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< RecoParam >
static const RecoParam & 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

EMCal reconstruction parameters.

Definition at line 27 of file RecoParam.h.

Constructor & Destructor Documentation

◆ ~RecoParam()

o2::emcal::RecoParam::~RecoParam ( )
overridedefault

Destructor.

Member Function Documentation

◆ getCellTimeShiftNanoSec()

double o2::emcal::RecoParam::getCellTimeShiftNanoSec ( ) const
inline

Get the average cell time shift.

Returns
Average cell time shift

Definition at line 35 of file RecoParam.h.

◆ getMaxAllowedBunchLength()

int o2::emcal::RecoParam::getMaxAllowedBunchLength ( ) const
inline

Get the max. allowed bunch length.

Returns
Max. allowed bunch length

In case of max. bunch length 0 the max. bunch length is auto-determined from the RCU trailer

Definition at line 50 of file RecoParam.h.

◆ getNoiseThresholdLGnoHG()

double o2::emcal::RecoParam::getNoiseThresholdLGnoHG ( ) const
inline

Get noise threshold for LGnoHG error.

Returns
Noise threshold

Definition at line 39 of file RecoParam.h.

◆ getPhaseBCmod4()

int o2::emcal::RecoParam::getPhaseBCmod4 ( ) const
inline

Get the BC phase.

Returns
BC phase

Definition at line 43 of file RecoParam.h.

◆ PrintStream()

void RecoParam::PrintStream ( std::ostream &  stream) const

Print current reconstruction parameters to stream.

Parameters
streamStream to print on

Definition at line 25 of file RecoParam.cxx.


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