#include <GenericObjectThinning.h>
Definition at line 26 of file GenericObjectThinning.h.
◆ GenericObjectThinning()
DerivationFramework::GenericObjectThinning::GenericObjectThinning |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~GenericObjectThinning()
DerivationFramework::GenericObjectThinning::~GenericObjectThinning |
( |
| ) |
|
◆ doThinning()
StatusCode DerivationFramework::GenericObjectThinning::doThinning |
( |
| ) |
const |
|
overridevirtual |
Definition at line 63 of file GenericObjectThinning.cxx.
65 const EventContext& ctx = Gaudi::Hive::currentContext();
71 unsigned int nObjects =
particles->size();
72 if (nObjects==0)
return StatusCode::SUCCESS;
75 std::vector<bool>
mask;
76 mask.assign(nObjects,
false);
81 std::vector<int>
entries = m_parser->evaluateAsVector();
85 ATH_MSG_ERROR(
"Sizes incompatible! Are you sure your selection string used the same collection as the input collection??");
86 return StatusCode::FAILURE;
98 return StatusCode::SUCCESS;
◆ finalize()
StatusCode DerivationFramework::GenericObjectThinning::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode DerivationFramework::GenericObjectThinning::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_npass
std::atomic<unsigned int> DerivationFramework::GenericObjectThinning::m_npass |
|
private |
◆ m_ntot
std::atomic<unsigned int> DerivationFramework::GenericObjectThinning::m_ntot |
|
mutableprivate |
◆ m_selectionString
std::string DerivationFramework::GenericObjectThinning::m_selectionString |
|
private |
◆ m_SGKey
◆ m_streamName
StringProperty DerivationFramework::GenericObjectThinning::m_streamName { this, "StreamName", "", "Name of the stream being thinned" } |
|
private |
The documentation for this class was generated from the following files: