Tracks art handle objects. More...
#include <ArtHandleTrackerManager.h>
Public Member Functions | |
ArtHandleTracker (Event const &event, Handle handle) | |
Constructor: records all the needed information. More... | |
Handle const & | handle () const |
Returns the tracked handle. More... | |
art::Provenance const * | provenance () const |
Returns the provenance information of the handle. More... | |
Public Member Functions inherited from util::ArtHandleTrackerInterface< Event > | |
virtual | ~ArtHandleTrackerInterface ()=default |
Virtual destructor (does nothing). More... | |
bool | removeCachedProduct () |
std::any | handlePtr () const |
Returns a container for a pointer to the managed handle. Caveat emptor. More... | |
std::string | productClass () const |
Returns the name of the class of handled data product. More... | |
std::type_info const * | productType () const |
Returns the name of the class of handled data product. More... | |
art::InputTag | inputTag () const |
Returns the tag of handled data product. More... | |
bool | hasSameDataProduct (util::ArtHandleTrackerInterface< Event > const &other) const |
Returns whether this and the other objects handle the same data product. More... | |
Private Member Functions | |
Virtual method implementation | |
virtual bool | doRemoveCachedProduct () override |
Actually removes the cache. More... | |
virtual std::any | doHandlePtr () const override |
Returns a pointer to the managed handle, wrapped in std::any . More... | |
virtual std::string | doProductClass () const override |
Returns the name of the class pointed by the handle. More... | |
virtual std::type_info const * | doProductType () const override |
Returns the C++ type of the handled data product. More... | |
virtual art::InputTag | doInputTag () const override |
Private Attributes | |
Event const * | fEvent = nullptr |
Handle | fHandle |
Additional Inherited Members |
Tracks art handle objects.
Handle | type of handle being tracked |
util::ArtHandleTrackerManager
class should mitigate the hassle deriving from this limitation. Definition at line 650 of file ArtHandleTrackerManager.h.
|
inline |
Constructor: records all the needed information.
Definition at line 766 of file ArtHandleTrackerManager.h.
|
inlineoverrideprivatevirtual |
Returns a pointer to the managed handle, wrapped in std::any
.
Implements util::ArtHandleTrackerInterface< Event >.
Definition at line 744 of file ArtHandleTrackerManager.h.
|
inlineoverrideprivatevirtual |
Returns the input tag of the handled data product. Deferred implementation of inputTag()
.
Implements util::ArtHandleTrackerInterface< Event >.
Definition at line 757 of file ArtHandleTrackerManager.h.
|
inlineoverrideprivatevirtual |
Returns the name of the class pointed by the handle.
Implements util::ArtHandleTrackerInterface< Event >.
Definition at line 748 of file ArtHandleTrackerManager.h.
|
inlineoverrideprivatevirtual |
Returns the C++ type of the handled data product.
Implements util::ArtHandleTrackerInterface< Event >.
Definition at line 752 of file ArtHandleTrackerManager.h.
|
inlineoverrideprivatevirtual |
Actually removes the cache.
Implements util::ArtHandleTrackerInterface< Event >.
Definition at line 735 of file ArtHandleTrackerManager.h.
|
inline |
|
inline |
Returns the provenance information of the handle.
Definition at line 773 of file ArtHandleTrackerManager.h.
|
private |
Definition at line 726 of file ArtHandleTrackerManager.h.
|
private |
Definition at line 728 of file ArtHandleTrackerManager.h.