Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RVariationsDescription.hxx
Go to the documentation of this file.
1// Author: Enrico Guiraud CERN 02/2022
2
3/*************************************************************************
4 * Copyright (C) 1995-2022, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11#ifndef ROOT_RDF_RVARIATIONSDESCRIPTION
12#define ROOT_RDF_RVARIATIONSDESCRIPTION
13
15
16#include <memory>
17#include <string>
18#include <unordered_map>
19
20namespace ROOT {
21namespace RDF {
22
23/// A descriptor for the systematic variations known to a given RDataFrame node.
25 std::string fStringRepr;
26 using Variations_t = std::unordered_multimap<std::string, std::shared_ptr<ROOT::Internal::RDF::RVariationBase>>;
27
28public:
29 RVariationsDescription(const Variations_t &variations);
30 void Print() const;
31 std::string AsString() const { return fStringRepr; }
32};
33
34} // namespace RDF
35} // namespace ROOT
36
37#endif // ROOT_RDF_RVARIATIONSDESCRIPTION
A descriptor for the systematic variations known to a given RDataFrame node.
std::unordered_multimap< std::string, std::shared_ptr< ROOT::Internal::RDF::RVariationBase > > Variations_t
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...