The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
IncidentProcAlg.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
11#pragma once
12
13#include <Gaudi/Algorithm.h>
14#include <Gaudi/Property.h>
17
19public:
20 IncidentProcAlg( const std::string& name, ISvcLocator* pSvcLocator );
21
22 virtual ~IncidentProcAlg() {}
23
24 StatusCode initialize() override;
25 StatusCode execute( const EventContext& ctx ) const override;
26
27private:
29};
#define GAUDI_API
Definition Kernel.h:49
This class represents an entry point to all the event specific data.
Base class from which all concrete algorithm classes should be derived.
Definition Algorithm.h:87
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Definition Algorithm.h:175
const std::string & name() const override
The identifying name of the algorithm object.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition ISvcLocator.h:42
SmartIF< IIncidentSvc > m_incSvc
virtual ~IncidentProcAlg()
IncidentProcAlg(const std::string &name, ISvcLocator *pSvcLocator)
Small smart pointer class with automatic reference counting for IInterface.
Definition SmartIF.h:28
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64