ATLAS Offline Software
Event
xAOD
xAODTrigMuonCnv
src
TrigMuonEFInfoToMuonCnvTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//
6
// TrigMuonEFInfoToMuonCnvTool.h
7
//
8
// Created by Mark Owen on 12/03/2014.
9
//
10
11
#ifndef xAODTrigMuonCnv_TrigMuonEFInfoToMuonCnvTool_h
12
#define xAODTrigMuonCnv_TrigMuonEFInfoToMuonCnvTool_h
13
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
16
#include "
xAODTrigMuonCnv/ITrigMuonEFInfoToMuonCnvTool.h
"
17
18
#include "
TrigMuonEvent/TrigMuonEFInfoContainer.h
"
19
#include "
TrigMuonEvent/TrigMuonEFTrack.h
"
20
#include "
xAODMuon/MuonContainer.h
"
21
#include "
xAODTracking/TrackParticleContainer.h
"
22
23
#include <string>
24
25
class
TrigMuonEFInfoToMuonCnvTool
:
public
AthAlgTool
,
public
virtual
ITrigMuonEFInfoToMuonCnvTool
{
26
27
public
:
28
30
TrigMuonEFInfoToMuonCnvTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
31
33
virtual
~TrigMuonEFInfoToMuonCnvTool
()=
default
;
34
36
virtual
StatusCode
initialize
()
override
;
37
39
virtual
StatusCode
convertTrigMuonEFInfo
(
const
TrigMuonEFInfo
& efinfo,
40
xAOD::MuonContainer
& muoncontainer,
41
xAOD::TrackParticleContainer
* combParticleContainer,
42
xAOD::TrackParticleContainer
* extrapParticleContainer)
const override
;
43
45
virtual
StatusCode
convertTrigMuonEFInfoContainer
(
const
TrigMuonEFInfoContainer
& efinfocont,
46
xAOD::MuonContainer
& muoncontainer,
47
xAOD::TrackParticleContainer
* combParticleContainer,
48
xAOD::TrackParticleContainer
* extrapParticleContainer)
const override
;
49
50
protected
:
51
53
StatusCode
convertTrigMuonEFTrack
(
const
TrigMuonEFTrack
& eftrack,
xAOD::TrackParticle
& trackpart)
const
;
54
55
private
:
56
58
bool
m_makeIDTrackLink
;
59
61
std::string
m_inDetTrackParticles
;
62
63
};
// end class definition for TrigMuonEFInfoToMuonCnvTool
64
65
#endif
TrigMuonEFTrack
Definition:
TrigMuonEFTrack.h:27
TrigMuonEFInfoContainer.h
TrigMuonEFInfoToMuonCnvTool::initialize
virtual StatusCode initialize() override
initialize the tool
Definition:
TrigMuonEFInfoToMuonCnvTool.cxx:32
TrigMuonEFInfoToMuonCnvTool::convertTrigMuonEFInfo
virtual StatusCode convertTrigMuonEFInfo(const TrigMuonEFInfo &efinfo, xAOD::MuonContainer &muoncontainer, xAOD::TrackParticleContainer *combParticleContainer, xAOD::TrackParticleContainer *extrapParticleContainer) const override
Convert a single TrigMuonEFInfo object into (maybe multiple) xAOD::Muon objects.
Definition:
TrigMuonEFInfoToMuonCnvTool.cxx:47
TrigMuonEFTrack.h
ITrigMuonEFInfoToMuonCnvTool
Definition:
ITrigMuonEFInfoToMuonCnvTool.h:26
TrigMuonEFInfoContainer
Definition:
TrigMuonEFInfoContainer.h:27
TrigMuonEFInfoToMuonCnvTool::convertTrigMuonEFInfoContainer
virtual StatusCode convertTrigMuonEFInfoContainer(const TrigMuonEFInfoContainer &efinfocont, xAOD::MuonContainer &muoncontainer, xAOD::TrackParticleContainer *combParticleContainer, xAOD::TrackParticleContainer *extrapParticleContainer) const override
Convert full TrigMuonEFInfoContainer into xAOD::MuonContainer.
Definition:
TrigMuonEFInfoToMuonCnvTool.cxx:156
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITrigMuonEFInfoToMuonCnvTool.h
TrigMuonEFInfoToMuonCnvTool
Definition:
TrigMuonEFInfoToMuonCnvTool.h:25
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
TrigMuonEFInfoToMuonCnvTool::m_inDetTrackParticles
std::string m_inDetTrackParticles
Name of container that holds the EF ID xAOD track particles.
Definition:
TrigMuonEFInfoToMuonCnvTool.h:61
TrigMuonEFInfoToMuonCnvTool::~TrigMuonEFInfoToMuonCnvTool
virtual ~TrigMuonEFInfoToMuonCnvTool()=default
Destructor.
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TrigMuonEFInfoToMuonCnvTool::m_makeIDTrackLink
bool m_makeIDTrackLink
Flag to decide if we want to make element link to EF ID xAOD tracks - only turn on once EF ID convers...
Definition:
TrigMuonEFInfoToMuonCnvTool.h:58
MuonContainer.h
TrigMuonEFInfoToMuonCnvTool::convertTrigMuonEFTrack
StatusCode convertTrigMuonEFTrack(const TrigMuonEFTrack &eftrack, xAOD::TrackParticle &trackpart) const
Convert TrigMuonEFTrack into a xAOD::TrackParticle.
Definition:
TrigMuonEFInfoToMuonCnvTool.cxx:172
TrigMuonEFInfoToMuonCnvTool::TrigMuonEFInfoToMuonCnvTool
TrigMuonEFInfoToMuonCnvTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition:
TrigMuonEFInfoToMuonCnvTool.cxx:20
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
AthAlgTool
Definition:
AthAlgTool.h:26
TrigMuonEFInfo
Definition:
TrigMuonEFInfo.h:24
TrackParticleContainer.h
Generated on Mon Dec 23 2024 21:21:28 for ATLAS Offline Software by
1.8.18