FCCAnalyses
Loading...
Searching...
No Matches
analyzers
dataframe
FCCAnalyses
Utils.h
Go to the documentation of this file.
1
#ifndef UTILS_ANALYZERS_H
2
#define UTILS_ANALYZERS_H
3
4
#include <cmath>
5
6
namespace
FCCAnalyses
{
7
namespace
Utils {
8
9
template
<
typename
T>
inline
auto
getsize
( T& vec){
return
vec.size();};
10
template
<
typename
T>
inline
ROOT::VecOps::RVec<ROOT::VecOps::RVec<T> >
as_vector
(
const
ROOT::VecOps::RVec<T>& in){
return
ROOT::VecOps::RVec<ROOT::VecOps::RVec<T> >(1, in);};
11
}
12
}
13
14
#endif
FCCAnalyses::Utils::getsize
auto getsize(T &vec)
Definition
Utils.h:9
FCCAnalyses::Utils::as_vector
ROOT::VecOps::RVec< ROOT::VecOps::RVec< T > > as_vector(const ROOT::VecOps::RVec< T > &in)
Definition
Utils.h:10
FCCAnalyses
FCC analyzers collection.
Definition
Algorithms.h:15
Generated by
1.11.0