ATLAS Offline Software
Loading...
Searching...
No Matches
UnassociatedHitsGetterTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DERIVATIONFRAMEWORK_UNASSOCIATEDHITSGETTERTOOL_H
6#define DERIVATIONFRAMEWORK_UNASSOCIATEDHITSGETTERTOOL_H
7
10
14
15#include "GaudiKernel/ToolHandle.h"
16
21
24#include <atomic>
25#include <string>
26
28
29namespace DerivationFramework {
30
31class UnassociatedHitsGetterTool : public extends<AthAlgTool, IUnassociatedHitsGetterTool> {
32public:
33
34 UnassociatedHitsGetterTool(const std::string& type,
35 const std::string& name,
36 const IInterface* parent);
38
39 StatusCode initialize();
40
46 virtual const MinBiasPRDAssociation* get (bool allowMissing = false) const;
47
51 virtual void releaseObject (const MinBiasPRDAssociation* p) const;
52
53private:
54
55 /* StoreGate keys **/
57 { this, "TrackCollection", "Tracks", "" };
59 { this, "PixelClusters", "PixelClusters", ""};
61 { this, "SCTClusterContainer", "SCT_Clusters", ""};
63 { this, "TRTDriftCircleContainer", "TRT_DriftCircles", ""};
64
65 // For P->T converter of SCT_Clusters
66 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_SCTDetEleCollKey{this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"};
67
68 ToolHandle<Trk::IPRDtoTrackMapTool> m_assoTool
69 {this, "AssociationTool", "InDet::InDetPRDtoTrackMapToolGangedPixels" };
72}; // class UnassociatedHitsGetterTool
73
74} // namespace DerivationFramework
75
76
77#endif // not DERIVATIONFRAMEWORK_UNASSOCIATEDHITSGETTERTOOL_H
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< Trk::PRDtoTrackMap > m_prdToTrackMapKey
virtual const MinBiasPRDAssociation * get(bool allowMissing=false) const
get method: compute the number of unassociated his wrap the info in a MinBiasPRDAssociation object
virtual void releaseObject(const MinBiasPRDAssociation *p) const
delete the pointer created by get
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
UnassociatedHitsGetterTool(const std::string &type, const std::string &name, const IInterface *parent)
SG::ReadHandleKey< TrackCollection > m_trackCollection
SG::ReadHandleKey< InDet::PixelClusterContainer > m_pixelClusterContainer
SG::ReadHandleKey< InDet::SCT_ClusterContainer > m_SCTClusterContainer
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_TRTDriftCircleContainer
Property holding a SG store/key/clid from which a ReadHandle is made.
THE reconstruction tool.