ATLAS Offline Software
MuonSpectrometer
MuonCalib
MuonCalibStream
MuonCalibStreamCnv
MuonCalibStreamCnv
MdtCalibRawDataProvider.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 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 "
StoreGate/DataHandle.h
"
22
#include "MuCalDecode/CalibData.h"
23
#include "MuCalDecode/CalibEvent.h"
24
#include "MuCalDecode/CalibUti.h"
25
26
#include "
MuonPrepRawData/MuonPrepDataContainer.h
"
27
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
28
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
29
#include "
MdtCalibData/MdtCalibDataContainer.h
"
30
#include "
MdtCalibInterfaces/IMdtCalibrationTool.h
"
31
#include "
MuonCalibStreamCnvSvc/IMuonCalibStreamDataProviderSvc.h
"
32
#include "
MuonPrepRawData/MdtPrepDataCollection.h
"
33
#include "
MuonPrepRawData/MuonPrepDataCollection_Cache.h
"
34
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
35
#include "
MuonCablingData/MuonMDT_CablingMap.h
"
36
37
using namespace
LVL2_MUON_CALIBRATION
;
38
39
class
StatusCode
;
40
41
class
MdtCalibRawDataProvider
:
public
AthReentrantAlgorithm
{
42
43
public
:
45
MdtCalibRawDataProvider
(
const
std::string &
name
, ISvcLocator *pSvcLocator);
46
48
virtual
StatusCode
initialize
()
override
;
49
51
virtual
StatusCode
execute
(
const
EventContext &ctx)
const override
;
52
54
~MdtCalibRawDataProvider
() =
default
;
55
56
private
:
57
58
59
StatusCode
decodeImpl(
Muon::MdtPrepDataContainer
*mdtPrepDataContainer,
const
CalibEvent *
event
,
const
MuonGM::MuonDetectorManager
* muDetMgr)
const
;
60
61
ServiceHandle<IMuonCalibStreamDataProviderSvc> m_dataProvider{
this
,
"DataProviderSvc"
,
"MuonCalibStreamDataProviderSvc"
};
62
63
SG::WriteHandleKey<Muon::MdtPrepDataContainer>
m_mdtPrepDataContainerKey{
this
,
"OutputCollection"
,
"MDT_DriftCircles"
};
64
// /** MuonDetectorManager from the conditions store */
65
SG::ReadCondHandleKey<MuonGM::MuonDetectorManager>
m_detectorManagerKey{
this
,
"DetectorManagerKey"
,
"MuonDetectorManager"
,
66
"Key of input MuonDetectorManager condition data"
};
67
ServiceHandle<Muon::IMuonIdHelperSvc>
m_muonIdHelper{
this
,
"MuonIdHelper"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
,
68
"Handle to the MuonIdHelperSvc"
};
69
Gaudi::Property<int> m_adcCut{
this
,
"ADCCut"
, 50,
"Minimum threshold on the ADC to contribute to recondition"
};
70
};
71
#endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Muon::MuonPrepDataContainer
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Definition:
MuonPrepDataContainer.h:42
MuonPrepDataCollection_Cache.h
LVL2_MUON_CALIBRATION
Definition:
MuCalStreamerTool.h:37
IMuonCalibStreamDataProviderSvc.h
MdtCalibRawDataProvider
Definition:
MdtCalibRawDataProvider.h:41
MdtCalibDataContainer.h
initialize
void initialize()
Definition:
run_EoverP.cxx:894
IMdtCalibrationTool.h
WriteCondHandleKey.h
MuonPrepDataContainer.h
DataHandle.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
LArG4FSStartPointFilterLegacy.execute
execute
Definition:
LArG4FSStartPointFilterLegacy.py:20
MdtPrepDataCollection.h
WriteHandle.h
Handle class for recording to StoreGate.
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition:
StoreGate/StoreGate/WriteHandleKey.h:40
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
MuonMDT_CablingMap.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MdtCalibRawDataProvider::~MdtCalibRawDataProvider
~MdtCalibRawDataProvider()=default
Destructur.
ReadCondHandleKey.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
MuonDetectorManager.h
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition:
MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:49
AthMessaging.h
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >
Generated on Fri Jul 5 2024 21:21:28 for ATLAS Offline Software by
1.8.18