Utility functions for handling input and parameter objects in TEventCollection. More...
#include <type_traits>#include <variant>#include <TClonesArray.h>#include <TEventCollection.h>#include <TString.h>Go to the source code of this file.
Namespaces | |
| namespace | art |
| namespace | art::crib |
| namespace | art::crib::util |
Functions | |
| template<typename T > | |
| std::enable_if_t< std::is_base_of_v< TObject, T >, std::variant< T **, TString > > | art::crib::util::GetInputObject (TEventCollection *col, const TString &name, const TString &expectedTypeName, const TString &elementTypeName="TObject") |
| Retrieve an object from TEventCollection with type validation. | |
| template<typename T > | |
| std::enable_if_t< std::is_base_of_v< TObject, T >, std::variant< T *, TString > > | art::crib::util::GetParameterObject (TEventCollection *col, const TString &name, const TString &expectedTypeName, const TString &elementTypeName="art::TParameterObject") |
| Retrieves a parameter object from a TEventCollection. | |
Utility functions for handling input and parameter objects in TEventCollection.
Definition in file TProcessorUtil.h.