Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RActionBase.cxx
Go to the documentation of this file.
1// Author: Enrico Guiraud, Danilo Piparo CERN 09/2018
2
3/*************************************************************************
4 * Copyright (C) 1995-2018, 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
13#include "ROOT/RDF/Utils.hxx"
14
15using namespace ROOT::Internal::RDF;
16
17RActionBase::RActionBase(RLoopManager *lm, const ColumnNames_t &colNames, const RColumnRegister &colRegister,
18 const std::vector<std::string> &prevVariations)
19 : fLoopManager(lm), fNSlots(lm->GetNSlots()), fColumnNames(colNames),
20 fVariations(Union(prevVariations, colRegister.GetVariationDeps(fColumnNames))), fColRegister(colRegister)
21{
22}
23
24// outlined to pin virtual table
The head node of a RDF computation graph.
RActionBase(RLoopManager *lm, const ColumnNames_t &colNames, const RColumnRegister &colRegister, const std::vector< std::string > &prevVariations)
A binder for user-defined columns, variations and aliases.
unsigned int GetNSlots()
Definition RDFUtils.cxx:283
std::vector< T > Union(const std::vector< T > &v1, const std::vector< T > &v2)
Return a vector with all elements of v1 and v2 and duplicates removed.
Definition Utils.hxx:266
std::vector< std::string > ColumnNames_t