ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrackingCnv
src
TrackParticleCompressorTool.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: TrackParticleCompressorTool.h 789457 2016-12-13 12:00:43Z krasznaa $
8
#ifndef XAODTRACKINGCNV_TRACKPARTICLECOMPRESSORTOOL_H
9
#define XAODTRACKINGCNV_TRACKPARTICLECOMPRESSORTOOL_H
10
11
// System include(s):
12
#include <memory>
13
14
// Gaudi/Athena include(s):
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
17
// CxxUtils include(s):
18
#include "
CxxUtils/FloatCompressor.h
"
19
20
// Local include(s):
21
#include "
xAODTrackingCnv/ITrackParticleCompressorTool.h
"
22
23
namespace
xAODMaker
{
24
36
class
TrackParticleCompressorTool
:
public
AthAlgTool
,
37
public
virtual
ITrackParticleCompressorTool
{
38
39
public
:
41
TrackParticleCompressorTool
(
const
std::string&
type
,
42
const
std::string& name,
43
const
IInterface* parent );
44
46
StatusCode
initialize
()
override
;
47
49
StatusCode
compress
(
xAOD::TrackParticle
& tp )
const override
;
50
51
private
:
54
int
m_offDiagCovMatrixBits
;
57
int
m_diagCovMatrixBits
;
58
// Flag to control compression scheme of off-diagonal elements
59
bool
m_useOffDiagCompr
;
60
63
std::unique_ptr< CxxUtils::FloatCompressor >
m_diagCovMatrixCompressor
;
64
65
};
// class TrackParticleCompressorTool
66
67
}
// namespace xAODMaker
68
69
#endif
// XAODTRACKINGCNV_TRACKPARTICLECOMPRESSORTOOL_H
AthAlgTool.h
FloatCompressor.h
ITrackParticleCompressorTool.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
xAODMaker::ITrackParticleCompressorTool
Interface for the tool(s) compressing xAOD::TrackParticle objects.
Definition
ITrackParticleCompressorTool.h:36
xAODMaker::TrackParticleCompressorTool::TrackParticleCompressorTool
TrackParticleCompressorTool(const std::string &type, const std::string &name, const IInterface *parent)
Regular AlgTool constructor.
Definition
TrackParticleCompressorTool.cxx:16
xAODMaker::TrackParticleCompressorTool::initialize
StatusCode initialize() override
Function initialising the tool.
Definition
TrackParticleCompressorTool.cxx:36
xAODMaker::TrackParticleCompressorTool::compress
StatusCode compress(xAOD::TrackParticle &tp) const override
The function doing the heavy lifting.
Definition
TrackParticleCompressorTool.cxx:54
xAODMaker::TrackParticleCompressorTool::m_diagCovMatrixCompressor
std::unique_ptr< CxxUtils::FloatCompressor > m_diagCovMatrixCompressor
Helper object for compressing the on-diagonal covariance matrix elements.
Definition
TrackParticleCompressorTool.h:63
xAODMaker::TrackParticleCompressorTool::m_useOffDiagCompr
bool m_useOffDiagCompr
Definition
TrackParticleCompressorTool.h:59
xAODMaker::TrackParticleCompressorTool::m_offDiagCovMatrixBits
int m_offDiagCovMatrixBits
The number of mantissa bits to keep for off-diagonal covariance matrix elements.
Definition
TrackParticleCompressorTool.h:54
xAODMaker::TrackParticleCompressorTool::m_diagCovMatrixBits
int m_diagCovMatrixBits
The number of mantissa bits to keep for the diagonal covariance matrix elements.
Definition
TrackParticleCompressorTool.h:57
xAODMaker
Definition
StoreGateSvc.h:70
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