40class RCustomColumnBase;
57struct IsVector_t :
public std::false_type {};
59template <
typename T,
typename A>
60struct IsVector_t<std::vector<T, A>> :
public std::true_type {};
67 bool isCustomColumn,
bool vector2rvec =
true,
unsigned int customColID = 0);
74template <
bool MustRemove,
typename TypeList>
75struct RemoveFirstParameterIf {
79template <
typename TypeList>
80struct RemoveFirstParameterIf<true,
TypeList> {
81 using type = RemoveFirstParameter_t<TypeList>;
84template <
bool MustRemove,
typename TypeList>
87template <
bool MustRemove,
typename TypeList>
88struct RemoveFirstTwoParametersIf {
92template <
typename TypeList>
93struct RemoveFirstTwoParametersIf<true,
TypeList> {
98template <
bool MustRemove,
typename TypeList>
103struct IsRVec_t :
public std::false_type {};
112 using value_type =
typename T::value_type;
116struct ValueType<
T, false> {
117 using value_type =
T;
122 using value_type =
T;
129void Erase(
const T &that, std::vector<T> &
v)
131 v.erase(std::remove(
v.begin(),
v.end(), that),
v.end());
RDataSource defines an API that RDataFrame can use to read arbitrary data formats.
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
A TTree represents a columnar dataset.
ROOT::VecOps::RVec< T > RVec
std::vector< std::string > ReplaceDotWithUnderscore(const std::vector< std::string > &columnNames)
Replace occurrences of '.
const std::type_info & TypeName2TypeID(const std::string &name)
Return the type_info associated to a name.
char TypeName2ROOTTypeName(const std::string &b)
Convert type name (e.g.
std::string TypeID2TypeName(const std::type_info &id)
Returns the name of a type starting from its type_info An empty string is returned in case of failure...
Long64_t InterpreterCalc(const std::string &code, const std::string &context)
std::string ColumnName2ColumnTypeName(const std::string &colName, unsigned int namespaceID, TTree *tree, RDataSource *ds, bool isCustomColumn, bool vector2rvec, unsigned int customColID)
Return a string containing the type of the given branch.
void InterpreterDeclare(const std::string &code)
ROOT type_traits extensions.
ROOT::Detail::RDF::ColumnNames_t ColumnNames_t
Lightweight storage for a collection of types.