1 #ifndef GAUDIALG_GaudiAlgorithm_H
2 #define GAUDIALG_GaudiAlgorithm_H 1
168 const bool useRootInTES =
true )
const
206 const bool useRootInTES =
true )
const
243 template <
class TYPE >
247 const bool useRootInTES = true )
const
285 template <
class TYPE >
289 const bool useRootInTES =
true )
const
320 template <
class TYPE >
323 const bool useRootInTES = true )
const
360 template <
class TYPE >
363 const bool useRootInTES =
true )
const
386 template <
class TYPE >
415 template <
class TYPE >
440 template <
class TYPE >
467 template <
class TYPE >
500 template <
class TYPE >
503 const bool useRootInTES =
true )
const
533 template <
class TYPE >
535 const bool useRootInTES =
true )
const
556 template <
class TYPE >
578 template <
class TYPE >
611 template <
class TYPE ,
class TYPE2 >
615 const bool useRootInTES =
true )
const
646 template <
class TYPE ,
class TYPE2 >
649 const bool useRootInTES =
true )
const
701 (
const_cast<GaudiAlgorithm*
>(
this))->Algorithm::declareInput(&hndl);
705 (
const_cast<GaudiAlgorithm*
>(
this))->Algorithm::declareOutput(&hndl);
708 if (hndl.
owner() == 0) {
709 hndl.
setOwner((const_cast<GaudiAlgorithm*>(
this)));
712 return m_propertyMgr->declareProperty(name, hndl, doc);
719 #endif // GAUDIALG_GaudiAlgorithm_H
bool exist(const std::string &location, const bool useRootInTES=true) const
Check the existence of a data object or container in the Gaudi Transient Event Store.
void put(IDataProviderSvc *svc, DataObject *object, const std::string &address, const bool useRootInTES=true) const
Register a data object or container into Gaudi Event Transient Store.
SmartIF< INTupleSvc > m_evtColSvc
Event Tag Collection Service.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
virtual void setOwner(IDataHandleHolder *o)
DataObject * put(IDataProviderSvc *svc, DataObject *object, const std::string &location, const bool useRootInTES=true) const
Register a data object or container into Gaudi Event Transient Store.
Gaudi::Utils::GetData< TYPE >::return_type getOrCreate(const std::string &location, const bool useRootInTES=true) const
Get the existing data object from Gaudi Event Transient store.
virtual Mode mode() const
TYPE * getDet(IDataProviderSvc *svc, const std::string &location) const
Templated access to the detector data from the Gaudi Detector Transient Store.
bool exist(IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
Check the existence of a data object or container in the Gaudi Transient Event Store.
Property * declareProperty(const std::string &name, T &property, const std::string &doc="none") const
Declare the named property.
TYPE * getDet(const std::string &location) const
Templated access to the detector data from the Gaudi Detector Transient Store.
Helper structure for implementation of "get"-functions for GaudiCommon
StatusCode finalize() override
standard finalization method
Data provider interface definition.
bool existDet(const std::string &location) const
Check the existence of detector objects in the Gaudi Transient Detector Store.
Gaudi::Utils::GetData< TYPE >::return_type getIfExists(const std::string &location, const bool useRootInTES=true) const
Templated access to the data in Gaudi Transient Store.
bool existDet(IDataProviderSvc *svc, const std::string &location) const
Check the existence of detector objects in the Gaudi Transient Detector Store.
Gaudi::Utils::GetData< TYPE >::return_type getDetIfExists(IDataProviderSvc *svc, const std::string &location) const
Templated access to the detector data from the Gaudi Detector Transient Store.
DataObjectHandle.h GaudiKernel/DataObjectHandle.h.
Gaudi::Utils::GetData< TYPE >::return_type getDetIfExists(const std::string &location) const
Templated access to the detector data from the Gaudi Detector Transient Store.
This class is used for returning status codes from appropriate routines.
Gaudi::Utils::GetData< TYPE >::return_type getIfExists(IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
Templated access to the data in Gaudi Transient Store.
The useful base class for data processing algorithms.
void put(DataObject *object, const std::string &address, const bool useRootInTES=true) const
Register a data object or container into Gaudi Event Transient Store.
StatusCode initialize() override
standard initialization method
Gaudi::Utils::GetData< TYPE >::return_type getOrCreate(IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const
Get the existing data object from Gaudi Event Transient store.
Property base class allowing Property* collections to be "homogeneous".
GaudiCommon & operator=(const GaudiCommon &)=delete
Implements the common functionality between GaudiTools and GaudiAlgorithms.
std::vector< std::string > m_requireObjs
process the event only if one or more of these objects are present in TES
A DataObject is the base class of any identifiable object on any data store.
virtual IDataHandleHolder * owner() const
SmartIF< SERVICE > svc(const std::string &name, const bool create=true) const
A useful method for the easy location of services.