ATLAS Offline Software
Loading...
Searching...
No Matches
TgcPrepDataReplicationToolAllBCto3BC.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONTGC_CNVTOOLS_TGCPREPDATAREPLICATIONTOOLAllBCto3BC_H
6#define MUONTGC_CNVTOOLS_TGCPREPDATAREPLICATIONTOOLAllBCto3BC_H
7
10#include "GaudiKernel/ServiceHandle.h"
11
15
16namespace Muon
17{
19 : public extends<AthAlgTool, ITgcPrepDataReplicationTool>
20 {
21 public:
23 TgcPrepDataReplicationToolAllBCto3BC(const std::string& t, const std::string& n, const IInterface* p);
24
27
28 virtual StatusCode initialize() override;
29 virtual StatusCode replicate(const EventContext& ctx) const override;
30 //Static to avoid code duplication with sister class
32 static TgcPrepData* makeTgcPrepData(const TgcPrepData* to_copy, uint16_t bcBitMap);
33
34 private:
35 StatusCode convertAllBCto3BC(const EventContext& ctx) const;
36
38
39 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
40
41 SG::WriteHandleKeyArray<TgcPrepDataContainer> m_3BCKeys{this, "BC3Keys", {"dummy","dummy","dummy"}};
42 SG::ReadHandleKey<TgcPrepDataContainer> m_AllBCKey{this, "AllBCKey", "TGC_MeasurementsAllBCs"};
43
44
45
46
47 };
48} // end of namespace
49
50#endif // MUONTGC_CNVTOOLS_TGCPREPDATAREPLICATIONTOOLAllBCto3BC_H
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
StatusCode convertAllBCto3BC(const EventContext &ctx) const
virtual ~TgcPrepDataReplicationToolAllBCto3BC()=default
Destructor.
static TgcPrepData * makeTgcPrepData(const TgcPrepData *to_copy, uint16_t bcBitMap)
Make new TgcPrepData.
virtual StatusCode replicate(const EventContext &ctx) const override
SG::WriteHandleKeyArray< TgcPrepDataContainer > m_3BCKeys
TgcPrepDataReplicationToolAllBCto3BC(const std::string &t, const std::string &n, const IInterface *p)
Constructor.
Class to represent TGC measurements.
Definition TgcPrepData.h:32
Property holding a SG store/key/clid from which a ReadHandle is made.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray
void initialize()