ATLAS Offline Software
LArBadChannelCondAlg.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef LARBADCHANNELCONDALG_H
8 #define LARBADCHANNELCONDALG_H
9 
16 
18  public:
19  //Delegate to base-class ctor
21 
22  virtual ~LArBadChannelCondAlg()=default;
23 
24  virtual StatusCode initialize() override final;
25  virtual StatusCode execute(const EventContext& ctx) const override final;
26  virtual StatusCode finalize() override final {return StatusCode::SUCCESS;}
27  virtual bool isReEntrant() const override final { return false; }
28 
29  private:
30  SG::ReadCondHandleKey<CondAttrListCollection> m_BCInputKey{this,"ReadKey","/LAR/BadChannelsOfl/BadChannels",
31  "Key of input CDO (AttrListCollection)"};
32  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","Key of cabling CDO"};
33  SG::WriteCondHandleKey<LArBadChannelCont> m_BCOutputKey{this,"WriteKey","LArBadChannel","Key of output CDO"};
34  Gaudi::Property<std::string> m_inputFileName{this,"InputFileName","",
35  "Optional file containing (supplemental) bad channels"};
36  Gaudi::Property<bool> m_isSC{this,"isSC",false,"Set to true to interpret the identifiers in the InputFile as SuperCell IDs"};
37  Gaudi::Property<bool> m_reloadEveryEvent{this,"ReloadEveryEvent",false,"Set to true to force DB-cache to be cleared - necessary if running online"};
38 
39 };
40 
41 
42 
43 #endif
LArBadChannelCondAlg::m_inputFileName
Gaudi::Property< std::string > m_inputFileName
Definition: LArBadChannelCondAlg.h:34
LArBadChannelCondAlg
Definition: LArBadChannelCondAlg.h:17
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArBadChannelCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: LArBadChannelCondAlg.h:27
LArBadChannelCondAlg::m_isSC
Gaudi::Property< bool > m_isSC
Definition: LArBadChannelCondAlg.h:36
WriteCondHandleKey.h
LArBadChannelCondAlg::m_BCOutputKey
SG::WriteCondHandleKey< LArBadChannelCont > m_BCOutputKey
Definition: LArBadChannelCondAlg.h:33
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArBadChannelCont.h
LArOnOffIdMapping.h
LArBadChannelCondAlg::initialize
virtual StatusCode initialize() override final
Definition: LArBadChannelCondAlg.cxx:12
LArBadChannelCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: LArBadChannelCondAlg.cxx:22
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArBadChannelCondAlg::~LArBadChannelCondAlg
virtual ~LArBadChannelCondAlg()=default
LArBadChannelCondAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArBadChannelCondAlg.h:32
LArBadChannelCondAlg::m_reloadEveryEvent
Gaudi::Property< bool > m_reloadEveryEvent
Definition: LArBadChannelCondAlg.h:37
ReadCondHandleKey.h
AthReentrantAlgorithm.h
LArBadChannelCondAlg::finalize
virtual StatusCode finalize() override final
Definition: LArBadChannelCondAlg.h:26
SG::ReadCondHandleKey< CondAttrListCollection >
SG::WriteCondHandleKey
Definition: WriteCondHandleKey.h:20
LArBadChannelCondAlg::m_BCInputKey
SG::ReadCondHandleKey< CondAttrListCollection > m_BCInputKey
Definition: LArBadChannelCondAlg.h:30