ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
SiClusterizationTool
SiClusterizationTool
PixelGangedAmbiguitiesFinder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
//PixelGangedAmbiguitiesFinder.h
8
// (c) ATLAS Detector software
10
// Finds pixel clusters with a ganged pixel in common
12
//
14
// First version 28/01/2004 Tommaso Lari
15
//
17
18
#ifndef SICLUSTERIZATIONTOOL_PIXELGANGEDAMBIGUITIESFINDER_H
19
#define SICLUSTERIZATIONTOOL_PIXELGANGEDAMBIGUITIESFINDER_H
20
21
#include "
AthenaBaseComps/AthAlgTool.h
"
22
#include "Identifier/Identifier.h"
23
#include "
InDetIdentifier/PixelID.h
"
24
#include "
InDetPrepRawData/PixelCluster.h
"
25
#include "
InDetPrepRawData/PixelClusterCollection.h
"
26
#include "
InDetPrepRawData/PixelGangedClusterAmbiguities.h
"
27
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
28
#include "
StoreGate/ReadCondHandleKey.h
"
29
30
namespace
InDetDD
{
31
class
SiDetectorElement
;
32
}
33
34
35
namespace
InDet
{
36
37
static
const
InterfaceID
IID_PixelGangedAmbiguitiesFinder
(
"InDet::PixelGangedAmbiguitiesFinder"
, 1, 0);
38
39
class
PixelGangedAmbiguitiesFinder
:
public
AthAlgTool
{
40
42
// Public methods:
44
public
:
45
46
PixelGangedAmbiguitiesFinder
(
const
std::string&
type
,
47
const
std::string& name,
48
const
IInterface* parent);
49
~PixelGangedAmbiguitiesFinder
() =
default
;
50
51
static
const
InterfaceID&
interfaceID
() {
return
IID_PixelGangedAmbiguitiesFinder
; };
52
53
virtual
StatusCode
initialize
();
54
55
// Called by the PixelClusterization algorithms of InDetPrepRawDataFormation
56
// A map containing the pairs of Pixel Clusters which shares the same
57
// ganged pixel is created.
58
// Inputs are the cluster collection of a module, and the silicon
59
// detector manager, and the map to be filled.
60
void
execute
(
PixelClusterCollection
* collection,
61
PixelGangedClusterAmbiguities
&
map
)
const
;
62
63
private
:
64
65
typedef
InDetDD::SiDetectorElement
SiDetectorElement
;
66
typedef
InDetDD::SiLocalPosition
SiLocalPosition
;
67
68
// If possibile, internally solve ganged pixel ambiguities
69
BooleanProperty
m_internalSolving
{
this
,
"InternalSolving"
,
false
,
"Standalone resolution of ganged pixel ambiguities"
};
70
71
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection>
m_pixelDetEleCollKey
{
this
,
"PixelDetEleCollKey"
,
"PixelDetectorElementCollection"
,
"Key of SiDetectorElementCollection for Pixel"
};
72
73
// Determines if a pixel cell (whose identifier is the first argument) is
74
// a ganged pixel. If this is the case, the last argument assumes the
75
// value of the identifier of the cell it is ganged with.
76
// The second argument is the pixel module the hit belongs to.
77
78
static
bool
isGanged
(
const
Identifier
& rdoID,
79
const
InDetDD::SiDetectorElement
* element,
80
Identifier
& gangedID) ;
81
82
};
83
84
}
85
86
#endif
// SICLUSTERIZATIONTOOL_PIXELGANGEDAMBIGUITIESFINDER_H
AthAlgTool.h
PixelCluster.h
PixelClusterCollection.h
PixelGangedClusterAmbiguities.h
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
ReadCondHandleKey.h
SiDetectorElementCollection.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
InDetDD::SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
InDetDD::SiLocalPosition
Class to represent a position in the natural frame of a silicon sensor, for Pixel and SCT For Pixel: ...
Definition
SiLocalPosition.h:31
InDet::PixelGangedAmbiguitiesFinder::isGanged
static bool isGanged(const Identifier &rdoID, const InDetDD::SiDetectorElement *element, Identifier &gangedID)
Definition
PixelGangedAmbiguitiesFinder.cxx:323
InDet::PixelGangedAmbiguitiesFinder::interfaceID
static const InterfaceID & interfaceID()
Definition
PixelGangedAmbiguitiesFinder.h:51
InDet::PixelGangedAmbiguitiesFinder::SiLocalPosition
InDetDD::SiLocalPosition SiLocalPosition
Definition
PixelGangedAmbiguitiesFinder.h:66
InDet::PixelGangedAmbiguitiesFinder::m_pixelDetEleCollKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Definition
PixelGangedAmbiguitiesFinder.h:71
InDet::PixelGangedAmbiguitiesFinder::~PixelGangedAmbiguitiesFinder
~PixelGangedAmbiguitiesFinder()=default
InDet::PixelGangedAmbiguitiesFinder::execute
void execute(PixelClusterCollection *collection, PixelGangedClusterAmbiguities &map) const
Definition
PixelGangedAmbiguitiesFinder.cxx:54
InDet::PixelGangedAmbiguitiesFinder::PixelGangedAmbiguitiesFinder
PixelGangedAmbiguitiesFinder(const std::string &type, const std::string &name, const IInterface *parent)
Definition
PixelGangedAmbiguitiesFinder.cxx:32
InDet::PixelGangedAmbiguitiesFinder::SiDetectorElement
InDetDD::SiDetectorElement SiDetectorElement
Definition
PixelGangedAmbiguitiesFinder.h:65
InDet::PixelGangedAmbiguitiesFinder::initialize
virtual StatusCode initialize()
Definition
PixelGangedAmbiguitiesFinder.cxx:41
InDet::PixelGangedAmbiguitiesFinder::m_internalSolving
BooleanProperty m_internalSolving
Definition
PixelGangedAmbiguitiesFinder.h:69
InDet::PixelClusterCollection
Trk::PrepRawDataCollection< PixelCluster > PixelClusterCollection
Definition
PixelClusterCollection.h:26
InDet::PixelGangedClusterAmbiguities
std::multimap< const SiCluster *, const SiCluster *, ::InDet::compare_SiCluster > PixelGangedClusterAmbiguities
Definition
PixelGangedClusterAmbiguities.h:42
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
map
STL class.
Identifier
Definition
IdentifierFieldParser.cxx:14
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
InDet::IID_PixelGangedAmbiguitiesFinder
static const InterfaceID IID_PixelGangedAmbiguitiesFinder("InDet::PixelGangedAmbiguitiesFinder", 1, 0)
type
Generated on
for ATLAS Offline Software by
1.17.0