ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODMuonCnv
src
MuonSegmentCnvAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef XAODMUONCNV_MUONSEGMENTCNVALG_H
6
#define XAODMUONCNV_MUONSEGMENTCNVALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
xAODMuonCnv/IMuonSegmentConverterTool.h
"
11
12
#include <string>
13
14
namespace
xAODMaker
{
15
26
class
MuonSegmentCnvAlg
:
public
AthReentrantAlgorithm
{
27
28
public
:
30
MuonSegmentCnvAlg
(
const
std::string& name, ISvcLocator* svcLoc );
31
33
virtual
StatusCode
initialize
()
override
;
35
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
36
37
private
:
38
// the following segments do NOT contain MuGirl segments
39
SG::ReadHandleKey<Trk::SegmentCollection>
m_muonSegmentLocation
{
this
,
"SegmentContainerName"
,
"TrackMuonSegments"
};
40
SG::WriteHandleKey<xAOD::MuonSegmentContainer>
m_xaodContainerName
{
this
,
"xAODContainerName"
,
"xaodMuonSegments"
};
41
42
ToolHandle<xAODMaker::IMuonSegmentConverterTool>
m_muonSegmentConverterTool
{
this
,
"MuonSegmentConverterTool"
,
"Muon::MuonSegmentConverterTool/MuonSegmentConverterTool"
};
43
};
// class MuonSegmentCnvAlg
44
45
}
// namespace xAODMaker
46
47
#endif
// XAODCREATORALGS_MUONCREATOR_H
AthReentrantAlgorithm.h
IMuonSegmentConverterTool.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
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
xAODMaker::MuonSegmentCnvAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition
MuonSegmentCnvAlg.cxx:31
xAODMaker::MuonSegmentCnvAlg::m_muonSegmentConverterTool
ToolHandle< xAODMaker::IMuonSegmentConverterTool > m_muonSegmentConverterTool
Definition
MuonSegmentCnvAlg.h:42
xAODMaker::MuonSegmentCnvAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition
MuonSegmentCnvAlg.cxx:20
xAODMaker::MuonSegmentCnvAlg::MuonSegmentCnvAlg
MuonSegmentCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition
MuonSegmentCnvAlg.cxx:16
xAODMaker::MuonSegmentCnvAlg::m_xaodContainerName
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_xaodContainerName
Definition
MuonSegmentCnvAlg.h:40
xAODMaker::MuonSegmentCnvAlg::m_muonSegmentLocation
SG::ReadHandleKey< Trk::SegmentCollection > m_muonSegmentLocation
Definition
MuonSegmentCnvAlg.h:39
xAODMaker
Definition
StoreGateSvc.h:70
Generated on
for ATLAS Offline Software by
1.17.0