![]() |
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 |
| bool | buildBeamLine = true |
| bool | buildZEM = true |
| build the ZEM calorimeters | |
| 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="") |
| 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 ¶msList="", bool unchangedOnly=false) |
| static void | updateFromJSONString (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" | |||
| ) |
Build the +-113 m beam line, its magnets and the ZN/ZP calorimeters that sit there. This is what the ZDC costs in transport time; turning it off leaves the ZEM calorimeters at z ~ 7.6 m in the geometry.
Definition at line 30 of file ZDCSimParam.h.
build the ZEM calorimeters
Definition at line 31 of file ZDCSimParam.h.
flag for continuous simulation
Definition at line 26 of file ZDCSimParam.h.
whether to dump fastsim output as 5ch to seperate file in csv format
Definition at line 36 of file ZDCSimParam.h.
| int o2::zdc::ZDCSimParam::nBCAheadCont = 1 |
number of BC to read ahead of trigger in continuous mode
Definition at line 32 of file ZDCSimParam.h.
| int o2::zdc::ZDCSimParam::nBCAheadTrig = 3 |
number of BC to read ahead of trigger in triggered mode
Definition at line 33 of file ZDCSimParam.h.
whether to record 2D spatial response showering images in proton/neutron detector
Definition at line 34 of file ZDCSimParam.h.
whether to use fastsim module on event
Definition at line 35 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 37 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimClassifierScales = "" |
path to scales file for classifier
Definition at line 38 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimModelPathNeutron = "" |
path to neutron model file
Definition at line 39 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimModelPathProton = "" |
path to proton model file
Definition at line 41 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimModelScalesNeutron = "" |
path to scales file for neutron model
Definition at line 40 of file ZDCSimParam.h.
| std::string o2::zdc::ZDCSimParam::ZDCFastSimModelScalesProton = "" |
path to scales file for proton model
Definition at line 42 of file ZDCSimParam.h.