![]() |
Project
|
#include <PHOSSimParams.h>
Inherits o2::conf::ConfigurableParamHelper< PHOSSimParams >.
Public Member Functions | |
O2ParamDef (PHOSSimParams, "PHOSSimParams") | |
![]() | |
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 | |
std::string | mCCDBPath = "ccdb" |
use "localtest" to avoid connecting ccdb server, otherwise use ccdb-test.cern.ch | |
float | mLightYieldPerGeV = 526. |
Average number of photoelectrons per GeV: 1.983 gamma/MeV * 0.2655 PDE eff of APD. | |
std::string | mDigitizationCalibPath = "default" |
use "default" to use default calibration or use ccdb.cern.ch | |
std::string | mDigitizationTrigPath = "default" |
use "default" to use default map and turn-on or use ccdb.cern.ch | |
float | mReadoutTime = 5. |
Read-out time in ns for default simulaionts. | |
float | mDeadTime = 20. |
PHOS dead time (includes Read-out time i.e. mDeadTime>=mReadoutTime) | |
float | mReadoutTimePU = 2000. |
Read-out time in ns if pileup simulation on in DigitizerSpec. | |
float | mDeadTimePU = 30000. |
PHOS dead time if pileup simulation on in DigitizerSpec. | |
bool | mApplyTimeResolution = false |
Apply time resolution in digitization. | |
bool | mApplyNonLinearity = false |
Apply energy non-linearity in digitization. | |
bool | mApplyDigitization = false |
Apply energy digitization in digitization. | |
float | mAPDNoise = 0.005 |
RMS of APD noise. | |
float | mDigitThreshold = 2. |
minimal energy to keep digit in ADC counts | |
float | mADCwidth = 0.005 |
width of ADC channel in GeV | |
float | mTOFa = 0.5e-9 |
constant term of TOF resolution | |
float | mTOFb = 1.e-9 |
stohastic term of TOF resolution | |
float | mCellNonLineaityA = 0. |
Amp of cel non-linearity. | |
float | mCellNonLineaityB = 0.109 |
Energy scale of cel non-linearity. | |
float | mCellNonLineaityC = 1. |
Overall calibration. | |
short | mZSthreshold = 1 |
Zero Suppression threshold. | |
float | mTimeResolutionA = 2.e-9 |
Time resolution parameter A (in sec) | |
float | mTimeResolutionB = 2.e-9 |
Time resolution parameter B (in sec/GeV) | |
float | mTimeResThreshold = 0.5 |
threshold for time resolution calculation (in GeV) | |
float | mMinNoiseTime = -200.e-9 |
minimum time in noise channels (in sec) | |
float | mMaxNoiseTime = 2000.e-9 |
minimum time in noise channels (in sec) | |
float | mTrig2x2MinThreshold = 800. |
threshold to simulate 2x2 trigger turn-on curve (in ADC counts~0.005 GeV/count!) | |
float | mTrig4x4MinThreshold = 900. |
threshold to simulate 4x4 trigger turn-on curve (in ADC counts!) | |
float | mSampleDecayTime = 0.091 |
Time parameter in Gamma2 function (1/tau, 100.e-9/2.1e-6) | |
short | mSpikeThreshold = 100 |
Single spike >100 ADC channels. | |
short | mBaseLine = 0 |
short | mPreSamples = 2 |
number of pre-samples readout before sample (if no pedestal subtrauction) | |
short | mMCOverflow = 970 |
Overflow level for MC simulations: 1023-(pedestal~50) | |
float | mTimeTick = 100. |
ns to PHOS digitization step conversion | |
float | mTRUTimeTick = 25. |
ns to PHOS TRU digitization step | |
float | mSampleTimeFitAccuracy = 1.e-3 |
float | mSampleAmpFitAccuracy = 1.e-2 |
short | mNIterations = 5 |
maximal number of iterations in oveflow sample fit | |
float | mLogWeight = 4.5 |
Cutoff used in log. weight calculation. | |
float | mDigitMinEnergy = 0.020 |
Minimal energy of digits to be used in cluster (GeV) | |
float | mClusteringThreshold = 0.050 |
Minimal energy of digit to start clustering (GeV) | |
float | mLocalMaximumCut = 0.015 |
Minimal height of local maximum over neighbours. | |
int | mUnfoldMaxSize = 100 |
maximal number of cells in cluster to be unfolded | |
bool | mUnfoldClusters = true |
To perform cluster unfolding. | |
float | mUnfogingEAccuracy = 1.e-2 |
Accuracy of energy calculation in unfoding prosedure (GeV) | |
float | mUnfogingXZAccuracy = 1.e-1 |
Accuracy of position calculation in unfolding procedure (cm) | |
float | mUnfogingChi2Accuracy = 1.e-2 |
critical chi2/NDF | |
int | mNMaxIterations = 10 |
Maximal number of iterations in unfolding procedure. | |
float | mCoreR = 3.5 |
Radius to caluclate core energy. | |
float | mSortingDelta = 1. |
used in sorting clusters | |
Additional Inherited Members | |
![]() | |
enum | EParamProvenance { kCODE , kCCDB , kRT } |
enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
![]() | |
static const PHOSSimParams & | 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 24 of file PHOSSimParams.h.
o2::phos::PHOSSimParams::O2ParamDef | ( | PHOSSimParams | , |
"PHOSSimParams" | |||
) |
float o2::phos::PHOSSimParams::mADCwidth = 0.005 |
width of ADC channel in GeV
Definition at line 43 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mAPDNoise = 0.005 |
RMS of APD noise.
Definition at line 41 of file PHOSSimParams.h.
bool o2::phos::PHOSSimParams::mApplyDigitization = false |
Apply energy digitization in digitization.
Definition at line 40 of file PHOSSimParams.h.
bool o2::phos::PHOSSimParams::mApplyNonLinearity = false |
Apply energy non-linearity in digitization.
Definition at line 39 of file PHOSSimParams.h.
bool o2::phos::PHOSSimParams::mApplyTimeResolution = false |
Apply time resolution in digitization.
Definition at line 38 of file PHOSSimParams.h.
short o2::phos::PHOSSimParams::mBaseLine = 0 |
Definition at line 65 of file PHOSSimParams.h.
std::string o2::phos::PHOSSimParams::mCCDBPath = "ccdb" |
use "localtest" to avoid connecting ccdb server, otherwise use ccdb-test.cern.ch
Definition at line 26 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mCellNonLineaityA = 0. |
Amp of cel non-linearity.
Definition at line 46 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mCellNonLineaityB = 0.109 |
Energy scale of cel non-linearity.
Definition at line 47 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mCellNonLineaityC = 1. |
Overall calibration.
Definition at line 48 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mClusteringThreshold = 0.050 |
Minimal energy of digit to start clustering (GeV)
Definition at line 84 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mCoreR = 3.5 |
Radius to caluclate core energy.
Definition at line 92 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mDeadTime = 20. |
PHOS dead time (includes Read-out time i.e. mDeadTime>=mReadoutTime)
Definition at line 35 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mDeadTimePU = 30000. |
PHOS dead time if pileup simulation on in DigitizerSpec.
Definition at line 37 of file PHOSSimParams.h.
std::string o2::phos::PHOSSimParams::mDigitizationCalibPath = "default" |
use "default" to use default calibration or use ccdb.cern.ch
Definition at line 30 of file PHOSSimParams.h.
std::string o2::phos::PHOSSimParams::mDigitizationTrigPath = "default" |
use "default" to use default map and turn-on or use ccdb.cern.ch
Definition at line 31 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mDigitMinEnergy = 0.020 |
Minimal energy of digits to be used in cluster (GeV)
Definition at line 83 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mDigitThreshold = 2. |
minimal energy to keep digit in ADC counts
Definition at line 42 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mLightYieldPerGeV = 526. |
Average number of photoelectrons per GeV: 1.983 gamma/MeV * 0.2655 PDE eff of APD.
Definition at line 29 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mLocalMaximumCut = 0.015 |
Minimal height of local maximum over neighbours.
Definition at line 85 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mLogWeight = 4.5 |
Cutoff used in log. weight calculation.
Definition at line 82 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mMaxNoiseTime = 2000.e-9 |
minimum time in noise channels (in sec)
Definition at line 55 of file PHOSSimParams.h.
short o2::phos::PHOSSimParams::mMCOverflow = 970 |
Overflow level for MC simulations: 1023-(pedestal~50)
Definition at line 67 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mMinNoiseTime = -200.e-9 |
minimum time in noise channels (in sec)
Definition at line 54 of file PHOSSimParams.h.
short o2::phos::PHOSSimParams::mNIterations = 5 |
maximal number of iterations in oveflow sample fit
Definition at line 72 of file PHOSSimParams.h.
int o2::phos::PHOSSimParams::mNMaxIterations = 10 |
Maximal number of iterations in unfolding procedure.
Definition at line 91 of file PHOSSimParams.h.
short o2::phos::PHOSSimParams::mPreSamples = 2 |
number of pre-samples readout before sample (if no pedestal subtrauction)
Definition at line 66 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mReadoutTime = 5. |
Read-out time in ns for default simulaionts.
Definition at line 34 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mReadoutTimePU = 2000. |
Read-out time in ns if pileup simulation on in DigitizerSpec.
Definition at line 36 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mSampleAmpFitAccuracy = 1.e-2 |
Definition at line 71 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mSampleDecayTime = 0.091 |
Time parameter in Gamma2 function (1/tau, 100.e-9/2.1e-6)
Definition at line 61 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mSampleTimeFitAccuracy = 1.e-3 |
Definition at line 70 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mSortingDelta = 1. |
used in sorting clusters
Definition at line 93 of file PHOSSimParams.h.
short o2::phos::PHOSSimParams::mSpikeThreshold = 100 |
Single spike >100 ADC channels.
Definition at line 64 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTimeResolutionA = 2.e-9 |
Time resolution parameter A (in sec)
Definition at line 51 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTimeResolutionB = 2.e-9 |
Time resolution parameter B (in sec/GeV)
Definition at line 52 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTimeResThreshold = 0.5 |
threshold for time resolution calculation (in GeV)
Definition at line 53 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTimeTick = 100. |
ns to PHOS digitization step conversion
Definition at line 68 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTOFa = 0.5e-9 |
constant term of TOF resolution
Definition at line 44 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTOFb = 1.e-9 |
stohastic term of TOF resolution
Definition at line 45 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTrig2x2MinThreshold = 800. |
threshold to simulate 2x2 trigger turn-on curve (in ADC counts~0.005 GeV/count!)
Definition at line 57 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTrig4x4MinThreshold = 900. |
threshold to simulate 4x4 trigger turn-on curve (in ADC counts!)
Definition at line 58 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mTRUTimeTick = 25. |
ns to PHOS TRU digitization step
Definition at line 69 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mUnfogingChi2Accuracy = 1.e-2 |
critical chi2/NDF
Definition at line 90 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mUnfogingEAccuracy = 1.e-2 |
Accuracy of energy calculation in unfoding prosedure (GeV)
Definition at line 88 of file PHOSSimParams.h.
float o2::phos::PHOSSimParams::mUnfogingXZAccuracy = 1.e-1 |
Accuracy of position calculation in unfolding procedure (cm)
Definition at line 89 of file PHOSSimParams.h.
bool o2::phos::PHOSSimParams::mUnfoldClusters = true |
To perform cluster unfolding.
Definition at line 87 of file PHOSSimParams.h.
int o2::phos::PHOSSimParams::mUnfoldMaxSize = 100 |
maximal number of cells in cluster to be unfolded
Definition at line 86 of file PHOSSimParams.h.
short o2::phos::PHOSSimParams::mZSthreshold = 1 |
Zero Suppression threshold.
Definition at line 50 of file PHOSSimParams.h.