![]() |
Project
|
#include <DigitFilterParam.h>
Inherits o2::conf::ConfigurableParamHelper< ChannelFilterParam >.
Public Member Functions | |
bool | checkPMbits (uint8_t pmBits) const |
bool | checkTCMbits (uint8_t tcmBits) const |
bool | checkTimeWindow (int16_t time) const |
bool | checkAmpWindow (int16_t amp) const |
bool | checkAll (const o2::ft0::ChannelData &channelData) const |
O2ParamDef (ChannelFilterParam, "FT0ChannelFilterParam") | |
![]() | |
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 | |
int16_t | mAmpUpper = 4200 |
int16_t | mAmpLower = -4200 |
int16_t | mTimeUpper = 2050 |
int16_t | mTimeLower = -2050 |
uint8_t | mPMbitsGood = 0 |
uint8_t | mPMbitsBad = 0 |
uint8_t | mPMbitsToCheck = mPMbitsGood | mPMbitsBad |
uint64_t | mTrgBitsGood = 0 |
uint64_t | mTrgBitsBad = 0 |
uint64_t | mTrgBitsToCheck = mTrgBitsGood | mTrgBitsBad |
Additional Inherited Members | |
![]() | |
enum | EParamProvenance { kCODE , kCCDB , kRT } |
enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
![]() | |
static const ChannelFilterParam & | 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 DigitFilterParam.h.
|
inline |
Definition at line 67 of file DigitFilterParam.h.
|
inline |
Definition at line 63 of file DigitFilterParam.h.
|
inline |
Definition at line 51 of file DigitFilterParam.h.
|
inline |
Definition at line 55 of file DigitFilterParam.h.
|
inline |
Definition at line 59 of file DigitFilterParam.h.
o2::ft0::ChannelFilterParam::O2ParamDef | ( | ChannelFilterParam | , |
"FT0ChannelFilterParam" | |||
) |
int16_t o2::ft0::ChannelFilterParam::mAmpLower = -4200 |
Definition at line 39 of file DigitFilterParam.h.
int16_t o2::ft0::ChannelFilterParam::mAmpUpper = 4200 |
Definition at line 38 of file DigitFilterParam.h.
uint8_t o2::ft0::ChannelFilterParam::mPMbitsBad = 0 |
Definition at line 44 of file DigitFilterParam.h.
uint8_t o2::ft0::ChannelFilterParam::mPMbitsGood = 0 |
Definition at line 43 of file DigitFilterParam.h.
uint8_t o2::ft0::ChannelFilterParam::mPMbitsToCheck = mPMbitsGood | mPMbitsBad |
Definition at line 45 of file DigitFilterParam.h.
int16_t o2::ft0::ChannelFilterParam::mTimeLower = -2050 |
Definition at line 41 of file DigitFilterParam.h.
int16_t o2::ft0::ChannelFilterParam::mTimeUpper = 2050 |
Definition at line 40 of file DigitFilterParam.h.
uint64_t o2::ft0::ChannelFilterParam::mTrgBitsBad = 0 |
Definition at line 48 of file DigitFilterParam.h.
uint64_t o2::ft0::ChannelFilterParam::mTrgBitsGood = 0 |
Definition at line 47 of file DigitFilterParam.h.
uint64_t o2::ft0::ChannelFilterParam::mTrgBitsToCheck = mTrgBitsGood | mTrgBitsBad |
Definition at line 49 of file DigitFilterParam.h.