ATLAS Offline Software
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 
30 #ifndef ATHCONTAINERS_COPYTHINNED_H
31 #define ATHCONTAINERS_COPYTHINNED_H
32 
33 
39 
40 
41 namespace SG {
42 
43 
58 template <class CONTAINER>
59 std::unique_ptr<CONTAINER>
60 copyThinned (CONTAINER& orig,
61  const SG::ThinningInfo* info);
62 
63 
77 template <class CONTAINER>
78 std::unique_ptr<const CONTAINER>
79 copyThinnedConst (const CONTAINER& orig,
80  const SG::ThinningInfo* info);
81 
82 
93 template <class CONTAINER>
94 std::unique_ptr<CONTAINER>
95 copyThinned1 (const CONTAINER& orig,
96  const void* dummy,
97  const SG::ThinningInfo* info);
98 
99 
109 template <class CONTAINER>
110 std::unique_ptr<CONTAINER>
111 copyThinned1 (CONTAINER& orig,
113  const SG::ThinningInfo* info);
114 
115 
125 template <class CONTAINER>
126 std::unique_ptr<const CONTAINER>
127 copyThinned1 (const CONTAINER& orig,
129  const SG::ThinningInfo* info);
130 
131 
141 template <class CONTAINER>
142 std::unique_ptr<CONTAINER>
143 copyThinned1 (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
grepfile.info
info
Definition: grepfile.py:38
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
ThinningDecisionBase.h
Hold thinning decisions for one container.
SG::copyThinned1
std::unique_ptr< CONTAINER > copyThinned1(const CONTAINER &orig, const void *dummy, const SG::ThinningInfo *info)
Helper to copy an object while applying thinning.
SG::ThinningInfo
Hold thinning/slimming information for a given object.
Definition: ThinningInfo.h:40
copyAuxStoreThinned.h
Helper to copy an aux store while applying thinning.
SG::copyThinnedConst
std::unique_ptr< const CONTAINER > copyThinnedConst(const CONTAINER &orig, const SG::ThinningInfo *info)
Helper to copy an object while applying thinning, const version.
python.xAODType.dummy
dummy
Definition: xAODType.py:4
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
SG::IAuxStore
Interface for non-const operations on an auxiliary store.
Definition: IAuxStore.h:48
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
IAuxStore.h
Interface for non-const operations on an auxiliary store.
copyThinned.icc
SG::copyThinned
std::unique_ptr< CONTAINER > copyThinned(CONTAINER &orig, const SG::ThinningInfo *info)
Helper to copy an object while applying thinning.