ATLAS Offline Software
IStripSpacePointFormationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 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 
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::vector<std::size_t> measurementIndexes {};
26  float topHalfStripLength {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:
40 
41 
42  virtual StatusCode produceSpacePoints(const EventContext& ctx,
43  const xAOD::StripClusterContainer& clusterContainer,
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
SiElementPropertiesTable.h
ActsTrk::StripSP::cov_z
float cov_z
Definition: IStripSpacePointFormationTool.h:24
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
ActsTrk::StripSP
Definition: IStripSpacePointFormationTool.h:18
ContainerAccessor
Definition: ContainerAccessor.h:25
InDetDD::SiDetectorElementCollection
Definition: SiDetectorElementCollection.h:30
ActsTrk::StripSP::measurementIndexes
std::vector< std::size_t > measurementIndexes
Definition: IStripSpacePointFormationTool.h:25
ActsTrk::StripSP::topStripDirection
Eigen::Matrix< float, 3, 1 > topStripDirection
Definition: IStripSpacePointFormationTool.h:28
ActsTrk::IStripSpacePointFormationTool
Definition: IStripSpacePointFormationTool.h:37
ActsTrk::StripSP::cov_r
float cov_r
Definition: IStripSpacePointFormationTool.h:23
ActsTrk::StripSP::globPos
Eigen::Matrix< float, 3, 1 > globPos
Definition: IStripSpacePointFormationTool.h:22
ActsTrk::StripSP::topHalfStripLength
float topHalfStripLength
Definition: IStripSpacePointFormationTool.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ActsTrk::StripSP::bottomHalfStripLength
float bottomHalfStripLength
Definition: IStripSpacePointFormationTool.h:27
python.JsonUtils.properties
properties
Definition: JsonUtils.py:96
ActsTrk::StripSP::bottomStripDirection
Eigen::Matrix< float, 3, 1 > bottomStripDirection
Definition: IStripSpacePointFormationTool.h:29
ActsTrk::IStripSpacePointFormationTool::DeclareInterfaceID
DeclareInterfaceID(IStripSpacePointFormationTool, 1, 0)
InDet::SiElementPropertiesTable
Definition: SiElementPropertiesTable.h:30
ActsTrk::StripSP::StripSP
StripSP()=default
SiDetectorElementCollection.h
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
ActsTrk::StripSP::stripCenterDistance
Eigen::Matrix< float, 3, 1 > stripCenterDistance
Definition: IStripSpacePointFormationTool.h:30
ContainerAccessor.h
SpacePointContainer.h
StripClusterContainer.h
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:34
ActsTrk::StripSP::topStripCenter
Eigen::Matrix< float, 3, 1 > topStripCenter
Definition: IStripSpacePointFormationTool.h:31
ActsTrk::StripSP::idHashes
std::vector< unsigned int > idHashes
Definition: IStripSpacePointFormationTool.h:21