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

Configurable parameters for the time clustering. More...

#include <TimeClusterizerParam.h>

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

Public Member Functions

 O2ParamDef (TimeClusterizerParam, "MCHTimeClusterizer")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< TimeClusterizerParam >
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 onlyTrackable = true
 only output ROFs that match the trackable condition
 
int maxClusterWidth = 1000 / 25
 maximum time width of time clusters, in BC units
 
int peakSearchNbins = 5
 number of time bins for the peak search algorithm (must be an odd number >= 3)
 
int minDigitsPerROF = 0
 minimum number of digits per ROF (below that threshold ROF is discarded)
 
bool peakSearchSignalOnly = true
 only use signal-like hits in peak search
 
bool irFramesOnly = false
 only output ROFs that overlap one of the IRFrames (provided externally, e.g. by ITS)
 
float rofRejectionFraction = 0
 fraction of output (i.e. time-clusterized) ROFs to discard. If 0 (default) keep them all. WARNING: use a non zero value only at Pt2 for sync reco, if needed.
 

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< TimeClusterizerParam >
static const TimeClusterizerParam & 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 time clustering.

Definition at line 25 of file TimeClusterizerParam.h.

Member Function Documentation

◆ O2ParamDef()

o2::mch::TimeClusterizerParam::O2ParamDef ( TimeClusterizerParam  ,
"MCHTimeClusterizer"   
)

Member Data Documentation

◆ irFramesOnly

bool o2::mch::TimeClusterizerParam::irFramesOnly = false

only output ROFs that overlap one of the IRFrames (provided externally, e.g. by ITS)

See also
MCHROFFiltering/IRFrameFilter

Definition at line 33 of file TimeClusterizerParam.h.

◆ maxClusterWidth

int o2::mch::TimeClusterizerParam::maxClusterWidth = 1000 / 25

maximum time width of time clusters, in BC units

Definition at line 29 of file TimeClusterizerParam.h.

◆ minDigitsPerROF

int o2::mch::TimeClusterizerParam::minDigitsPerROF = 0

minimum number of digits per ROF (below that threshold ROF is discarded)

Definition at line 31 of file TimeClusterizerParam.h.

◆ onlyTrackable

bool o2::mch::TimeClusterizerParam::onlyTrackable = true

only output ROFs that match the trackable condition

See also
MCHROFFiltering/TrackableFilter

Definition at line 27 of file TimeClusterizerParam.h.

◆ peakSearchNbins

int o2::mch::TimeClusterizerParam::peakSearchNbins = 5

number of time bins for the peak search algorithm (must be an odd number >= 3)

Definition at line 30 of file TimeClusterizerParam.h.

◆ peakSearchSignalOnly

bool o2::mch::TimeClusterizerParam::peakSearchSignalOnly = true

only use signal-like hits in peak search

Definition at line 32 of file TimeClusterizerParam.h.

◆ rofRejectionFraction

float o2::mch::TimeClusterizerParam::rofRejectionFraction = 0

fraction of output (i.e. time-clusterized) ROFs to discard. If 0 (default) keep them all. WARNING: use a non zero value only at Pt2 for sync reco, if needed.

Definition at line 35 of file TimeClusterizerParam.h.


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