Project
Loading...
Searching...
No Matches
o2::cpv::CPVCalibParams Struct Reference

#include <CPVCalibParams.h>

Inherits o2::conf::ConfigurableParamHelper< CPVCalibParams >.

Public Member Functions

 O2ParamDef (CPVCalibParams, "CPVCalibParams")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< CPVCalibParams >
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

uint16_t pedToleratedGapWidth = 5
 Tolerated gap between bins: if |bin1 - bin2| < width -> bin1 and bin2 belongs to same peak.
 
uint32_t pedMinEvents = 100
 Minimal number of events to produce calibration.
 
float pedSuspiciousPedestalRMS = 10.
 Take additional care for channel if its RMS > mPedSuspiciousPedestalRMS.
 
float pedZSnSigmas = 3.
 Zero Suppression threshold.
 
uint32_t noiseMinEvents = 100
 Minimal number of events to produce calibration.
 
float noiseToleratedChannelEfficiencyLow = 0.9
 Tolerated channel efficiency (lower limit)
 
float noiseToleratedChannelEfficiencyHigh = 1.01
 Tolerated channel efficiency (upper limit)
 
uint16_t noiseThreshold = 10
 ADC threshold.
 
float noiseFrequencyCriteria = 0.5
 Appearance frequency of noisy channels.
 
uint32_t gainMinEvents = 1000
 Minimal number of events to produce calibration in one channel.
 
uint32_t gainMinNChannelsToCalibrate = 2000
 Minimal number of channels ready to be calibrated to produce calibration.
 
float gainDesiredLandauMPV = 200.
 Desired LandauMPV of the spectrum: gain coeff = 200./(max Ampl of the cluster)
 
float gainToleratedChi2PerNDF = 100.
 Tolerated max Chi2 of the fit.
 
float gainMinAllowedCoeff = 0.1
 Min value of gain coeff.
 
float gainMaxAllowedCoeff = 10.
 Max value of gain coeff.
 
float gainFitRangeL = 10.
 Fit range of amplitude spectrum (left)
 
float gainFitRangeR = 1000.
 Fit range of amplitude spectrum (right)
 
unsigned char gainMinClusterMultForCalib = 3
 Min cluster multiplicity for calibration digit production.
 
unsigned char gainMaxClusterMultForCalib = 15
 Max cluster multiplicity for calibration digit production.
 
uint32_t gainCheckForCalibrationInterval = 100
 Check interval (in TFs) if statistics is enough.
 

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< CPVCalibParams >
static const CPVCalibParams & 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 &paramsList="", 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 EnumRegistrysEnumRegistry = nullptr
 
static std::string sOutputDir = ""
 

Detailed Description

Definition at line 25 of file CPVCalibParams.h.

Member Function Documentation

◆ O2ParamDef()

o2::cpv::CPVCalibParams::O2ParamDef ( CPVCalibParams  ,
"CPVCalibParams"   
)

Member Data Documentation

◆ gainCheckForCalibrationInterval

uint32_t o2::cpv::CPVCalibParams::gainCheckForCalibrationInterval = 100

Check interval (in TFs) if statistics is enough.

Definition at line 51 of file CPVCalibParams.h.

◆ gainDesiredLandauMPV

float o2::cpv::CPVCalibParams::gainDesiredLandauMPV = 200.

Desired LandauMPV of the spectrum: gain coeff = 200./(max Ampl of the cluster)

Definition at line 43 of file CPVCalibParams.h.

◆ gainFitRangeL

float o2::cpv::CPVCalibParams::gainFitRangeL = 10.

Fit range of amplitude spectrum (left)

Definition at line 47 of file CPVCalibParams.h.

◆ gainFitRangeR

float o2::cpv::CPVCalibParams::gainFitRangeR = 1000.

Fit range of amplitude spectrum (right)

Definition at line 48 of file CPVCalibParams.h.

◆ gainMaxAllowedCoeff

float o2::cpv::CPVCalibParams::gainMaxAllowedCoeff = 10.

Max value of gain coeff.

Definition at line 46 of file CPVCalibParams.h.

◆ gainMaxClusterMultForCalib

unsigned char o2::cpv::CPVCalibParams::gainMaxClusterMultForCalib = 15

Max cluster multiplicity for calibration digit production.

Definition at line 50 of file CPVCalibParams.h.

◆ gainMinAllowedCoeff

float o2::cpv::CPVCalibParams::gainMinAllowedCoeff = 0.1

Min value of gain coeff.

Definition at line 45 of file CPVCalibParams.h.

◆ gainMinClusterMultForCalib

unsigned char o2::cpv::CPVCalibParams::gainMinClusterMultForCalib = 3

Min cluster multiplicity for calibration digit production.

Definition at line 49 of file CPVCalibParams.h.

◆ gainMinEvents

uint32_t o2::cpv::CPVCalibParams::gainMinEvents = 1000

Minimal number of events to produce calibration in one channel.

Definition at line 41 of file CPVCalibParams.h.

◆ gainMinNChannelsToCalibrate

uint32_t o2::cpv::CPVCalibParams::gainMinNChannelsToCalibrate = 2000

Minimal number of channels ready to be calibrated to produce calibration.

Definition at line 42 of file CPVCalibParams.h.

◆ gainToleratedChi2PerNDF

float o2::cpv::CPVCalibParams::gainToleratedChi2PerNDF = 100.

Tolerated max Chi2 of the fit.

Definition at line 44 of file CPVCalibParams.h.

◆ noiseFrequencyCriteria

float o2::cpv::CPVCalibParams::noiseFrequencyCriteria = 0.5

Appearance frequency of noisy channels.

Definition at line 38 of file CPVCalibParams.h.

◆ noiseMinEvents

uint32_t o2::cpv::CPVCalibParams::noiseMinEvents = 100

Minimal number of events to produce calibration.

Definition at line 34 of file CPVCalibParams.h.

◆ noiseThreshold

uint16_t o2::cpv::CPVCalibParams::noiseThreshold = 10

ADC threshold.

Definition at line 37 of file CPVCalibParams.h.

◆ noiseToleratedChannelEfficiencyHigh

float o2::cpv::CPVCalibParams::noiseToleratedChannelEfficiencyHigh = 1.01

Tolerated channel efficiency (upper limit)

Definition at line 36 of file CPVCalibParams.h.

◆ noiseToleratedChannelEfficiencyLow

float o2::cpv::CPVCalibParams::noiseToleratedChannelEfficiencyLow = 0.9

Tolerated channel efficiency (lower limit)

Definition at line 35 of file CPVCalibParams.h.

◆ pedMinEvents

uint32_t o2::cpv::CPVCalibParams::pedMinEvents = 100

Minimal number of events to produce calibration.

Definition at line 29 of file CPVCalibParams.h.

◆ pedSuspiciousPedestalRMS

float o2::cpv::CPVCalibParams::pedSuspiciousPedestalRMS = 10.

Take additional care for channel if its RMS > mPedSuspiciousPedestalRMS.

Definition at line 30 of file CPVCalibParams.h.

◆ pedToleratedGapWidth

uint16_t o2::cpv::CPVCalibParams::pedToleratedGapWidth = 5

Tolerated gap between bins: if |bin1 - bin2| < width -> bin1 and bin2 belongs to same peak.

Definition at line 28 of file CPVCalibParams.h.

◆ pedZSnSigmas

float o2::cpv::CPVCalibParams::pedZSnSigmas = 3.

Zero Suppression threshold.

Definition at line 31 of file CPVCalibParams.h.


The documentation for this struct was generated from the following file: