ATLAS Offline Software
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
*/
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
D3PD::TrackParticleChargeFillerTool::m_charge
float * m_charge
Variable: Track charge.
Definition:
TrackParticleChargeFillerTool.h:56
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD
Block filler tool for noisy FEB information.
Definition:
CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition:
BlockFillerTool.h:68
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
D3PD::TrackParticleChargeFillerTool
Definition:
TrackParticleChargeFillerTool.h:26
D3PD::TrackParticleChargeFillerTool::fill
virtual StatusCode fill(const xAOD::TrackParticle &p) override
Fill one block — type-safe version.
Definition:
TrackParticleChargeFillerTool.cxx:56
D3PD::TrackParticleChargeFillerTool::TrackParticleChargeFillerTool
TrackParticleChargeFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition:
TrackParticleChargeFillerTool.cxx:28
TrackParticle.h
D3PD::TrackParticleChargeFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition:
TrackParticleChargeFillerTool.cxx:41
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition:
TrackParticle_v1.h:43
Generated on Thu Nov 7 2024 21:29:03 for ATLAS Offline Software by
1.8.18