ATLAS Offline Software
Loading...
Searching...
No Matches
DiTauTrackParticleThinning.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// DiTauTrackParticleThinning.h, (c) ATLAS Detector software
8
9#ifndef DERIVATIONFRAMEWORK_DITAUTRACKPARTICLETHINNING_H
10#define DERIVATIONFRAMEWORK_DITAUTRACKPARTICLETHINNING_H
11
12#include <string>
13#include <atomic>
14
17#include "GaudiKernel/ToolHandle.h"
24
26
27namespace DerivationFramework {
28
29 class DiTauTrackParticleThinning : public extends<ExpressionParserUser<AthAlgTool>, IThinningTool> {
30 public:
31 DiTauTrackParticleThinning(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 StringProperty m_streamName
41 { this, "StreamName", "", "Name of the stream being thinned" };
45 { this, "InDetTrackParticlesKey", "InDetTrackParticles", "" };
46 Gaudi::Property<std::string> m_selectionString
47 { this, "SelectionString", "", ""};
48 };
49}
50
51#endif // DERIVATIONFRAMEWORK_DITAUTRACKPARTICLETHINNING_H
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
SG::ReadHandleKey< xAOD::DiTauJetContainer > m_ditauKey
DiTauTrackParticleThinning(const std::string &t, const std::string &n, const IInterface *p)
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_inDetSGKey
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
THE reconstruction tool.