ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCalibRawDataProvider.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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"
22#include "MuCalDecode/CalibData.h"
23#include "MuCalDecode/CalibEvent.h"
24#include "MuCalDecode/CalibUti.h"
25
36
37
38class StatusCode;
39
41
42 public:
44 MdtCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
45
47 virtual StatusCode initialize() override;
48
50 virtual StatusCode execute(const EventContext &ctx) const override;
51
54
55 private:
56
57
58 StatusCode decodeImpl(Muon::MdtPrepDataContainer *mdtPrepDataContainer, const LVL2_MUON_CALIBRATION::CalibEvent *event, const MuonGM::MuonDetectorManager* muDetMgr) const;
59
60 ServiceHandle<IMuonCalibStreamDataProviderSvc> m_dataProvider{this,"DataProviderSvc","MuonCalibStreamDataProviderSvc"};
61
63 // /** MuonDetectorManager from the conditions store */
64 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_detectorManagerKey{this, "DetectorManagerKey", "MuonDetectorManager",
65 "Key of input MuonDetectorManager condition data"};
66 ServiceHandle<Muon::IMuonIdHelperSvc> m_muonIdHelper{this, "MuonIdHelper", "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
67 "Handle to the MuonIdHelperSvc"};
68 Gaudi::Property<int> m_adcCut{this, "ADCCut" , 50, "Minimum threshold on the ADC to contribute to recondition"};
69};
70#endif
defines an "iterator" over instances of a given type in StoreGateSvc
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