ATLAS Offline Software
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 
23 namespace 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
DerivationFramework::SV1TrackThinning::m_inDetSGKey
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_inDetSGKey
Definition: SV1TrackThinning.h:38
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition: ThinningHandleKey.h:38
ExpressionParserUser.h
IThinningTool.h
DerivationFramework::SV1TrackThinning::m_jetSGKey
std::string m_jetSGKey
Definition: SV1TrackThinning.h:39
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::SV1TrackThinning::m_npass
std::atomic< unsigned int > m_npass
Definition: SV1TrackThinning.h:34
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
DerivationFramework::SV1TrackThinning::m_streamName
StringProperty m_streamName
Definition: SV1TrackThinning.h:36
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::SV1TrackThinning::m_ntot
std::atomic< unsigned int > m_ntot
Definition: SV1TrackThinning.h:34
AthAlgTool.h
DerivationFramework::SV1TrackThinning::finalize
virtual StatusCode finalize() override
Definition: SV1TrackThinning.cxx:56
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::SV1TrackThinning::~SV1TrackThinning
~SV1TrackThinning()
Definition: SV1TrackThinning.cxx:34
DerivationFramework::SV1TrackThinning
Definition: SV1TrackThinning.h:25
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
DerivationFramework::SV1TrackThinning::doThinning
virtual StatusCode doThinning() const override
Definition: SV1TrackThinning.cxx:65
DerivationFramework::SV1TrackThinning::m_selectionString
std::string m_selectionString
Definition: SV1TrackThinning.h:39
DerivationFramework::SV1TrackThinning::SV1TrackThinning
SV1TrackThinning(const std::string &t, const std::string &n, const IInterface *p)
Definition: SV1TrackThinning.cxx:20
TrackParticleContainer.h
DerivationFramework::SV1TrackThinning::initialize
virtual StatusCode initialize() override
Definition: SV1TrackThinning.cxx:38