ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCalibRawDataProvider.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_MDTCALIBRAWDATAPROVIDER_H
5#define MUONCALIBSTREAM_MDTCALIBRAWDATAPROVIDER_H
6
7#include <stdint.h>
8#include <string>
9#include <map>
10
13#include "GaudiKernel/Converter.h"
14#include "GaudiKernel/ServiceHandle.h"
15#include "GaudiKernel/ToolHandle.h"
21#include "MuCalDecode/CalibData.h"
22#include "MuCalDecode/CalibEvent.h"
23#include "MuCalDecode/CalibUti.h"
24
35
36
37class StatusCode;
38
40
41 public:
43 MdtCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
44
46 virtual StatusCode initialize() override;
47
49 virtual StatusCode execute(const EventContext &ctx) const override;
50
53
54 private:
55
56
57 StatusCode decodeImpl(Muon::MdtPrepDataContainer *mdtPrepDataContainer, const LVL2_MUON_CALIBRATION::CalibEvent *event, const MuonGM::MuonDetectorManager* muDetMgr) const;
58
59 ServiceHandle<IMuonCalibStreamDataProviderSvc> m_dataProvider{this,"DataProviderSvc","MuonCalibStreamDataProviderSvc"};
60
62 // /** MuonDetectorManager from the conditions store */
63 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_detectorManagerKey{this, "DetectorManagerKey", "MuonDetectorManager",
64 "Key of input MuonDetectorManager condition data"};
65 ServiceHandle<Muon::IMuonIdHelperSvc> m_muonIdHelper{this, "MuonIdHelper", "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
66 "Handle to the MuonIdHelperSvc"};
67 Gaudi::Property<int> m_adcCut{this, "ADCCut" , 50, "Minimum threshold on the ADC to contribute to recondition"};
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.
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
MdtCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
ServiceHandle< Muon::IMuonIdHelperSvc > m_muonIdHelper
Gaudi::Property< int > m_adcCut
SG::WriteHandleKey< Muon::MdtPrepDataContainer > m_mdtPrepDataContainerKey
~MdtCalibRawDataProvider()=default
Destructur.
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detectorManagerKey
MuonDetectorManager from the conditions store.
StatusCode decodeImpl(Muon::MdtPrepDataContainer *mdtPrepDataContainer, const LVL2_MUON_CALIBRATION::CalibEvent *event, const MuonGM::MuonDetectorManager *muDetMgr) const
ServiceHandle< IMuonCalibStreamDataProviderSvc > m_dataProvider
virtual StatusCode initialize() override
Initialize.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Property holding a SG store/key/clid from which a WriteHandle is made.
MuonPrepDataContainerT< MdtPrepData > MdtPrepDataContainer