![]() |
Project
|
#include <FastMultEstConfig.h>
Inherits o2::conf::ConfigurableParamHelper< FastMultEstConfig >, and o2::conf::ConfigurableParamHelper< FastMultEstConfig >.
Public Member Functions | |
bool | isMultCutRequested () const |
prefer ROFs with highest number of physics triggers | |
bool | isVtxMultCutRequested () const |
bool | isPassingRandomRejection () const |
bool | isPassingMultCut (float mult) const |
bool | isPassingVtxMultCut (int mult) const |
O2ParamDef (FastMultEstConfig, "fastMultConfig") | |
bool | isMultCutRequested () const |
prefer ROFs with highest number of physics triggers | |
bool | isVtxMultCutRequested () const |
bool | isPassingRandomRejection () const |
bool | isPassingMultCut (float mult) const |
bool | isPassingVtxMultCut (int mult) const |
O2ParamDef (FastMultEstConfig, "fastMultConfig") | |
![]() | |
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 | |
float | accCorr [NLayers] = {2.95, 2.46, 2.19, 2.26, 2.06, 3.1, 3.1} |
acceptance correction per layer (cluster / track) | |
int | firstLayer = 3 |
int | lastLayer = 6 |
1st layer to account | |
float | imposeNoisePerChip = 1.e-9 * 1024 * 512 |
last layer to account | |
float | cutMultClusLow = 0 |
float | cutMultClusHigh = -1 |
reject ROF with estimated cluster mult. below this value (no cut if <0) | |
float | cutMultVtxLow = -1 |
reject ROF with estimated cluster mult. above this value (no cut if <0) | |
float | cutMultVtxHigh = -1 |
reject seed vertex if its multiplicity below this value (no cut if <0) | |
float | cutRandomFraction = -1. |
reject seed vertex if its multiplicity above this value (no cut if <0) | |
int | randomSeed = 0 |
apply random cut rejecting requested fraction | |
bool | preferTriggered = true |
0 - do not seet seed, >0 : set as is, <0 : use current time | |
Static Public Attributes | |
static constexpr int | NLayers = o2::itsmft::ChipMappingITS::NLayers |
Additional Inherited Members | |
![]() | |
enum | EParamProvenance { kCODE , kCCDB , kRT } |
enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
![]() | |
static const FastMultEstConfig & | 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 27 of file FastMultEstConfig.h.
|
inline |
prefer ROFs with highest number of physics triggers
Definition at line 45 of file FastMultEstConfig.h.
|
inline |
prefer ROFs with highest number of physics triggers
Definition at line 45 of file FastMultEstConfig.h.
|
inline |
Definition at line 48 of file FastMultEstConfig.h.
|
inline |
Definition at line 48 of file FastMultEstConfig.h.
bool FastMultEstConfig::isPassingRandomRejection | ( | ) | const |
Definition at line 19 of file FastMultEstConfig.cxx.
bool o2::its::FastMultEstConfig::isPassingRandomRejection | ( | ) | const |
|
inline |
Definition at line 49 of file FastMultEstConfig.h.
|
inline |
Definition at line 49 of file FastMultEstConfig.h.
|
inline |
Definition at line 46 of file FastMultEstConfig.h.
|
inline |
Definition at line 46 of file FastMultEstConfig.h.
o2::its::FastMultEstConfig::O2ParamDef | ( | FastMultEstConfig | , |
"fastMultConfig" | |||
) |
o2::its::FastMultEstConfig::O2ParamDef | ( | FastMultEstConfig | , |
"fastMultConfig" | |||
) |
float o2::its::FastMultEstConfig::accCorr = {2.95, 2.46, 2.19, 2.26, 2.06, 3.1, 3.1} |
acceptance correction per layer (cluster / track)
acceptance correction per layer (relative to 1st one)
Definition at line 31 of file FastMultEstConfig.h.
float o2::its::FastMultEstConfig::cutMultClusHigh = -1 |
reject ROF with estimated cluster mult. below this value (no cut if <0)
Definition at line 38 of file FastMultEstConfig.h.
float o2::its::FastMultEstConfig::cutMultClusLow = 0 |
Definition at line 37 of file FastMultEstConfig.h.
float o2::its::FastMultEstConfig::cutMultVtxHigh = -1 |
reject seed vertex if its multiplicity below this value (no cut if <0)
Definition at line 40 of file FastMultEstConfig.h.
float o2::its::FastMultEstConfig::cutMultVtxLow = -1 |
reject ROF with estimated cluster mult. above this value (no cut if <0)
Definition at line 39 of file FastMultEstConfig.h.
float o2::its::FastMultEstConfig::cutRandomFraction = -1. |
reject seed vertex if its multiplicity above this value (no cut if <0)
Definition at line 41 of file FastMultEstConfig.h.
int o2::its::FastMultEstConfig::firstLayer = 3 |
Definition at line 32 of file FastMultEstConfig.h.
float o2::its::FastMultEstConfig::imposeNoisePerChip = 1.e-9 * 1024 * 512 |
last layer to account
Definition at line 34 of file FastMultEstConfig.h.
int o2::its::FastMultEstConfig::lastLayer = 6 |
1st layer to account
Definition at line 33 of file FastMultEstConfig.h.
|
staticconstexpr |
Definition at line 28 of file FastMultEstConfig.h.
bool o2::its::FastMultEstConfig::preferTriggered = true |
0 - do not seet seed, >0 : set as is, <0 : use current time
Definition at line 43 of file FastMultEstConfig.h.
int o2::its::FastMultEstConfig::randomSeed = 0 |
apply random cut rejecting requested fraction
Definition at line 42 of file FastMultEstConfig.h.