ATLAS Offline Software
Loading...
Searching...
No Matches
copyThinned.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-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
28
29
30#ifndef ATHCONTAINERS_COPYTHINNED_H
31#define ATHCONTAINERS_COPYTHINNED_H
32
33
39
40
41namespace SG {
42
43
58template <class CONTAINER>
59std::unique_ptr<CONTAINER>
60copyThinned (CONTAINER& orig,
61 const SG::ThinningInfo* info);
62
63
77template <class CONTAINER>
78std::unique_ptr<const CONTAINER>
79copyThinnedConst (const CONTAINER& orig,
80 const SG::ThinningInfo* info);
81
82
93template <class CONTAINER>
94std::unique_ptr<CONTAINER>
95copyThinned1 (const CONTAINER& orig,
96 const void* dummy,
97 const SG::ThinningInfo* info);
98
99
109template <class CONTAINER>
110std::unique_ptr<CONTAINER>
111copyThinned1 (CONTAINER& orig,
113 const SG::ThinningInfo* info);
114
115
125template <class CONTAINER>
126std::unique_ptr<const CONTAINER>
127copyThinned1 (const CONTAINER& orig,
129 const SG::ThinningInfo* info);
130
131
141template <class CONTAINER>
142std::unique_ptr<CONTAINER>
143copyThinned1 (const CONTAINER& orig,
144 const SG::IAuxStore* dummy,
145 const SG::ThinningInfo* info);
146
147
148} // namespace SG
149
150
152
153
154#endif // not ATHCONTAINERS_COPYTHINNED_H
DataVector adapter that acts like it holds const pointers.
An STL vector of pointers that by default owns its pointed-to elements.
Interface for non-const operations on an auxiliary store.
Hold thinning decisions for one container.
Derived DataVector<T>.
Definition DataVector.h:795
Interface for non-const operations on an auxiliary store.
Definition IAuxStore.h:48
Hold thinning/slimming information for a given object.
Helper to copy an aux store while applying thinning.
Forward declaration.
std::unique_ptr< CONTAINER > copyThinned1(const CONTAINER &orig, const void *dummy, const SG::ThinningInfo *info)
Helper to copy an object while applying thinning.
std::unique_ptr< const CONTAINER > copyThinnedConst(const CONTAINER &orig, const SG::ThinningInfo *info)
Helper to copy an object while applying thinning, const version.
std::unique_ptr< CONTAINER > copyThinned(CONTAINER &orig, const SG::ThinningInfo *info)
Helper to copy an object while applying thinning.