ATLAS Offline Software
Reconstruction
MuonIdentification
MuonCombinedEvaluationTools
src
MuonPrintingTool.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
#ifndef REC_MUONPRINTINGTOOL_H
6
#define REC_MUONPRINTINGTOOL_H
7
8
// Include files
9
#include <fstream>
10
#include <string>
11
#include <vector>
12
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "GaudiKernel/ToolHandle.h"
15
#include "
MuonCombinedToolInterfaces/IMuonPrintingTool.h
"
16
#include "
MuonRecHelperTools/MuonEDMPrinterTool.h
"
17
#include "
xAODMuon/Muon.h
"
18
#include "
xAODMuon/MuonContainer.h
"
19
#include "
xAODTracking/TrackParticle.h
"
20
21
// namespace Analysis {class Muon;}
22
23
namespace
Muon
{
24
class
MuonEDMPrinterTool;
25
}
26
27
namespace
Rec
{
28
34
class
MuonPrintingTool
:
virtual
public
IMuonPrintingTool
,
public
AthAlgTool
{
35
public
:
37
MuonPrintingTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
38
40
virtual
~MuonPrintingTool
();
41
43
virtual
StatusCode
initialize
();
44
virtual
StatusCode
finalize
();
45
47
std::string
print
(
const
xAOD::Muon
&
muon
)
const
;
48
50
std::string
print
(
const
xAOD::MuonContainer
& muons)
const
;
51
52
private
:
53
std::string
print
(
const
xAOD::TrackParticle
&
tp
)
const
;
54
55
PublicToolHandle<Muon::MuonEDMPrinterTool>
m_edmPrinter
{
this
,
"MuonStationPrinter"
,
""
};
56
};
57
58
}
// namespace Rec
59
#endif // REC_MUONPRINTINGTOOL_H
Rec::MuonPrintingTool::MuonPrintingTool
MuonPrintingTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition:
MuonPrintingTool.cxx:24
xAOD::muon
@ muon
Definition:
TrackingPrimitives.h:195
Rec::MuonPrintingTool::print
std::string print(const xAOD::Muon &muon) const
print muon object to a string
Definition:
MuonPrintingTool.cxx:53
MuonEDMPrinterTool.h
Muon.h
Rec::MuonPrintingTool::~MuonPrintingTool
virtual ~MuonPrintingTool()
Standard destructor.
Definition:
MuonPrintingTool.cxx:30
ParticleTest.tp
tp
Definition:
ParticleTest.py:25
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
IMuonPrintingTool.h
xAOD::Muon_v1
Class describing a Muon.
Definition:
Muon_v1.h:38
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition:
FakeTrackBuilder.h:10
Rec::MuonPrintingTool::finalize
virtual StatusCode finalize()
end of the job - finalize
Definition:
MuonPrintingTool.cxx:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
MuonContainer.h
TrackParticle.h
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
Rec::IMuonPrintingTool
interface for tool that creates a dump output of different detail to strings or files
Definition:
IMuonPrintingTool.h:23
Rec::MuonPrintingTool
Tool to visualise muon structure, authors and content in logfile or extra dump text file,...
Definition:
MuonPrintingTool.h:34
Rec::MuonPrintingTool::m_edmPrinter
PublicToolHandle< Muon::MuonEDMPrinterTool > m_edmPrinter
Definition:
MuonPrintingTool.h:55
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
AthAlgTool
Definition:
AthAlgTool.h:26
Rec::MuonPrintingTool::initialize
virtual StatusCode initialize()
Overriding initialize and finalize.
Definition:
MuonPrintingTool.cxx:33
Generated on Mon Dec 23 2024 21:15:24 for ATLAS Offline Software by
1.8.18