![]() |
Project
|
#include <ParameterElectronics.h>
Inherits o2::conf::ConfigurableParamHelper< ParameterElectronics >.
Public Member Functions | |
float | getAverageShapingTime () const |
O2ParamDef (ParameterElectronics, "TPCEleParam") | |
![]() | |
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 () | |
Public Attributes | |
int | NShapedPoints = 8 |
float | PeakingTime = 160e-3f |
Peaking time of the SAMPA [us]. | |
float | ChipGain = 20.f |
Gain of the SAMPA [mV/fC] - may be either 20 or 30. | |
float | ADCdynamicRange = 2200.f |
Dynamic range of the ADC [mV]. | |
float | ADCsaturation = 1024.f |
ADC saturation [ADC counts]. | |
float | ZbinWidth = TIMEBININBC * o2::constants::lhc::LHCBunchSpacingNS * 1e-3 |
Width of a z bin [us]. | |
float | ElectronCharge = 1.602e-19f |
Electron charge [C]. | |
float | adcToT = 1.f / 1024.f |
relation between time over threshold and ADC value | |
bool | doIonTail = false |
add ion tail in simulation | |
bool | doIonTailPerPad = false |
add ion tail in simulation using pad-by-pad values | |
bool | doCommonModePerPad = true |
add common mode in simulation using pad-by-pad values | |
bool | doSaturationTail = false |
add saturation tail in simulation | |
bool | doNoiseEmptyPads = false |
add noise in pads without signal in simulation | |
bool | applyDeadMap = true |
apply dead channel map | |
float | commonModeCoupling = 0.5f |
average coupling of common mode signal | |
DigitzationMode | DigiMode = DigitzationMode::Auto |
Digitization mode [full / ... ]. | |
Static Public Attributes | |
static constexpr int | TIMEBININBC = 8 |
Additional Inherited Members | |
![]() | |
enum | EParamProvenance { kCODE , kCCDB , kRT } |
enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
![]() | |
static const ParameterElectronics & | Instance () |
![]() | |
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) |
![]() | |
ConfigurableParam () | |
virtual | ~ConfigurableParam ()=default |
void | setRegisterMode (bool b) |
bool | isInitialized () const |
![]() | |
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 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 37 of file ParameterElectronics.h.
|
inline |
Average time from the start of the signal shaping to the COG of the sampled distribution
Since the shaping of the electronic starts when the signals arrive, the cluster finder reconstructs signals later in time. Due to the asymmetry of the signal, the average shaping time is somewhat larger then the PeakingTime
Definition at line 63 of file ParameterElectronics.h.
o2::tpc::ParameterElectronics::O2ParamDef | ( | ParameterElectronics | , |
"TPCEleParam" | |||
) |
float o2::tpc::ParameterElectronics::ADCdynamicRange = 2200.f |
Dynamic range of the ADC [mV].
Definition at line 44 of file ParameterElectronics.h.
float o2::tpc::ParameterElectronics::ADCsaturation = 1024.f |
ADC saturation [ADC counts].
Definition at line 45 of file ParameterElectronics.h.
relation between time over threshold and ADC value
Definition at line 48 of file ParameterElectronics.h.
bool o2::tpc::ParameterElectronics::applyDeadMap = true |
apply dead channel map
Definition at line 54 of file ParameterElectronics.h.
float o2::tpc::ParameterElectronics::ChipGain = 20.f |
Gain of the SAMPA [mV/fC] - may be either 20 or 30.
Definition at line 43 of file ParameterElectronics.h.
float o2::tpc::ParameterElectronics::commonModeCoupling = 0.5f |
average coupling of common mode signal
Definition at line 55 of file ParameterElectronics.h.
DigitzationMode o2::tpc::ParameterElectronics::DigiMode = DigitzationMode::Auto |
Digitization mode [full / ... ].
Definition at line 56 of file ParameterElectronics.h.
bool o2::tpc::ParameterElectronics::doCommonModePerPad = true |
add common mode in simulation using pad-by-pad values
Definition at line 51 of file ParameterElectronics.h.
bool o2::tpc::ParameterElectronics::doIonTail = false |
add ion tail in simulation
Definition at line 49 of file ParameterElectronics.h.
bool o2::tpc::ParameterElectronics::doIonTailPerPad = false |
add ion tail in simulation using pad-by-pad values
Definition at line 50 of file ParameterElectronics.h.
bool o2::tpc::ParameterElectronics::doNoiseEmptyPads = false |
add noise in pads without signal in simulation
Definition at line 53 of file ParameterElectronics.h.
bool o2::tpc::ParameterElectronics::doSaturationTail = false |
add saturation tail in simulation
Definition at line 52 of file ParameterElectronics.h.
float o2::tpc::ParameterElectronics::ElectronCharge = 1.602e-19f |
Electron charge [C].
Definition at line 47 of file ParameterElectronics.h.
int o2::tpc::ParameterElectronics::NShapedPoints = 8 |
Number of ADC samples which are taken into account for a given, shaped signal (should fit into SSE registers)
Definition at line 40 of file ParameterElectronics.h.
float o2::tpc::ParameterElectronics::PeakingTime = 160e-3f |
Peaking time of the SAMPA [us].
Definition at line 42 of file ParameterElectronics.h.
|
staticconstexpr |
Definition at line 38 of file ParameterElectronics.h.
float o2::tpc::ParameterElectronics::ZbinWidth = TIMEBININBC * o2::constants::lhc::LHCBunchSpacingNS * 1e-3 |
Width of a z bin [us].
Definition at line 46 of file ParameterElectronics.h.