1 #ifndef GAUDIALG_GaudiAlgorithm_H
2 #define GAUDIALG_GaudiAlgorithm_H 1
11 #include "GaudiKernel/Algorithm.h"
15 #include "GaudiAlg/GaudiAlg.h"
16 #include "GaudiAlg/GaudiCommon.h"
166 const std::string& address ,
167 const bool useRootInTES =
true )
const
204 const std::string& address ,
205 const bool useRootInTES =
true )
const
242 template <
class TYPE >
245 const std::string& location ,
246 const bool useRootInTES = true )
const
284 template <
class TYPE >
287 const std::string& location ,
288 const bool useRootInTES =
true )
const
319 template <
class TYPE >
321 get (
const std::string& location,
322 const bool useRootInTES = true )
const
359 template <
class TYPE >
362 const bool useRootInTES =
true )
const
385 template <
class TYPE >
387 const std::string& location )
const
414 template <
class TYPE >
417 const std::string& location )
const
439 template <
class TYPE >
440 inline TYPE*
getDet (
const std::string& location )
const
466 template <
class TYPE >
499 template <
class TYPE >
501 const std::string& location ,
502 const bool useRootInTES =
true )
const
532 template <
class TYPE >
533 inline bool exist (
const std::string& location ,
534 const bool useRootInTES =
true )
const
555 template <
class TYPE >
557 const std::string& location )
const
577 template <
class TYPE >
578 inline bool existDet (
const std::string& location )
const
610 template <
class TYPE ,
class TYPE2 >
613 const std::string& location ,
614 const bool useRootInTES =
true )
const
645 template <
class TYPE ,
class TYPE2 >
648 const bool useRootInTES =
true )
const
684 std::vector<std::string> m_vetoObjs;
693 #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.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
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.
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.
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.
Gaudi::Utils::GetData< TYPE >::return_type getDetIfExists(const std::string &location) const
Templated access to the detector data from the Gaudi Detector Transient Store.
std::vector< std::string > m_requireObjs
process the event only if one or more of these objects are present in TES
This class is used for returning status codes from appropriate routines.
SmartIF< INTupleSvc > m_evtColSvc
Event Tag Collection Service.
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.
GaudiCommon & operator=(const GaudiCommon &)=delete
Implements the common functionality between GaudiTools and GaudiAlgorithms.
A DataObject is the base class of any identifiable object on any data store.
SmartIF< SERVICE > svc(const std::string &name, const bool create=true) const
A useful method for the easy location of services.