Simple class that adds an entry to the Transient Event Store to record that the processing flow triggered its execution.
More...
|
StatusCode | initialize () override |
| Algorithm initialization. More...
|
|
StatusCode | execute () override |
| Algorithm execution. More...
|
|
StatusCode | finalize () override |
| Algorithm finalization. More...
|
|
| GaudiAlgorithm (const std::string &name, ISvcLocator *pSvcLocator) |
| Standard constructor. More...
|
|
| GaudiAlgorithm (const GaudiAlgorithm &)=delete |
|
StatusCode | initialize () override |
| standard initialization method More...
|
|
StatusCode | execute () override |
| standard execution method More...
|
|
StatusCode | finalize () override |
| standard finalization method More...
|
|
StatusCode | sysExecute (const EventContext &ctx) override |
| the generic actions for the execution. More...
|
|
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. More...
|
|
void | put (IDataProviderSvc *svc, std::unique_ptr< DataObject > object, const std::string &address, const bool useRootInTES=true) const |
|
const DataObject * | put (DataObject *object, const std::string &address, const bool useRootInTES=true) const |
| Register a data object or container into Gaudi Event Transient Store. More...
|
|
const DataObject * | put (std::unique_ptr< DataObject > object, const std::string &address, const bool useRootInTES=true) const |
|
template<class TYPE > |
Gaudi::Utils::GetData< TYPE >::return_type | get (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Templated access to the data in Gaudi Transient Store. More...
|
|
template<class TYPE > |
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. More...
|
|
template<class TYPE > |
Gaudi::Utils::GetData< TYPE >::return_type | get (const std::string &location, const bool useRootInTES=true) const |
| Templated access to the data from Gaudi Event Transient Store. More...
|
|
template<class TYPE > |
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. More...
|
|
template<class TYPE > |
TYPE * | getDet (IDataProviderSvc *svc, const std::string &location) const |
| Templated access to the detector data from the Gaudi Detector Transient Store. More...
|
|
template<class TYPE > |
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. More...
|
|
template<class TYPE > |
TYPE * | getDet (const std::string &location) const |
| Templated access to the detector data from the Gaudi Detector Transient Store. More...
|
|
template<class TYPE > |
Gaudi::Utils::GetData< TYPE >::return_type | getDetIfExists (const std::string &location) const |
| Templated access to the detector data from the Gaudi Detector Transient Store. More...
|
|
template<class TYPE > |
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. More...
|
|
template<class TYPE > |
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. More...
|
|
template<class TYPE > |
bool | existDet (IDataProviderSvc *svc, const std::string &location) const |
| Check the existence of detector objects in the Gaudi Transient Detector Store. More...
|
|
template<class TYPE > |
bool | existDet (const std::string &location) const |
| Check the existence of detector objects in the Gaudi Transient Detector Store. More...
|
|
template<class TYPE , class TYPE2 > |
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. More...
|
|
template<class TYPE , class TYPE2 > |
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. More...
|
|
| GaudiAlgorithm (const std::string &name, ISvcLocator *pSvcLocator) |
| Standard constructor. More...
|
|
| GaudiAlgorithm (const GaudiAlgorithm &)=delete |
|
GaudiAlgorithm & | operator= (const GaudiAlgorithm &)=delete |
|
SmartIF< INTupleSvc > & | evtColSvc () const |
| Access the standard event collection service. More...
|
|
Gaudi::Utils::GetData< TYPE >::return_type | get (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Templated access to the data in Gaudi Transient Store. More...
|
|
Gaudi::Utils::GetData< TYPE >::return_type | getIfExists (IDataProviderSvc *svc, const std::string &location, const bool useRootInTES=true) const |
| Quicker version of the get function which bypasses the check on the retrieved data. More...
|
|
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. More...
|
|
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. More...
|
|
DataObject * | put (IDataProviderSvc *svc, std::unique_ptr< DataObject > object, const std::string &location, const bool useRootInTES=true) const |
| Register a data object or container into Gaudi Event Transient Store. More...
|
|
DataObject * | put (IDataProviderSvc *svc, DataObject *object, const std::string &location, const bool useRootInTES=true) const |
|
TOOL * | tool (const std::string &type, const std::string &name, const IInterface *parent=0, bool create=true) const |
| Useful method for the easy location of tools. More...
|
|
TOOL * | tool (const std::string &type, const IInterface *parent=0, bool create=true) const |
| A useful method for the easy location of tools. More...
|
|
SmartIF< SERVICE > | svc (const std::string &name, const bool create=true) const |
| A useful method for the easy location of services. More...
|
|
IUpdateManagerSvc * | updMgrSvc () const |
| Short-cut to locate the Update Manager Service. More...
|
|
WARN_UNUSED StatusCode | Error (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const |
| Print the error message and return with the given StatusCode. More...
|
|
WARN_UNUSED StatusCode | Warning (const std::string &msg, const StatusCode st=StatusCode::FAILURE, const size_t mx=10) const |
| Print the warning message and return with the given StatusCode. More...
|
|
WARN_UNUSED StatusCode | Info (const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const size_t mx=10) const |
| Print the info message and return with the given StatusCode. More...
|
|
WARN_UNUSED StatusCode | Print (const std::string &msg, const StatusCode st=StatusCode::SUCCESS, const MSG::Level lev=MSG::INFO) const |
| Print the message and return with the given StatusCode. More...
|
|
void | Assert (const bool ok, const std::string &message="", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Assertion - throw exception if the given condition is not fulfilled. More...
|
|
void | Assert (const bool ok, const char *message, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Assertion - throw exception if the given condition is not fulfilled. More...
|
|
void | Exception (const std::string &msg, const GaudiException &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Create and (re)-throw a given GaudiException. More...
|
|
void | Exception (const std::string &msg, const std::exception &exc, const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Create and (re)-throw a given exception. More...
|
|
void | Exception (const std::string &msg="no message", const StatusCode sc=StatusCode(StatusCode::FAILURE, true)) const |
| Create and throw an exception with the given message. More...
|
|
StatEntity & | counter (const std::string &tag) const |
| accessor to certain counter by name More...
|
|
StatEntity & | counter (const std::string &tag) |
|
bool | typePrint () const |
| Insert the actual C++ type of the algorithm/tool in the messages ? More...
|
|
bool | propsPrint () const |
| Print properties at initialization ? More...
|
|
bool | statPrint () const |
| Print statistical counters at finalization ? More...
|
|
bool | errorsPrint () const |
| Print error counters at finalization ? More...
|
|
long | printStat (const MSG::Level level=MSG::ALWAYS) const |
| perform the actual printout of statistical counters More...
|
|
long | printErrors (const MSG::Level level=MSG::ALWAYS) const |
| perform the actual printout of error counters More...
|
|
long | printProps (const MSG::Level level=MSG::ALWAYS) const |
| perform the actual printout of properties More...
|
|
void | registerCondition (const std::string &condition, StatusCode(CallerClass::*mf)()=nullptr) |
| register the current instance to the UpdateManagerSvc as a consumer for a condition. More...
|
|
void | registerCondition (const std::string &condition, CondType *&condPtrDest, StatusCode(CallerClass::*mf)()=NULL) |
| register the current instance to the UpdateManagerSvc as a consumer for a condition. More...
|
|
void | registerCondition (char *condition, StatusCode(CallerClass::*mf)()=NULL) |
| just to avoid conflicts with the version using a pointer to a template class. More...
|
|
void | registerCondition (TargetClass *condition, StatusCode(CallerClass::*mf)()=NULL) |
| register the current instance to the UpdateManagerSvc as a consumer for a condition. More...
|
|
StatusCode | runUpdate () |
| asks the UpdateManagerSvc to perform an update of the instance (if needed) without waiting the next BeginEvent incident. More...
|
|
| GaudiCommon (const std::string &name, ISvcLocator *pSvcLocator) |
| Algorithm constructor - the SFINAE constraint below ensures that this is constructor is only defined if PBASE derives from Algorithm. More...
|
|
| GaudiCommon (const std::string &type, const std::string &name, const IInterface *ancestor) |
| Tool constructor - SFINAE-ed to insure this constructor is only defined if PBASE derives from AlgTool. More...
|
|
StatusCode | initialize () override |
| standard initialization method More...
|
|
StatusCode | finalize () override |
| standard finalization method More...
|
|
StatusCode | release (const IInterface *interface) const |
| Manual forced (and 'safe') release of the active tool or service. More...
|
|
const Services & | services () const |
| get the list of aquired services More...
|
|
const std::string & | context () const |
| Returns the "context" string. Used to identify different processing states. More...
|
|
template<typename U = BASE, typename = std::enable_if_t<std::is_base_of_v<Gaudi::Algorithm, BASE>, U>> |
| FixTESPath (const std::string &name, ISvcLocator *pSvcLocator) |
| Algorithm constructor - the SFINAE constraint below ensures that this is constructor is only defined if BASE derives from Algorithm. More...
|
|
template<typename U = BASE, typename = std::enable_if_t<std::is_base_of_v<AlgTool, BASE>, U>> |
| FixTESPath (const std::string &type, const std::string &name, const IInterface *ancestor) |
| Tool constructor - SFINAE-ed to insure this constructor is only defined if BASE derives from AlgTool. More...
|
|
StatusCode | initialize () override |
|
const std::string & | rootInTES () const |
| Returns the "rootInTES" string. More...
|
|
std::string | fullTESLocation (std::string_view location, bool useRootInTES) const |
| Returns the full correct event location given the rootInTes settings. More...
|
|
Simple class that adds an entry to the Transient Event Store to record that the processing flow triggered its execution.
The main use case is to replace OutputStream instances appearing in the normal processing flow of workers in GaudiMP jobs. The information is then passed to the writer process where an instance of ReplayOutputStream
will trigger the actual writing.
- Author
- Marco Clemencic
- Date
- 30/08/2013
Definition at line 20 of file RecordOutputStream.h.