ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCalib
MuonCalibStream
MuonCalibStreamCnv
MuonCalibStreamCnv
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
11
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
12
#include "
AthenaBaseComps/AthMessaging.h
"
13
#include "GaudiKernel/Converter.h"
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
StoreGate/WriteCondHandleKey.h
"
18
#include "
StoreGate/ReadHandleKey.h
"
19
#include "
StoreGate/WriteHandleKey.h
"
20
#include "
StoreGate/WriteHandle.h
"
21
#include "MuCalDecode/CalibData.h"
22
#include "MuCalDecode/CalibEvent.h"
23
#include "MuCalDecode/CalibUti.h"
24
25
#include "
MuonPrepRawData/MuonPrepDataContainer.h
"
26
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
27
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
28
#include "
MdtCalibData/MdtCalibDataContainer.h
"
29
#include "
MdtCalibInterfaces/IMdtCalibrationTool.h
"
30
#include "
MuonCalibStreamCnvSvc/IMuonCalibStreamDataProviderSvc.h
"
31
#include "
MuonPrepRawData/MdtPrepDataCollection.h
"
32
#include "
MuonPrepRawData/MuonPrepDataCollection_Cache.h
"
33
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
34
#include "
MuonCablingData/MuonMDT_CablingMap.h
"
35
36
37
class
StatusCode
;
38
39
class
MdtCalibRawDataProvider
:
public
AthReentrantAlgorithm
{
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
52
~MdtCalibRawDataProvider
() =
default
;
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
61
SG::WriteHandleKey<Muon::MdtPrepDataContainer>
m_mdtPrepDataContainerKey
{
this
,
"OutputCollection"
,
"MDT_DriftCircles"
};
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
AthMessaging.h
AthReentrantAlgorithm.h
IMdtCalibrationTool.h
IMuonCalibStreamDataProviderSvc.h
IMuonIdHelperSvc.h
MdtCalibDataContainer.h
MdtPrepDataCollection.h
MuonDetectorManager.h
MuonMDT_CablingMap.h
MuonPrepDataCollection_Cache.h
MuonPrepDataContainer.h
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
WriteHandle.h
Handle class for recording to StoreGate.
WriteCondHandleKey.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MdtCalibRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition
MdtCalibRawDataProvider.cxx:53
MdtCalibRawDataProvider::MdtCalibRawDataProvider
MdtCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
MdtCalibRawDataProvider.cxx:37
MdtCalibRawDataProvider::m_muonIdHelper
ServiceHandle< Muon::IMuonIdHelperSvc > m_muonIdHelper
Definition
MdtCalibRawDataProvider.h:65
MdtCalibRawDataProvider::m_adcCut
Gaudi::Property< int > m_adcCut
Definition
MdtCalibRawDataProvider.h:67
MdtCalibRawDataProvider::m_mdtPrepDataContainerKey
SG::WriteHandleKey< Muon::MdtPrepDataContainer > m_mdtPrepDataContainerKey
Definition
MdtCalibRawDataProvider.h:61
MdtCalibRawDataProvider::~MdtCalibRawDataProvider
~MdtCalibRawDataProvider()=default
Destructur.
MdtCalibRawDataProvider::m_detectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detectorManagerKey
Definition
MdtCalibRawDataProvider.h:63
MdtCalibRawDataProvider::decodeImpl
StatusCode decodeImpl(Muon::MdtPrepDataContainer *mdtPrepDataContainer, const LVL2_MUON_CALIBRATION::CalibEvent *event, const MuonGM::MuonDetectorManager *muDetMgr) const
Definition
MdtCalibRawDataProvider.cxx:83
MdtCalibRawDataProvider::m_dataProvider
ServiceHandle< IMuonCalibStreamDataProviderSvc > m_dataProvider
Definition
MdtCalibRawDataProvider.h:59
MdtCalibRawDataProvider::initialize
virtual StatusCode initialize() override
Initialize.
Definition
MdtCalibRawDataProvider.cxx:40
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:51
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Muon::MdtPrepDataContainer
MuonPrepDataContainerT< MdtPrepData > MdtPrepDataContainer
Definition
MuonPrepDataContainer.h:94
Generated on
for ATLAS Offline Software by
1.17.0