#include <HITrackParticleThinningTool.h>
◆ HITrackParticleThinningTool()
DerivationFramework::HITrackParticleThinningTool::HITrackParticleThinningTool |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~HITrackParticleThinningTool()
DerivationFramework::HITrackParticleThinningTool::~HITrackParticleThinningTool |
( |
| ) |
|
◆ doThinning()
StatusCode DerivationFramework::HITrackParticleThinningTool::doThinning |
( |
| ) |
const |
|
overridevirtual |
Definition at line 66 of file HITrackParticleThinningTool.cxx.
69 const EventContext& ctx = Gaudi::Hive::currentContext();
83 return StatusCode::FAILURE;
91 for (
auto vertex : *vtxC) {
101 if (sumPt2Acc.isAvailable(*
vertex)) {
102 float sumPT = sumPt2Acc(*
vertex);
109 size_t ntp =
vertex->nTrackParticles();
118 if (!primary_vertex) {
123 std::vector<bool>
mask;
124 mask.reserve(tracks->size());
126 for (
auto tp : *tracks) {
131 mask.push_back(
static_cast<bool>(acceptData));
133 mask.push_back(
false);
139 return StatusCode::SUCCESS;
◆ finalize()
StatusCode DerivationFramework::HITrackParticleThinningTool::finalize |
( |
| ) |
|
|
override |
◆ initialize()
StatusCode DerivationFramework::HITrackParticleThinningTool::initialize |
( |
| ) |
|
|
override |
◆ m_inDetSGKey
◆ m_npass
std::atomic<unsigned int> DerivationFramework::HITrackParticleThinningTool::m_npass |
|
mutableprivate |
◆ m_ntot
std::atomic<unsigned int> DerivationFramework::HITrackParticleThinningTool::m_ntot |
|
mutableprivate |
◆ m_streamName
StringProperty DerivationFramework::HITrackParticleThinningTool::m_streamName { this, "StreamName", "", "Name of the stream being thinned" } |
|
private |
◆ m_trkSelTool
◆ m_vertex_key
std::string DerivationFramework::HITrackParticleThinningTool::m_vertex_key |
|
private |
◆ m_vertex_scheme
std::string DerivationFramework::HITrackParticleThinningTool::m_vertex_scheme |
|
private |
The documentation for this class was generated from the following files: