The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
ContextEventCounter.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// Include files
13// from Gaudi
16
23class ContextEventCounterPtr final : public Algorithm {
24public:
26 StatusCode execute() override;
27 StatusCode finalize() override;
28private:
30};
31
32class ContextEventCounterData final : public Algorithm {
33public:
35 StatusCode execute() override;
36 StatusCode finalize() override;
37private:
39};
Gaudi::Hive::ContextSpecificData< int > m_ctxtSpecCounter
StatusCode finalize() override
Algorithm finalization.
StatusCode execute() override
Standard constructor.
StatusCode finalize() override
Algorithm finalization.
StatusCode execute() override
Standard constructor.
Gaudi::Hive::ContextSpecificPtr< int > m_ctxtSpecCounter
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
Implementation of a context specific storage accessible as a sort of smart reference class.
Simple implementation of a smart pointer with different values for different event contexts (slots).
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64