ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_ConfigurationConditionsTestAlg.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5*/
6
11
12#ifndef SCT_TestConfigConditions_H
13#define SCT_TestConfigConditions_H
14
15// Athena includes
18
19// Gaudi includes
20#include "GaudiKernel/ToolHandle.h"
21
22// C++ includes
23#include <string>
24
25// Forward declarations
26class SCT_ID;
27
31
33 public:
34 // Structors
35 SCT_ConfigurationConditionsTestAlg (const std::string& name, ISvcLocator* pSvcLocator);
37
38 // Standard Gaudi functions
39 virtual StatusCode initialize() override;
40 virtual StatusCode execute(const EventContext& ctx) const override;
41 virtual StatusCode finalize() override;
43 virtual bool isClonable() const override { return true; };
44
45 private:
46 ToolHandle<ISCT_ConfigurationConditionsTool> m_configConditions{this, "SCT_ConfigurationConditionsTool", "SCT_ConfigurationConditionsTool", "Tool to retrieve SCT DAQ configuration"};
47 const SCT_ID* m_sctId{nullptr};
48};
49
50#endif // SCT_TestConfigConditions_H
interface file for service that keeps track of configuration conditions
An algorithm that can be simultaneously executed in multiple threads.
SCT_ConfigurationConditionsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandle< ISCT_ConfigurationConditionsTool > m_configConditions
virtual bool isClonable() const override
Make this algorithm clonable.
virtual ~SCT_ConfigurationConditionsTestAlg()=default
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68