3 #ifndef GAUDIALG_GaudiAlgorithm_H
4 #define GAUDIALG_GaudiAlgorithm_H 1
168 const std::string& address ,
169 const bool useRootInTES =
true )
const
206 const std::string& address ,
207 const bool useRootInTES =
true )
const
244 template <
class TYPE >
247 const std::string& location ,
248 const bool useRootInTES = true )
const
286 template <
class TYPE >
289 const std::string& location ,
290 const bool useRootInTES =
true )
const
321 template <
class TYPE >
323 get (
const std::string& location,
324 const bool useRootInTES = true )
const
361 template <
class TYPE >
364 const bool useRootInTES =
true )
const
387 template <
class TYPE >
389 const std::string& location )
const
416 template <
class TYPE >
419 const std::string& location )
const
441 template <
class TYPE >
442 inline TYPE*
getDet (
const std::string& location )
const
468 template <
class TYPE >
501 template <
class TYPE >
503 const std::string& location ,
504 const bool useRootInTES =
true )
const
534 template <
class TYPE >
535 inline bool exist (
const std::string& location ,
536 const bool useRootInTES =
true )
const
557 template <
class TYPE >
559 const std::string& location )
const
579 template <
class TYPE >
580 inline bool existDet (
const std::string& location )
const
612 template <
class TYPE ,
class TYPE2 >
615 const std::string& location ,
616 const bool useRootInTES =
true )
const
647 template <
class TYPE ,
class TYPE2 >
650 const bool useRootInTES =
true )
const
689 std::vector<std::string> m_vetoObjs;
698 #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...
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.
GaudiCommon & operator=(const GaudiCommon &)
virtual StatusCode finalize()
standard finalization method
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
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.
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.
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.
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
virtual StatusCode initialize()
standard initialization method
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.