ATLAS Offline Software
Loading...
Searching...
No Matches
TgcCalibRawDataProvider.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONCALIBSTREAM_TGCCALIBRAWDATAPROVIDER_H
5#define MUONCALIBSTREAM_TGCCALIBRAWDATAPROVIDER_H
6
7#include <stdint.h>
8
9#include <map>
12#include "GaudiKernel/ServiceHandle.h"
13#include "GaudiKernel/ToolHandle.h"
20
26
27class StatusCode;
28
29#include <string>
30
31
33
34 public:
36 TgcCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
37
39 virtual StatusCode initialize() override;
40
42 virtual StatusCode execute(const EventContext &ctx) const override;
43
46
47 private:
48
49 //int getRodIdFromSectorId(int tmp_sectorId) const;
50 uint16_t bcTagCnv(uint16_t bcBitMap) const;
51
52 // main decode function (ClaibEvent to TgcRdoContainer)
53 StatusCode decodeImpl(TgcRdoContainer *m_tgcRdoContainer, const LVL2_MUON_CALIBRATION::CalibEvent *event) const ;
54
55
56 ServiceHandle<IMuonCalibStreamDataProviderSvc> m_dataProvider{this,"DataProviderSvc","MuonCalibStreamDataProviderSvc"};
57
58 // /** MuonDetectorManager from the conditions store */
59 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_detectorManagerKey{this, "DetectorManagerKey", "MuonDetectorManager",
60 "Key of input MuonDetectorManager condition data"};
61
62 ServiceHandle<Muon::IMuonIdHelperSvc> m_muonIdHelper{this, "MuonIdHelper", "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
63 "Handle to the MuonIdHelperSvc"};
64
65 // output TgcRdoContainer writeHandle
66 SG::WriteHandleKey<TgcRdoContainer> m_rdoContainerKey{this, "RDOContainer", "TGCRDO" ,"TgcRdoContainer to save"};
67
68};
69#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Handle class for recording to StoreGate.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a WriteHandle is made.
TgcCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
uint16_t bcTagCnv(uint16_t bcBitMap) const
virtual StatusCode initialize() override
Initialize.
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detectorManagerKey
MuonDetectorManager from the conditions store.
~TgcCalibRawDataProvider()=default
Destructur.
ServiceHandle< Muon::IMuonIdHelperSvc > m_muonIdHelper
StatusCode decodeImpl(TgcRdoContainer *m_tgcRdoContainer, const LVL2_MUON_CALIBRATION::CalibEvent *event) const
ServiceHandle< IMuonCalibStreamDataProviderSvc > m_dataProvider
SG::WriteHandleKey< TgcRdoContainer > m_rdoContainerKey