ATLAS Offline Software
Loading...
Searching...
No Matches
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
19
20
21namespace D3PD {
22
23
25 : public BlockFillerTool<xAOD::TrackParticle>
26{
27public:
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
54private:
56 float* m_charge;
57};
58
59
60} // namespace D3PD
61
62
63#endif // not TRACKD3PDMAKER_TRACKPARTICLECHARGEFILLERTOOL_H
Type-safe wrapper for block filler tools.
Type-safe wrapper for block filler tools.
TrackParticleChargeFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual StatusCode fill(const xAOD::TrackParticle &p) override
Fill one block — type-safe version.
virtual StatusCode book() final
Book variables for this block.
Block filler tool for noisy FEB information.
TrackParticle_v1 TrackParticle
Reference the current persistent version: