ATLAS Offline Software
Loading...
Searching...
No Matches
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
20 using AthCondAlgorithm::AthCondAlgorithm;
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
28 private:
29 SG::ReadCondHandleKey<CondAttrListCollection> m_BCInputKey{this,"ReadKey","/LAR/BadChannelsOfl/BadChannels",
30 "Key of input CDO (AttrListCollection)"};
31 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","Key of cabling CDO"};
32 SG::WriteCondHandleKey<LArBadChannelCont> m_BCOutputKey{this,"WriteKey","LArBadChannel","Key of output CDO"};
33 Gaudi::Property<std::string> m_inputFileName{this,"InputFileName","",
34 "Optional file containing (supplemental) bad channels"};
35 Gaudi::Property<bool> m_isSC{this,"isSC",false,"Set to true to interpret the identifiers in the InputFile as SuperCell IDs"};
36 Gaudi::Property<bool> m_reloadEveryEvent{this,"ReloadEveryEvent",false,"Set to true to force DB-cache to be cleared - necessary if running online"};
37
38};
39
40
41
42#endif
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Base class for conditions algorithms.
Gaudi::Property< bool > m_reloadEveryEvent
virtual StatusCode execute(const EventContext &ctx) const override final
virtual StatusCode finalize() override final
Gaudi::Property< bool > m_isSC
Gaudi::Property< std::string > m_inputFileName
SG::WriteCondHandleKey< LArBadChannelCont > m_BCOutputKey
SG::ReadCondHandleKey< CondAttrListCollection > m_BCInputKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual StatusCode initialize() override final
virtual ~LArBadChannelCondAlg()=default