ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_TdaqEnabledTestAlg.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
14
15#ifndef SCT_TdaqEnabledTestAlg_H
16#define SCT_TdaqEnabledTestAlg_H
17
18//Athena
21
22//Gaudi
23#include "GaudiKernel/ToolHandle.h"
24
25//STL
26#include <string>
27
30 public:
31 SCT_TdaqEnabledTestAlg(const std::string& name, ISvcLocator *pSvcLocator);
32 virtual ~SCT_TdaqEnabledTestAlg() = default;
33
34 virtual StatusCode initialize() override;
35 virtual StatusCode execute(const EventContext& ctx) const override;
36 virtual StatusCode finalize() override;
38 virtual bool isClonable() const override { return true; };
39
40 private:
41 ToolHandle<ISCT_ConditionsTool> m_pTdaqEnabledTool{this, "SCT_TdaqEnabledTool", "SCT_TdaqEnabledTool", "Tool to retrieve active/inactive SCT ROD information"};
42}; //end of class
43
44#endif // SCT_TdaqEnabledTestAlg_H
header file for baseclass of SCT conditions tools
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
virtual ~SCT_TdaqEnabledTestAlg()=default
virtual bool isClonable() const override
Make this algorithm clonable.
SCT_TdaqEnabledTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode finalize() override
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandle< ISCT_ConditionsTool > m_pTdaqEnabledTool