11#include <tracking/trackFindingCDC/rootification/StoreWrapper.h>
12#include <framework/datastore/StoreObjPtr.h>
20 namespace TrackFindingCDC {
EStoreFlags
Flags describing behaviours of objects etc.
@ c_DontWriteOut
Object/array should be NOT saved by output modules.
@ c_ErrorIfAlreadyRegistered
If the object/array was already registered, produce an error (aborting initialisation).
EDurability
Durability types.
@ c_Event
Different object in each event, all objects/arrays are invalidated after event() function has been ca...
Type-safe access to single objects in the data store.
This class is for convenience access and registration of objects, that are stored inside the StoreWra...
T & operator*() const
Dereference to the wrapped object.
bool registerInDataStore(DataStore::EStoreFlags storeFlags=DataStore::c_DontWriteOut|DataStore::c_ErrorIfAlreadyRegistered)
Register the object/array in the DataStore.
StoreWrappedObjPtr(const std::string &name="", DataStore::EDurability durability=DataStore::c_Event)
Constructor to access an object in the DataStore.
T * operator->() const
Forward pointer access to the wrapped object.
bool registerInDataStore(const std::string &name, DataStore::EStoreFlags storeFlags=DataStore::c_DontWriteOut|DataStore::c_ErrorIfAlreadyRegistered)
Register the object/array in the DataStore.
This template functions as a wrapper for objects that do not inherit from TObject to be put on the Da...
Abstract base class for different kinds of events.