ATLAS Offline Software
Loading...
Searching...
No Matches
SV1TrackThinning.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// SV1TrackThinning.h, (c) ATLAS Detector software
8
9#ifndef DERIVATIONFRAMEWORK_SV1TRACKTHINNING_H
10#define DERIVATIONFRAMEWORK_SV1TRACKTHINNING_H
11
12#include <string>
13#include <atomic>
14
17#include "GaudiKernel/ToolHandle.h"
21
22
23namespace DerivationFramework {
24
25 class SV1TrackThinning : public extends<ExpressionParserUser<AthAlgTool>, IThinningTool> {
26 public:
27 SV1TrackThinning(const std::string& t, const std::string& n, const IInterface* p);
29 virtual StatusCode initialize() override;
30 virtual StatusCode finalize() override;
31 virtual StatusCode doThinning() const override;
32
33 private:
34 mutable std::atomic<unsigned int> m_ntot, m_npass;
35 StringProperty m_streamName
36 { this, "StreamName", "", "Name of the stream being thinned" };
38 { this, "InDetTrackParticlesKey", "InDetTrackParticles", "" };
40 };
41}
42
43#endif // DERIVATIONFRAMEWORK_SV1TRACKTHINNING_H
HandleKey object for adding thinning to an object.
std::atomic< unsigned int > m_npass
std::atomic< unsigned int > m_ntot
virtual StatusCode doThinning() const override
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_inDetSGKey
virtual StatusCode initialize() override
virtual StatusCode finalize() override
SV1TrackThinning(const std::string &t, const std::string &n, const IInterface *p)
HandleKey object for adding thinning to an object.
THE reconstruction tool.