 |
Belle II Software
release-05-01-25
|
13 #include <tracking/trackFindingCDC/rootification/StoreWrapper.h>
14 #include <framework/datastore/StoreObjPtr.h>
22 namespace TrackFindingCDC {
32 class StoreWrappedObjPtr :
public StoreObjPtr<StoreWrapper<T> > {
EStoreFlags
Flags describing behaviours of objects etc.
StoreWrappedObjPtr(const std::string &name="", DataStore::EDurability durability=DataStore::c_Event)
Constructor to access an object in the DataStore.
@ c_DontWriteOut
Object/array should be NOT saved by output modules.
T & operator*() const
Dereference to the wrapped object.
T * operator->() const
Forward pointer access to the wrapped object.
StoreObjPtr(const std::string &name="", DataStore::EDurability durability=DataStore::c_Event)
Constructor to access an object in the DataStore.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
bool registerInDataStore(DataStore::EStoreFlags storeFlags=DataStore::c_DontWriteOut|DataStore::c_ErrorIfAlreadyRegistered)
Register the object/array in the DataStore.
@ c_ErrorIfAlreadyRegistered
If the object/array was already registered, produce an error (aborting initialisation).
@ c_Event
Different object in each event, all objects/arrays are invalidated after event() function has been ca...
EDurability
Durability types.