![]() |
Project
|
A DataSamplingCondition which makes decisions randomly, but with determinism. More...
Inherits o2::utilities::DataSamplingCondition.
Public Member Functions | |
DataSamplingConditionRandom () | |
Constructor. | |
~DataSamplingConditionRandom () override=default | |
Default destructor. | |
void | configure (const boost::property_tree::ptree &config) override |
Reads 'fraction' parameter (type double, between 0 and 1) and seed (int). | |
bool | decide (const o2::framework::DataRef &dataRef) override |
Makes pseudo-random, deterministic decision based on TimesliceID. The reason behind using TimesliceID is to ensure, that data of the same events is sampled even on different FLPs. | |
![]() | |
DataSamplingCondition ()=default | |
Default constructor. | |
virtual | ~DataSamplingCondition ()=default |
Default destructor. | |
A DataSamplingCondition which makes decisions randomly, but with determinism.
Definition at line 36 of file DataSamplingConditionRandom.cxx.
|
inline |
Constructor.
Definition at line 41 of file DataSamplingConditionRandom.cxx.
|
overridedefault |
Default destructor.
|
inlineoverridevirtual |
Reads 'fraction' parameter (type double, between 0 and 1) and seed (int).
Implements o2::utilities::DataSamplingCondition.
Definition at line 50 of file DataSamplingConditionRandom.cxx.
|
inlineoverridevirtual |
Makes pseudo-random, deterministic decision based on TimesliceID. The reason behind using TimesliceID is to ensure, that data of the same events is sampled even on different FLPs.
Implements o2::utilities::DataSamplingCondition.
Definition at line 85 of file DataSamplingConditionRandom.cxx.