ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonByteStreamCnvTest
src
MdtDigitToMdtRDO.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MDTDIGITTOMDTRDO_H
6
#define MDTDIGITTOMDTRDO_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "
MuonCablingData/MuonMDT_CablingMap.h
"
11
#include "
MuonCondData/MdtCondDbData.h
"
12
#include "
MuonDigitContainer/MdtDigitContainer.h
"
13
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
14
#include "
MuonRDO/MdtCsmContainer.h
"
15
#include "
StoreGate/ReadCondHandleKey.h
"
17
18
class
MdtDigitToMdtRDO
:
public
AthReentrantAlgorithm
{
19
public
:
20
MdtDigitToMdtRDO
(
const
std::string& name, ISvcLocator* pSvcLocator);
21
virtual
~MdtDigitToMdtRDO
() =
default
;
22
virtual
StatusCode
initialize
() override final;
23
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
24
25
private
:
26
// NOTE: although this function has no clients in release 22, currently the Run2 trigger simulation is still run in
27
// release 21 on RDOs produced in release 22. Since release 21 accesses the TagInfo, it needs to be written to the
28
// RDOs produced in release 22. The fillTagInfo() function thus needs to stay in release 22 until the workflow changes
29
StatusCode
fillTagInfo
()
const
;
30
31
protected
:
33
bool
m_BMGpresent
{
false
};
34
int
m_BMG_station_name
{-1};
35
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
36
SG::WriteHandleKey<MdtCsmContainer>
m_csmContainerKey
{
this
,
"OutputObjectName"
,
"MDTCSM"
,
"WriteHandleKey for Output MdtCsmContainer"
};
37
SG::ReadHandleKey<MdtDigitContainer>
m_digitContainerKey
{
this
,
"InputObjectName"
,
"MDT_DIGITS"
,
38
"ReadHandleKey for Input MdtDigitContainer"
};
39
SG::ReadCondHandleKey<MuonMDT_CablingMap>
m_cablingKey
{
this
,
"CablingKey"
,
"MuonMDT_CablingMap"
,
"Key of MuonMDT_CablingMap"
};
40
SG::ReadCondHandleKey<MdtCondDbData>
m_condKey
{
this
,
"ConditionsKey"
,
"MdtCondDbData"
,
"Key of MDT condition data"
};
41
42
};
43
44
#endif
AthReentrantAlgorithm.h
IMuonIdHelperSvc.h
MdtCondDbData.h
MdtCsmContainer.h
MdtDigitContainer.h
MuonMDT_CablingMap.h
ReadCondHandleKey.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MdtDigitToMdtRDO::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MdtDigitToMdtRDO.cxx:54
MdtDigitToMdtRDO::m_condKey
SG::ReadCondHandleKey< MdtCondDbData > m_condKey
Definition
MdtDigitToMdtRDO.h:40
MdtDigitToMdtRDO::m_cablingKey
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_cablingKey
Definition
MdtDigitToMdtRDO.h:39
MdtDigitToMdtRDO::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MdtDigitToMdtRDO.h:35
MdtDigitToMdtRDO::m_BMGpresent
bool m_BMGpresent
Definition
MdtDigitToMdtRDO.h:33
MdtDigitToMdtRDO::MdtDigitToMdtRDO
MdtDigitToMdtRDO(const std::string &name, ISvcLocator *pSvcLocator)
Definition
MdtDigitToMdtRDO.cxx:29
MdtDigitToMdtRDO::m_csmContainerKey
SG::WriteHandleKey< MdtCsmContainer > m_csmContainerKey
Definition
MdtDigitToMdtRDO.h:36
MdtDigitToMdtRDO::m_digitContainerKey
SG::ReadHandleKey< MdtDigitContainer > m_digitContainerKey
Definition
MdtDigitToMdtRDO.h:37
MdtDigitToMdtRDO::m_BMG_station_name
int m_BMG_station_name
Definition
MdtDigitToMdtRDO.h:34
MdtDigitToMdtRDO::~MdtDigitToMdtRDO
virtual ~MdtDigitToMdtRDO()=default
MdtDigitToMdtRDO::fillTagInfo
StatusCode fillTagInfo() const
Definition
MdtDigitToMdtRDO.cxx:185
MdtDigitToMdtRDO::initialize
virtual StatusCode initialize() override final
Definition
MdtDigitToMdtRDO.cxx:33
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
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
const
protected
#define protected
Definition
testRead.cxx:26
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0