ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
TrackD3PDMaker
src
TrackParticleChargeFillerTool.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4
*/
11
12
13
#ifndef TRACKD3PDMAKER_TRACKPARTICLECHARGEFILLERTOOL_H
14
#define TRACKD3PDMAKER_TRACKPARTICLECHARGEFILLERTOOL_H
15
16
17
#include "
D3PDMakerUtils/BlockFillerTool.h
"
18
#include "
xAODTracking/TrackParticle.h
"
19
20
21
namespace
D3PD
{
22
23
24
class
TrackParticleChargeFillerTool
25
:
public
BlockFillerTool
<xAOD::TrackParticle>
26
{
27
public
:
34
TrackParticleChargeFillerTool
(
const
std::string&
type
,
35
const
std::string& name,
36
const
IInterface* parent);
37
38
40
virtual
StatusCode
book
()
final
;
41
42
51
virtual
StatusCode
fill
(
const
xAOD::TrackParticle
& p)
override
;
52
53
54
private
:
56
float
*
m_charge
;
57
};
58
59
60
}
// namespace D3PD
61
62
63
#endif
// not TRACKD3PDMAKER_TRACKPARTICLECHARGEFILLERTOOL_H
BlockFillerTool.h
Type-safe wrapper for block filler tools.
TrackParticle.h
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::TrackParticleChargeFillerTool::TrackParticleChargeFillerTool
TrackParticleChargeFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
TrackParticleChargeFillerTool.cxx:28
D3PD::TrackParticleChargeFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition
TrackParticleChargeFillerTool.cxx:41
D3PD::TrackParticleChargeFillerTool::m_charge
float * m_charge
Variable: Track charge.
Definition
TrackParticleChargeFillerTool.h:56
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::fill
virtual StatusCode fill()
Fill one object.
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
type
Generated on
for ATLAS Offline Software by
1.17.0