FCCAnalyses
Loading...
Searching...
No Matches
Utils.h
Go to the documentation of this file.
1#ifndef UTILS_ANALYZERS_H
2#define UTILS_ANALYZERS_H
3
4#include <cmath>
5
6namespace 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
auto getsize(T &vec)
Definition Utils.h:9
ROOT::VecOps::RVec< ROOT::VecOps::RVec< T > > as_vector(const ROOT::VecOps::RVec< T > &in)
Definition Utils.h:10
FCC analyzers collection.
Definition Algorithms.h:15