ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TProcessorUtil.h File Reference

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>
Include dependency graph for TProcessorUtil.h:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Utility functions for handling input and parameter objects in TEventCollection.

Author
Kodai Okawaokawa.nosp@m.@cns.nosp@m..s.u-.nosp@m.toky.nosp@m.o.ac..nosp@m.jp
Date
2025-01-02 14:48:14
Note
last modified: 2025-03-05 18:34:27

Definition in file TProcessorUtil.h.

return to the guide