ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsToolInterfaces
ActsToolInterfaces
IStripSpacePointFormationTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ACTSTOOLINTERFACES_ISTRIPSPACEPOINTFORMATIONTOOL_H
6
#define ACTSTOOLINTERFACES_ISTRIPSPACEPOINTFORMATIONTOOL_H
7
8
// Athena
9
#include "GaudiKernel/IAlgTool.h"
10
11
#include "
InDetReadoutGeometry/SiDetectorElementCollection.h
"
12
#include "
SiSpacePointFormation/SiElementPropertiesTable.h
"
13
#include "
xAODInDetMeasurement/StripClusterContainer.h
"
14
#include "
xAODInDetMeasurement/SpacePointContainer.h
"
15
#include "
xAODInDetMeasurement/ContainerAccessor.h
"
16
17
namespace
ActsTrk
{
18
struct
StripSP
{
19
StripSP
() =
default
;
20
21
std::vector<unsigned int>
idHashes
{};
22
Eigen::Matrix<float,3,1>
globPos
{0, 0, 0};
23
float
cov_r
{0};
24
float
cov_z
{0};
25
std::array<std::size_t,2>
measurementIndexes
{};
26
float
topHalfStripLength
{0};
27
float
bottomHalfStripLength
{0};
28
Eigen::Matrix<float,3,1>
topStripDirection
{0, 0, 0};
29
Eigen::Matrix<float,3,1>
bottomStripDirection
{0, 0, 0};
30
Eigen::Matrix<float,3,1>
stripCenterDistance
{0, 0, 0};
31
Eigen::Matrix<float,3,1>
topStripCenter
{0, 0, 0};
32
};
33
36
37
class
IStripSpacePointFormationTool
:
virtual
public
IAlgTool {
38
public
:
39
DeclareInterfaceID
(
IStripSpacePointFormationTool
, 1, 0);
40
41
42
virtual
StatusCode
produceSpacePoints
(
const
EventContext& ctx,
43
const
xAOD::StripClusterContainer
& clusterContainer,
44
const
InDet::SiElementPropertiesTable
& properties,
45
const
InDetDD::SiDetectorElementCollection
& elements,
46
const
Amg::Vector3D
& beamSpotVertex,
47
std::vector<StripSP>& spacePoints,
48
std::vector<StripSP>& overlapSpacePoints,
49
bool
processOverlaps,
50
const
std::vector<IdentifierHash>& hashesToProcess,
51
const
ContainerAccessor<xAOD::StripCluster, IdentifierHash, 1>
& stripAccessor)
const
= 0;
52
53
};
54
55
}
// ACTSTOOLINTERFACES_ISTRIPSPACEPOINTFORMATIONTOOL_H
56
57
#endif
ContainerAccessor.h
SpacePointContainer.h
SiDetectorElementCollection.h
SiElementPropertiesTable.h
StripClusterContainer.h
ActsTrk::IStripSpacePointFormationTool
Definition
IStripSpacePointFormationTool.h:37
ActsTrk::IStripSpacePointFormationTool::DeclareInterfaceID
DeclareInterfaceID(IStripSpacePointFormationTool, 1, 0)
ActsTrk::IStripSpacePointFormationTool::produceSpacePoints
virtual StatusCode produceSpacePoints(const EventContext &ctx, const xAOD::StripClusterContainer &clusterContainer, const InDet::SiElementPropertiesTable &properties, const InDetDD::SiDetectorElementCollection &elements, const Amg::Vector3D &beamSpotVertex, std::vector< StripSP > &spacePoints, std::vector< StripSP > &overlapSpacePoints, bool processOverlaps, const std::vector< IdentifierHash > &hashesToProcess, const ContainerAccessor< xAOD::StripCluster, IdentifierHash, 1 > &stripAccessor) const =0
ContainerAccessor
Class implementing how to access a container.
Definition
ContainerAccessor.h:25
InDetDD::SiDetectorElementCollection
Class to hold the SiDetectorElement objects to be put in the detector store.
Definition
SiDetectorElementCollection.h:27
InDet::SiElementPropertiesTable
Definition
SiElementPropertiesTable.h:26
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
xAOD::StripClusterContainer
StripClusterContainer_v1 StripClusterContainer
Define the version of the strip cluster container.
Definition
StripClusterContainer.h:14
ActsTrk::StripSP::topHalfStripLength
float topHalfStripLength
Definition
IStripSpacePointFormationTool.h:26
ActsTrk::StripSP::stripCenterDistance
Eigen::Matrix< float, 3, 1 > stripCenterDistance
Definition
IStripSpacePointFormationTool.h:30
ActsTrk::StripSP::bottomStripDirection
Eigen::Matrix< float, 3, 1 > bottomStripDirection
Definition
IStripSpacePointFormationTool.h:29
ActsTrk::StripSP::bottomHalfStripLength
float bottomHalfStripLength
Definition
IStripSpacePointFormationTool.h:27
ActsTrk::StripSP::idHashes
std::vector< unsigned int > idHashes
Definition
IStripSpacePointFormationTool.h:21
ActsTrk::StripSP::globPos
Eigen::Matrix< float, 3, 1 > globPos
Definition
IStripSpacePointFormationTool.h:22
ActsTrk::StripSP::topStripDirection
Eigen::Matrix< float, 3, 1 > topStripDirection
Definition
IStripSpacePointFormationTool.h:28
ActsTrk::StripSP::StripSP
StripSP()=default
ActsTrk::StripSP::topStripCenter
Eigen::Matrix< float, 3, 1 > topStripCenter
Definition
IStripSpacePointFormationTool.h:31
ActsTrk::StripSP::cov_r
float cov_r
Definition
IStripSpacePointFormationTool.h:23
ActsTrk::StripSP::cov_z
float cov_z
Definition
IStripSpacePointFormationTool.h:24
ActsTrk::StripSP::measurementIndexes
std::array< std::size_t, 2 > measurementIndexes
Definition
IStripSpacePointFormationTool.h:25
Generated on
for ATLAS Offline Software by
1.17.0