70 if (
j < argSet.
size()) {
80 const auto prefix = std::string(
absData.ClassName()) +
"Helper::FillAbsData(" +
absData.GetName() +
") ";
86 <<
" cannot accommodate the value " <<
sourceVal <<
"\n";
115 const auto prefix = std::string(
absData.ClassName()) +
"Helper::Finalize(" +
absData.GetName() +
") ";
123 throw std::invalid_argument(std::string(
"RooAbsData can hold ") + std::to_string(
_eventSize) +
124 " variables per event (plus an optional weight in case of weighted data), but RDataFrame passed " +
125 std::to_string(
nValues) +
" columns.");
131 const std::lock_guard<std::mutex> guard(
_mutexDataset, std::adopt_lock_t());
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Storage_t::size_type size() const
Abstract base class for binned and unbinned datasets.
Abstract base class for objects that represent a real value that may appear on the left hand side of ...
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Container class to hold unbinned data.
virtual RooAbsData & GetAbsData()=0
void Initialize()
RDataFrame interface method.
void FillAbsData(const std::vector< double > &events, unsigned int eventSize)
Append all events to the internal RooDataSet or increment the bins of a RooDataHist at the given loca...
std::vector< std::vector< double > > _events
void Finalize()
Empty all buffers into the dataset/hist to finish processing.
void ExecImpl(std::size_t nValues, std::vector< double > &vector)
Variable that can be changed from the outside.
Bool_t IsImplicitMTEnabled()
Returns true if the implicit multi-threading in ROOT is enabled.
UInt_t GetThreadPoolSize()
Returns the size of ROOT's thread pool.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...