ATLAS Offline Software
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 
32  public:
33 
34  TileBadChannelsCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
36 
37  virtual StatusCode initialize() override;
38  virtual StatusCode execute() 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"};
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
TileCablingSvc.h
WriteCondHandleKey.h
TileBadChannelsCondAlg::finalize
virtual StatusCode finalize() override
Definition: TileBadChannelsCondAlg.h:39
TileBadChannelsCondAlg::m_oflBchProxy
ToolHandle< ITileCondProxy< TileCalibDrawerBch > > m_oflBchProxy
Tool to provide ofline Tile bad channel status If it is provided online and offline Tile bad channel ...
Definition: TileBadChannelsCondAlg.h:52
TileBadChannelsCondAlg
Condition algorithm to prepare TileBadChannels and put it into condition store.
Definition: TileBadChannelsCondAlg.h:31
AthAlgorithm.h
TileCalibDrawerBch.h
TileBadChannelsCondAlg::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition: TileBadChannelsCondAlg.h:64
TileBadChannelsCondAlg::m_tileBchDecoder
std::vector< const TileBchDecoder * > m_tileBchDecoder
Definition: TileBadChannelsCondAlg.h:70
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileBchDecoder.h
TileBadChannelsCondAlg::m_onlBchProxy
ToolHandle< ITileCondProxy< TileCalibDrawerBch > > m_onlBchProxy
Tool to provide online Tile bad channel status.
Definition: TileBadChannelsCondAlg.h:46
ITileCondProxy.h
TileBadChannelsCondAlg::m_useOnlBch
bool m_useOnlBch
Definition: TileBadChannelsCondAlg.h:73
AthAlgorithm
Definition: AthAlgorithm.h:47
TileBadChannelsCondAlg::~TileBadChannelsCondAlg
~TileBadChannelsCondAlg()
Definition: TileBadChannelsCondAlg.cxx:25
ReadCondHandleKey.h
TileCondIdTransforms.h
TileBadChannelsCondAlg::execute
virtual StatusCode execute() override
Definition: TileBadChannelsCondAlg.cxx:74
TileBadChannelsCondAlg::m_badChannelsKey
SG::WriteCondHandleKey< TileBadChannels > m_badChannelsKey
Name of output TileBadChannels.
Definition: TileBadChannelsCondAlg.h:58
TileBadChannelsCondAlg::m_tileIdTrans
ToolHandle< TileCondIdTransforms > m_tileIdTrans
Definition: TileBadChannelsCondAlg.h:67
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileBadChannelsCondAlg::initialize
virtual StatusCode initialize() override
Definition: TileBadChannelsCondAlg.cxx:34
TileBadChannelsCondAlg::TileBadChannelsCondAlg
TileBadChannelsCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileBadChannelsCondAlg.cxx:19
SG::WriteCondHandleKey< TileBadChannels >
TileBadChannels.h
TileBadChannelsCondAlg::m_useOflBch
bool m_useOflBch
Definition: TileBadChannelsCondAlg.h:74
ServiceHandle< TileCablingSvc >