Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:10:35

0001 // Author: Enrico Guiraud CERN  02/2022
0002 
0003 /*************************************************************************
0004  * Copyright (C) 1995-2022, Rene Brun and Fons Rademakers.               *
0005  * All rights reserved.                                                  *
0006  *                                                                       *
0007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0009  *************************************************************************/
0010 
0011 #ifndef ROOT_RDF_RVARIATIONSDESCRIPTION
0012 #define ROOT_RDF_RVARIATIONSDESCRIPTION
0013 
0014 #include <string>
0015 #include <vector>
0016 namespace ROOT {
0017 namespace Internal {
0018 namespace RDF {
0019 class RVariationBase;
0020 }
0021 } // namespace Internal
0022 } // namespace ROOT
0023 
0024 namespace ROOT {
0025 namespace RDF {
0026 
0027 /// A descriptor for the systematic variations known to a given RDataFrame node.
0028 class RVariationsDescription {
0029    std::string fStringRepr;
0030    using Variations_t = std::vector<const ROOT::Internal::RDF::RVariationBase *>;
0031 
0032 public:
0033    RVariationsDescription(const Variations_t &variations);
0034    void Print() const;
0035    std::string AsString() const { return fStringRepr; }
0036 };
0037 
0038 } // namespace RDF
0039 } // namespace ROOT
0040 
0041 #endif // ROOT_RDF_RVARIATIONSDESCRIPTION