Project
Loading...
Searching...
No Matches
o2::mch::DigitFilterParam Class Reference

Configurable parameters for the digit filtering. More...

#include <DigitFilterParam.h>

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

Public Member Functions

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

bool sanityCheck = false
 whether or not to perform some sanity checks on the input digits
 
uint32_t minADC = 1
 digits with an ADC below this value are discarded
 
bool rejectBackground = true
 attempts to reject background (loose background selection, don't kill signal)
 
bool selectSignal = false
 attempts to select only signal (strict background selection, might loose signal)
 
int timeOffset = 120
 
uint32_t statusMask = StatusMap::kBadPedestal | StatusMap::kRejectList | StatusMap::kBadHV
 mask to reject digits based on the statusmap (0 = no rejection)
 

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< DigitFilterParam >
static const DigitFilterParam & 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

Configurable parameters for the digit filtering.

Definition at line 26 of file DigitFilterParam.h.

Member Function Documentation

◆ O2ParamDef()

o2::mch::DigitFilterParam::O2ParamDef ( DigitFilterParam  ,
"MCHDigitFilter"   
)

Member Data Documentation

◆ minADC

uint32_t o2::mch::DigitFilterParam::minADC = 1

digits with an ADC below this value are discarded

Definition at line 29 of file DigitFilterParam.h.

◆ rejectBackground

bool o2::mch::DigitFilterParam::rejectBackground = true

attempts to reject background (loose background selection, don't kill signal)

Definition at line 30 of file DigitFilterParam.h.

◆ sanityCheck

bool o2::mch::DigitFilterParam::sanityCheck = false

whether or not to perform some sanity checks on the input digits

Definition at line 28 of file DigitFilterParam.h.

◆ selectSignal

bool o2::mch::DigitFilterParam::selectSignal = false

attempts to select only signal (strict background selection, might loose signal)

Definition at line 31 of file DigitFilterParam.h.

◆ statusMask

uint32_t o2::mch::DigitFilterParam::statusMask = StatusMap::kBadPedestal | StatusMap::kRejectList | StatusMap::kBadHV

mask to reject digits based on the statusmap (0 = no rejection)

Definition at line 34 of file DigitFilterParam.h.

◆ timeOffset

int o2::mch::DigitFilterParam::timeOffset = 120

digit time calibration offset

Definition at line 32 of file DigitFilterParam.h.


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