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 extraConversions =
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 {};
106struct IsRVec_t<
ROOT::VecOps::RVec<T>> :
public std::true_type {};
112 using value_type =
typename T::value_type;
116struct ValueType<
T, false> {
117 using value_type =
T;
121struct ValueType<
ROOT::VecOps::RVec<T>, false> {
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 colmnar datasets such as TTree,...
A TTree object has a header with a name and a title.
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...
std::string ColumnName2ColumnTypeName(const std::string &colName, unsigned int namespaceID, TTree *tree, RDataSource *ds, bool isCustomColumn, bool vector2tvec, unsigned int customColID)
Return a string containing the type of the given branch.
ROOT type_traits extensions.
Namespace for new ROOT classes and functions.
ROOT::Detail::RDF::ColumnNames_t ColumnNames_t
Lightweight storage for a collection of types.