1 #ifndef _sbncode_DynamicSelector_hh
2 #define _sbncode_DynamicSelector_hh
7 #include "../uScript/value.h"
8 #include "../Data/RecoEvent.h"
12 using TrackFunction = std::function<uscript::Value (const numu::RecoTrack *, const numu::TrueParticle *, const unsigned *)>;
13 using TrackSelector = std::function<bool (const numu::RecoTrack &, const numu::TrueParticle &, const unsigned &)>;
std::function< bool(const numu::RecoTrack &, const numu::TrueParticle &, const unsigned &)> TrackSelector
S join(S const &sep, Coll const &s)
Returns a concatenation of strings in s separated by sep.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
std::vector< TrackSelector > MultiplyTrackSelectors(const std::vector< std::vector< std::string >> &track_function_strings)
std::function< uscript::Value(const numu::RecoTrack *, const numu::TrueParticle *, const unsigned *)> TrackFunction
std::vector< std::string > MultiplyNames(const std::vector< std::vector< std::string >> &strings, char join='_')