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
14#include <string>
15#include <vector>
16namespace ROOT {
17namespace Internal {
18namespace RDF {
19class RVariationBase;
20}
21} // namespace Internal
22} // namespace ROOT
23
24namespace ROOT {
25namespace RDF {
26
27/// A descriptor for the systematic variations known to a given RDataFrame node.
29 std::string fStringRepr;
30 using Variations_t = std::vector<const ROOT::Internal::RDF::RVariationBase *>;
31
32public:
33 RVariationsDescription(const Variations_t &variations);
34 void Print() const;
35 std::string AsString() const { return fStringRepr; }
36};
37
38} // namespace RDF
39} // namespace ROOT
40
41#endif // ROOT_RDF_RVARIATIONSDESCRIPTION
A descriptor for the systematic variations known to a given RDataFrame node.
std::vector< const ROOT::Internal::RDF::RVariationBase * > Variations_t
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.