![]() |
Project
|
#include <DigitizerParam.h>
Inherits o2::conf::ConfigurableParamHelper< DigitizerParam >.
Public Attributes | |
| bool | continuous = true |
| whether we assume continuous mode or not | |
| int | seed = 0 |
| seed for random number generators used for time, noise and threshold (0 means no seed given) | |
| float | timeSigma = 2.f |
| time dispersion added to digit times (in bc unit) | |
| float | noiseSigma = 0.5f |
| dispersion of noise added to physical signal per ADC sample (in ADC counts) | |
| float | noiseOnlyProba = 1.e-7f |
| probability of noise-only signal (per pad per ROF=4BC) | |
| float | noiseOnlyMean = 23.f |
| mean value of noise-only signal (in ADC counts) | |
| float | noiseOnlySigma = 3.f |
| dispersion of noise-only signal (in ADC counts) | |
| bool | onlyNoise = false |
| for debug only: disable treatment of physical signals (i.e. keep only noise) | |
| float | minChargeMean = 22.2f |
| mean value of lower charge threshold for a signal to be digitized (in ADC counts) | |
| float | minChargeSigma = 2.8f |
| dispersion of lower charge threshold for a signal to be digitized (in ADC counts) | |
| bool | handlePileup = true |
| merge digits in overlapping readout windows (defined by the number of samples + 2) | |
Additional Inherited Members | |
Public Types inherited from o2::conf::ConfigurableParam | |
| enum | EParamProvenance { kCODE , kCCDB , kRT } |
| enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
Public Member Functions inherited from o2::conf::ConfigurableParamHelper< DigitizerParam > | |
| 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 () | |
Static Public Member Functions inherited from o2::conf::ConfigurableParamHelper< DigitizerParam > | |
| static const DigitizerParam & | 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 21 of file DigitizerParam.h.
| bool o2::mch::DigitizerParam::continuous = true |
whether we assume continuous mode or not
Definition at line 23 of file DigitizerParam.h.
| bool o2::mch::DigitizerParam::handlePileup = true |
merge digits in overlapping readout windows (defined by the number of samples + 2)
Definition at line 40 of file DigitizerParam.h.
| float o2::mch::DigitizerParam::minChargeMean = 22.2f |
mean value of lower charge threshold for a signal to be digitized (in ADC counts)
Definition at line 37 of file DigitizerParam.h.
| float o2::mch::DigitizerParam::minChargeSigma = 2.8f |
dispersion of lower charge threshold for a signal to be digitized (in ADC counts)
Definition at line 38 of file DigitizerParam.h.
| float o2::mch::DigitizerParam::noiseOnlyMean = 23.f |
mean value of noise-only signal (in ADC counts)
Definition at line 32 of file DigitizerParam.h.
| float o2::mch::DigitizerParam::noiseOnlyProba = 1.e-7f |
probability of noise-only signal (per pad per ROF=4BC)
Definition at line 31 of file DigitizerParam.h.
| float o2::mch::DigitizerParam::noiseOnlySigma = 3.f |
dispersion of noise-only signal (in ADC counts)
Definition at line 33 of file DigitizerParam.h.
| float o2::mch::DigitizerParam::noiseSigma = 0.5f |
dispersion of noise added to physical signal per ADC sample (in ADC counts)
Definition at line 29 of file DigitizerParam.h.
| bool o2::mch::DigitizerParam::onlyNoise = false |
for debug only: disable treatment of physical signals (i.e. keep only noise)
Definition at line 35 of file DigitizerParam.h.
| int o2::mch::DigitizerParam::seed = 0 |
seed for random number generators used for time, noise and threshold (0 means no seed given)
Definition at line 25 of file DigitizerParam.h.
| float o2::mch::DigitizerParam::timeSigma = 2.f |
time dispersion added to digit times (in bc unit)
Definition at line 27 of file DigitizerParam.h.