ATLAS Offline Software
Loading...
Searching...
No Matches
VSITrackParticleThinning.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// VSITrackParticleThinning.h, (c) ATLAS Detector software
8
9#ifndef DERIVATIONFRAMEWORK_VSITRACKPARTICLETHINNING_H
10#define DERIVATIONFRAMEWORK_VSITRACKPARTICLETHINNING_H
11
12#include <string>
13#include <atomic>
14
17#include "GaudiKernel/ToolHandle.h"
23
25
26namespace DerivationFramework {
27
29 class VSITrackParticleThinning : public extends<ExpressionParserUser<AthAlgTool, kNumDvTPThinningParser>, IThinningTool> {
30 public:
31 VSITrackParticleThinning(const std::string& t, const std::string& n, const IInterface* p);
33 virtual StatusCode initialize() override;
34 virtual StatusCode finalize() override;
35 virtual StatusCode doThinning() const override;
36
37 private:
38 mutable std::atomic<unsigned int> m_ntot {};
39 mutable std::atomic<unsigned int> m_npass {};
40
41 StringProperty m_streamName
42 { this, "StreamName", "", "Name of the stream being thinned" };
44 { this, "InDetTrackParticlesKey", "InDetTrackParticles", "" };
45 StringProperty m_selectionString
46 { this, "SelectionString", "", "" };
48 { this, "TrackSelectionString", "", "" };
49
50 StringArrayProperty m_augVerStrings
51 { this, "AugVerStrings", {""}, "List of augVerStrings to consider" };
52
53 };
54}
55
56#endif // DERIVATIONFRAMEWORK_VSITRACKPARTICLETHINNING_H
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
VSITrackParticleThinning(const std::string &t, const std::string &n, const IInterface *p)
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_inDetSGKey
HandleKey object for adding thinning to an object.
THE reconstruction tool.