ATLAS Offline Software
Loading...
Searching...
No Matches
copyAuxStoreThinned.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/*
4 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5*/
6
13
14
15#ifndef ATHCONTAINERS_COPYAUXSTORETHINNED_H
16#define ATHCONTAINERS_COPYAUXSTORETHINNED_H
17
18
20
21
22namespace SG {
23
24
25class IConstAuxStore;
26class IAuxStore;
27
28
40 SG::IAuxStore& copy,
41 const SG::ThinningInfo* info);
42
52void lossyFloatCompress (void* dst,
53 const std::size_t dst_index,
54 const std::size_t n,
55 const std::size_t eltSize,
56 const std::string& typeName,
57 const unsigned int nmantissa);
58
59} // namespace SG
60
61
62#endif // not ATHCONTAINERS_COPYAUXSTORETHINNED_H
Interface for non-const operations on an auxiliary store.
Definition IAuxStore.h:48
Interface for const operations on an auxiliary store.
Hold thinning/slimming information for a given object.
Forward declaration.
void copyAuxStoreThinned(const SG::IConstAuxStore &orig, SG::IAuxStore &copy, const SG::ThinningInfo *info)
Helper to copy an aux store while applying thinning.
void lossyFloatCompress(void *dst, const std::size_t dst_index, const std::size_t n, const std::size_t eltSize, const std::string &typeName, const unsigned int nmantissa)
Helper method to apply lossy float compression.