12#ifndef ALICEO2_DATASAMPLINGCONDITION_H
13#define ALICEO2_DATASAMPLINGCONDITION_H
22#include <boost/property_tree/ptree_fwd.hpp>
38 virtual void configure(
const boost::property_tree::ptree&) = 0;
A standardised data sampling condition, to decide if given data sample should be passed forward.
virtual ~DataSamplingCondition()=default
Default destructor.
virtual bool decide(const o2::framework::DataRef &)=0
Makes decision whether to pass a data sample or not.
DataSamplingCondition()=default
Default constructor.
virtual void configure(const boost::property_tree::ptree &)=0
Reads custom configuration parameters.
A header which contains some meta-data generated by Data Sampling.