ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthContainers
AthContainers
tools
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
34
#include "
AthContainers/DataVector.h
"
35
#include "
AthContainers/ConstDataVector.h
"
36
#include "
AthContainers/tools/copyAuxStoreThinned.h
"
37
#include "
AthContainersInterfaces/IAuxStore.h
"
38
#include "
AthenaKernel/ThinningDecisionBase.h
"
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,
112
DataVector<typename CONTAINER::base_value_type>
*
/*dummy*/
,
113
const
SG::ThinningInfo
* info);
114
115
125
template
<
class
CONTAINER>
126
std::unique_ptr<const CONTAINER>
127
copyThinned1
(
const
CONTAINER& orig,
128
const
DataVector<typename CONTAINER::base_value_type>
* dummy,
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
151
#include "
AthContainers/tools/copyThinned.icc
"
152
153
154
#endif
// not ATHCONTAINERS_COPYTHINNED_H
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
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.
ThinningDecisionBase.h
Hold thinning decisions for one container.
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
SG::IAuxStore
Interface for non-const operations on an auxiliary store.
Definition
IAuxStore.h:51
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.
copyThinned.icc
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
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::copyThinnedConst
std::unique_ptr< const CONTAINER > copyThinnedConst(const CONTAINER &orig, const SG::ThinningInfo *info)
Helper to copy an object while applying thinning, const version.
SG::copyThinned
std::unique_ptr< CONTAINER > copyThinned(CONTAINER &orig, const SG::ThinningInfo *info)
Helper to copy an object while applying thinning.
Generated on
for ATLAS Offline Software by
1.17.0