ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
UnassociatedHitsGetterTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_UNASSOCIATEDHITSGETTERTOOL_H
6
#define DERIVATIONFRAMEWORK_UNASSOCIATEDHITSGETTERTOOL_H
7
8
#include "
DerivationFrameworkInDet/IUnassociatedHitsGetterTool.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
11
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
StoreGate/ReadHandleKey.h
"
14
15
#include "GaudiKernel/ToolHandle.h"
16
17
#include "
TrkTrack/TrackCollection.h
"
18
#include "
InDetPrepRawData/PixelClusterContainer.h
"
19
#include "
InDetPrepRawData/SCT_ClusterContainer.h
"
20
#include "
InDetPrepRawData/TRT_DriftCircleContainer.h
"
21
22
#include "
TrkToolInterfaces/IPRDtoTrackMapTool.h
"
23
#include "
TrkToolInterfaces/IPRD_AssociationTool.h
"
24
#include <atomic>
25
#include <string>
26
27
class
MinBiasPRDAssociation
;
28
29
namespace
DerivationFramework
{
30
31
class
UnassociatedHitsGetterTool
:
public
extends<AthAlgTool, IUnassociatedHitsGetterTool> {
32
public
:
33
34
UnassociatedHitsGetterTool
(
const
std::string&
type
,
35
const
std::string& name,
36
const
IInterface* parent);
37
virtual
~UnassociatedHitsGetterTool
();
38
39
virtual
StatusCode
initialize
()
override
;
40
46
virtual
const
MinBiasPRDAssociation
*
get
(
const
EventContext& ctx,
bool
allowMissing =
false
)
const override
;
47
51
virtual
void
releaseObject
(
const
MinBiasPRDAssociation
* p)
const override
;
52
53
private
:
54
55
/* StoreGate keys **/
56
SG::ReadHandleKey<TrackCollection>
m_trackCollection
57
{
this
,
"TrackCollection"
,
"Tracks"
,
""
};
58
SG::ReadHandleKey<InDet::PixelClusterContainer>
m_pixelClusterContainer
59
{
this
,
"PixelClusters"
,
"PixelClusters"
,
""
};
60
SG::ReadHandleKey<InDet::SCT_ClusterContainer>
m_SCTClusterContainer
61
{
this
,
"SCTClusterContainer"
,
"SCT_Clusters"
,
""
};
62
SG::ReadHandleKey<InDet::TRT_DriftCircleContainer>
m_TRTDriftCircleContainer
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"
};
70
SG::ReadHandleKey<Trk::PRDtoTrackMap>
m_prdToTrackMapKey
71
{
this
,
"PRDtoTrackMap"
,
""
,
""
};
72
};
// class UnassociatedHitsGetterTool
73
74
}
// namespace DerivationFramework
75
76
77
#endif
// not DERIVATIONFRAMEWORK_UNASSOCIATEDHITSGETTERTOOL_H
AthAlgTool.h
IPRD_AssociationTool.h
IPRDtoTrackMapTool.h
IUnassociatedHitsGetterTool.h
PixelClusterContainer.h
ReadCondHandleKey.h
SCT_ClusterContainer.h
SiDetectorElementCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TRT_DriftCircleContainer.h
TrackCollection.h
DerivationFramework::UnassociatedHitsGetterTool::m_assoTool
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
Definition
UnassociatedHitsGetterTool.h:69
DerivationFramework::UnassociatedHitsGetterTool::~UnassociatedHitsGetterTool
virtual ~UnassociatedHitsGetterTool()
DerivationFramework::UnassociatedHitsGetterTool::initialize
virtual StatusCode initialize() override
Definition
UnassociatedHitsGetterTool.cxx:29
DerivationFramework::UnassociatedHitsGetterTool::m_prdToTrackMapKey
SG::ReadHandleKey< Trk::PRDtoTrackMap > m_prdToTrackMapKey
Definition
UnassociatedHitsGetterTool.h:71
DerivationFramework::UnassociatedHitsGetterTool::releaseObject
virtual void releaseObject(const MinBiasPRDAssociation *p) const override
delete the pointer created by get
Definition
UnassociatedHitsGetterTool.cxx:214
DerivationFramework::UnassociatedHitsGetterTool::m_SCTDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
Definition
UnassociatedHitsGetterTool.h:66
DerivationFramework::UnassociatedHitsGetterTool::UnassociatedHitsGetterTool
UnassociatedHitsGetterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
UnassociatedHitsGetterTool.cxx:20
DerivationFramework::UnassociatedHitsGetterTool::get
virtual const MinBiasPRDAssociation * get(const EventContext &ctx, bool allowMissing=false) const override
get method: compute the number of unassociated his wrap the info in a MinBiasPRDAssociation object
Definition
UnassociatedHitsGetterTool.cxx:47
DerivationFramework::UnassociatedHitsGetterTool::m_trackCollection
SG::ReadHandleKey< TrackCollection > m_trackCollection
Definition
UnassociatedHitsGetterTool.h:57
DerivationFramework::UnassociatedHitsGetterTool::m_pixelClusterContainer
SG::ReadHandleKey< InDet::PixelClusterContainer > m_pixelClusterContainer
Definition
UnassociatedHitsGetterTool.h:59
DerivationFramework::UnassociatedHitsGetterTool::m_SCTClusterContainer
SG::ReadHandleKey< InDet::SCT_ClusterContainer > m_SCTClusterContainer
Definition
UnassociatedHitsGetterTool.h:61
DerivationFramework::UnassociatedHitsGetterTool::m_TRTDriftCircleContainer
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_TRTDriftCircleContainer
Definition
UnassociatedHitsGetterTool.h:63
MinBiasPRDAssociation
Definition
MinBiasPRDAssociation.h:11
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
type
Generated on
for ATLAS Offline Software by
1.17.0