ATLAS Offline Software
Loading...
Searching...
No Matches
ViewContainerThinning.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5*/
6
7// ViewContainerThinning.h
8// Header file for class ViewContainerThinning
9// Author: P-A Delsart
11#ifndef DERIVATIONFRAMEWORKJETETMISS_VIEWCONTAINERTHINNING_H
12#define DERIVATIONFRAMEWORKJETETMISS_VIEWCONTAINERTHINNING_H 1
13
14// STL includes
15#include <string>
16
17// FrameWork includes
19#include "GaudiKernel/ServiceHandle.h"
20
21// DerivationFrameworkInterfaces includes
28
29
30namespace DerivationFramework {
31
33 : public extends<AthAlgTool, IThinningTool>
34 {
35
37 // Public methods:
39 public:
41 using base_class::base_class;
42
43 // Athena algtool's Hooks
44 virtual StatusCode initialize() override;
45 virtual StatusCode finalize() override;
46 virtual StatusCode doThinning() const override;
47
48 protected:
49
50 template <class T>
51 StatusCode doThinningT (const SG::ThinningHandleKey<T>& key,
52 const SG::ReadHandleKey<T>& viewKey) const;
53
54 StringProperty m_streamName
55 { this, "StreamName", "", "Name of the stream being thinned" };
56
63
65 { this, "TrackParticleViewKey", "", "" };
67 { this, "CaloClusterViewKey", "", "" };
69 { this, "TruthParticleViewKey", "", "" };
70 };
71
72}
73
74#endif //> !DERIVATIONFRAMEWORKJETETMISS_VIEWCONTAINERTHINNING_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::TrackParticleContainer > m_trackParticleViewKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthParticleViewKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClusterViewKey
SG::ThinningHandleKey< xAOD::CaloClusterContainer > m_caloClusterKey
SG::ThinningHandleKey< xAOD::TruthParticleContainer > m_truthParticleKey
StatusCode doThinningT(const SG::ThinningHandleKey< T > &key, const SG::ReadHandleKey< T > &viewKey) const
virtual StatusCode doThinning() const override
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_trackParticleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
THE reconstruction tool.