|
| MVAReader (const art::Event &evt, const art::InputTag &tag) |
|
std::vector< FeatureVector< N > > const & | outputs () const |
| Access the vector of the feature vectors. More...
|
|
std::array< float, N > | getOutput (size_t key) const |
| Get copy of the MVA output vector at index "key". More...
|
|
std::array< float, N > | getOutput (art::Ptr< T > const &item) const |
| Get copy of the MVA output vector idicated with art::Ptr::key(). More...
|
|
std::array< float, N > | getOutput (std::vector< art::Ptr< T > > const &items) const |
| Get MVA results accumulated over the vector of items (eg. over hits associated to a cluster). More...
|
|
std::array< float, N > | getOutput (std::vector< art::Ptr< T > > const &items, std::vector< float > const &weights) const |
|
std::array< float, N > | getOutput (std::vector< art::Ptr< T > > const &items, std::function< float(T const &)> fweight) const |
|
const std::string & | outputName (size_t index) const |
| Meaning/name of the index'th column in the collection of MVA output vectors. More...
|
|
| FVectorReader (const art::Event &evt, const art::InputTag &tag) |
|
T const & | item (size_t key) const |
| Access data product at index "key". More...
|
|
std::vector< T > const & | items () const |
|
std::vector< FeatureVector< N > > const & | vectors () const |
| Access the vector of the feature vectors. More...
|
|
std::array< float, N > | getVector (size_t key) const |
| Get copy of the feature vector at index "key". More...
|
|
std::array< float, N > | getVector (art::Ptr< T > const &item) const |
| Get copy of the feature vector idicated with art::Ptr::key(). More...
|
|
size_t | size () const |
| Get the number of contained items (no. of data product objects equal to no. of feature vectors). More...
|
|
size_t | length () const |
| Get the length of a single feature vector. More...
|
|
const std::string & | dataTag () const |
| Get the input tag (string representation) of data product used to calculate feature vectors. More...
|
|
const art::Handle< std::vector< T > > & | dataHandle () const |
| Access the data product handle. More...
|
|
const std::string & | columnName (size_t index) const |
| Meaning/name of the index'th column in the collection of feature vectors. More...
|
|
int | getIndex (const std::string &name) const |
| Index of column with given name, or -1 if name not found. More...
|
|
|
| FVectorReader (const art::Event &evt, const art::InputTag &tag, bool &success) |
| Not-throwing constructor. More...
|
|
std::string | getProductName (std::type_info const &ti) const |
|
size_t | getProductHash (std::type_info const &ti) const |
|
template<class T , size_t N> |
std::array< float, N > | pAccumulate (std::vector< art::Ptr< T > > const &items, std::vector< FeatureVector< N > > const &outs) const |
|
template<class T , size_t N> |
std::array< float, N > | pAccumulate (std::vector< art::Ptr< T > > const &items, std::vector< float > const &weights, std::vector< FeatureVector< N > > const &outs) const |
|
template<class T , size_t N> |
std::array< float, N > | pAccumulate (std::vector< art::Ptr< T > > const &items, std::function< float(T const &)> fweight, std::vector< FeatureVector< N > > const &outs) const |
|
template<class T , size_t N> |
std::array< float, N > | pAccumulate (std::vector< art::Ptr< T > > const &items, std::function< float(art::Ptr< T > const &)> fweight, std::vector< FeatureVector< N > > const &outs) const |
|
template<class T , size_t N> |
std::array< float, N > | pAccumulate (std::vector< art::Ptr< T > > const &items, std::vector< FeatureVector< N > > const &outs, std::array< char, N > const &mask) const |
|
template<class T, size_t N>
class anab::MVAReader< T, N >
Helper for reading the reconstructed objects of type T together with associated N-outputs MVA results with their metadata (this class is not a data product).
Definition at line 104 of file MVAReader.h.