![]() |
Project
|
#include <ZDCSimParam.h>
Inherits o2::conf::ConfigurableParamHelper< ZDCSimParam >.
Public Member Functions | |
| O2ParamDef (ZDCSimParam, "ZDCSimParam") | |
Public Member Functions inherited from o2::conf::ConfigurableParamHelper< ZDCSimParam > | |
| 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 | |
| bool | continuous = true |
| flag for continuous simulation | |
| int | nBCAheadCont = 1 |
| number of BC to read ahead of trigger in continuous mode | |
| int | nBCAheadTrig = 3 |
| number of BC to read ahead of trigger in triggered mode | |
| bool | recordSpatialResponse = false |
| whether to record 2D spatial response showering images in proton/neutron detector | |
| bool | useZDCFastSim = false |
| whether to use fastsim module on event | |
| bool | debugZDCFastSim = false |
| whether to dump fastsim output as 5ch to seperate file in csv format | |
| std::string | ZDCFastSimClassifierPath = "" |
| path to model file that classify if data are viable for model | |
| std::string | ZDCFastSimClassifierScales = "" |
| path to scales file for classifier | |
| std::string | ZDCFastSimModelPathNeutron = "" |
| path to neutron model file | |
| std::string | ZDCFastSimModelScalesNeutron = "" |
| path to scales file for neutron model | |
| std::string | ZDCFastSimModelPathProton = "" |
| path to proton model file | |
| std::string | ZDCFastSimModelScalesProton = "" |
| path to scales file for proton model | |
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< ZDCSimParam > | |
| static const ZDCSimParam & | 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 = "" |
Definition at line 24 of file ZDCSimParam.h.
| o2::zdc::ZDCSimParam::O2ParamDef | ( | ZDCSimParam | , |
| "ZDCSimParam" | |||
| ) |
| bool o2::zdc::ZDCSimParam::continuous = true |
flag for continuous simulation
Definition at line 26 of file ZDCSimParam.h.
| bool o2::zdc::ZDCSimParam::debugZDCFastSim = false |
whether to dump fastsim output as 5ch to seperate file in csv format
Definition at line 31 of file ZDCSimParam.h.
| int o2::zdc::ZDCSimParam::nBCAheadCont = 1 |
number of BC to read ahead of trigger in continuous mode
Definition at line 27 of file ZDCSimParam.h.
| int o2::zdc::ZDCSimParam::nBCAheadTrig = 3 |
number of BC to read ahead of trigger in triggered mode
Definition at line 28 of file ZDCSimParam.h.
| bool o2::zdc::ZDCSimParam::recordSpatialResponse = false |
whether to record 2D spatial response showering images in proton/neutron detector
Definition at line 29 of file ZDCSimParam.h.
| bool o2::zdc::ZDCSimParam::useZDCFastSim = false |
whether to use fastsim module on event
Definition at line 30 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimClassifierPath = "" |
path to model file that classify if data are viable for model
Definition at line 32 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimClassifierScales = "" |
path to scales file for classifier
Definition at line 33 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimModelPathNeutron = "" |
path to neutron model file
Definition at line 34 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimModelPathProton = "" |
path to proton model file
Definition at line 36 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimModelScalesNeutron = "" |
path to scales file for neutron model
Definition at line 35 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimModelScalesProton = "" |
path to scales file for proton model
Definition at line 37 of file ZDCSimParam.h.