ATLAS Offline Software
Loading...
Searching...
No Matches
TileBadChannelsCondAlg.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef TILECONDITIONS_TILEBADCHANNELSCONDALG_H
8#define TILECONDITIONS_TILEBADCHANNELSCONDALG_H
9
10// Tile includes
17
18// Athena includes
22
23// Gaudi includes
24#include "GaudiKernel/ToolHandle.h"
25
30
32 public:
33
34 TileBadChannelsCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
36
37 virtual StatusCode initialize() override;
38 virtual StatusCode execute(const EventContext& ctx) const override;
39 virtual StatusCode finalize() override {return StatusCode::SUCCESS;}
40
41 private:
42
46 ToolHandle<ITileCondProxy<TileCalibDrawerBch> > m_onlBchProxy{this, "OnlBchProxy", "",
47 "Tile online bad channels proxy tool"};
48
52 ToolHandle<ITileCondProxy<TileCalibDrawerBch> > m_oflBchProxy{this, "OflBchProxy", "",
53 "Tile offline bad channels proxy tool"};
54
58 SG::WriteCondHandleKey<TileBadChannels> m_badChannelsKey{this, "TileBadChannels", "TileBadChannels",
59 "Output Tile bad channels status"};
60
65 "TileCablingSvc", "TileCablingSvc", "The Tile cabling service" };
66
67 ToolHandle<TileCondIdTransforms> m_tileIdTrans{this, "TileCondIdTransforms", "TileCondIdTransforms",
68 "Tile Id transform helper"};
69
70 std::vector<const TileBchDecoder*> m_tileBchDecoder;
71
72
73 bool m_useOnlBch{true};
74 bool m_useOflBch{true};
75};
76
77
78#endif // TILECONDITIONS_TILEBADCHANNELSCONDALG_H
Base class for conditions algorithms.
Base class for conditions algorithms.
virtual StatusCode initialize() override
std::vector< const TileBchDecoder * > m_tileBchDecoder
SG::WriteCondHandleKey< TileBadChannels > m_badChannelsKey
Name of output TileBadChannels.
virtual StatusCode finalize() override
ToolHandle< ITileCondProxy< TileCalibDrawerBch > > m_onlBchProxy
Tool to provide online Tile bad channel status.
TileBadChannelsCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< ITileCondProxy< TileCalibDrawerBch > > m_oflBchProxy
Tool to provide ofline Tile bad channel status If it is provided online and offline Tile bad channel ...
ToolHandle< TileCondIdTransforms > m_tileIdTrans
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
virtual StatusCode execute(const EventContext &ctx) const override