ATLAS Offline Software
Loading...
Searching...
No Matches
Thin_vtxDuplicates.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DERIVATIONFRAMEWORK_Thin_vtxDuplicates_H
6#define DERIVATIONFRAMEWORK_Thin_vtxDuplicates_H
7
11#include "GaudiKernel/ToolHandle.h"
14class IThinningSvc;
15
16namespace DerivationFramework {
17
18 class Thin_vtxDuplicates : public extends<AthAlgTool, IThinningTool> {
19 public:
20 Thin_vtxDuplicates(const std::string& t, const std::string& n, const IInterface* p);
22 virtual StatusCode initialize();
23 virtual StatusCode finalize();
24 virtual StatusCode doThinning() const;
25
26 private:
28 StringProperty m_streamName{ this, "StreamName", "", "Name of the stream being thinned" };
29 mutable std::atomic<unsigned int> m_nVtxTot, m_nVtxPass;
30
33 };
34}
35
36#endif
HandleKey object for adding thinning to an object.
SG::ThinningHandleKey< xAOD::VertexContainer > m_vertexContainerNames
SG::ReadDecorHandleKeyArray< xAOD::VertexContainer > m_passFlags
Thin_vtxDuplicates(const std::string &t, const std::string &n, const IInterface *p)
HandleKey object for adding thinning to an object.
THE reconstruction tool.
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray