ATLAS Offline Software
Loading...
Searching...
No Matches
RpcCondDbAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONCONDALG_RPCCONDDBALG_H
6#define MUONCONDALG_RPCCONDDBALG_H
7
8// STL includes
9#include <zlib.h>
10
11#include <sstream>
12#include <string>
13#include <vector>
14
15// Gaudi includes
16#include "GaudiKernel/ServiceHandle.h"
17
18// Athena includes
26
28public:
29 RpcCondDbAlg(const std::string &name, ISvcLocator *svc);
30 virtual ~RpcCondDbAlg() = default;
31 virtual StatusCode initialize() override;
32 virtual StatusCode execute(const EventContext &) const override;
33
34private:
35 template <class WriteCont>
36 StatusCode addCondDependency(const EventContext& ctx,
38 SG::WriteCondHandle<WriteCont>& writeHandle) const;
39
40 StatusCode loadMcElementStatus(const EventContext & ctx, RpcCondDbData& condData) const;
41
42
43 Gaudi::Property<bool> m_isData{this, "isData", false};
44
45 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
46
47 SG::WriteCondHandleKey<RpcCondDbData> m_writeKey{this, "WriteKey", "RpcCondDbData", "Key of output RPC condition data"};
48
50 "Key of input RPC condition data for MC dead elements"};
51
52};
53
54#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.
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey_folder_mc_deadElements
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode addCondDependency(const EventContext &ctx, const SG::ReadCondHandleKey< CondAttrListCollection > &key, SG::WriteCondHandle< WriteCont > &writeHandle) const
virtual ~RpcCondDbAlg()=default
SG::WriteCondHandleKey< RpcCondDbData > m_writeKey
StatusCode loadMcElementStatus(const EventContext &ctx, RpcCondDbData &condData) const
RpcCondDbAlg(const std::string &name, ISvcLocator *svc)
virtual StatusCode execute(const EventContext &) const override
virtual StatusCode initialize() override
Gaudi::Property< bool > m_isData