ATLAS Offline Software
Loading...
Searching...
No Matches
StripInformationHelper.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 ACTSTRK_DATAPREPARATION_STRIPINFORMATIONHELPER_H
6#define ACTSTRK_DATAPREPARATION_STRIPINFORMATIONHELPER_H
7
9
10namespace ActsTrk {
11
14
16
22
23 public:
25
27 StripInformationHelper(const unsigned int& idHash,
28 const Amg::Vector3D& stripStart,
29 const Amg::Vector3D& stripEnd,
30 const Amg::Vector3D& beamSpotVertex,
31 const float& locx,
32 const size_t& clusterIndex,
33 const size_t& stripIndex);
35
37
38 virtual ~StripInformationHelper() = default;
42
44
45 void set(const unsigned int& idHash,
46 const Amg::Vector3D& stripStart,
47 const Amg::Vector3D& stripEnd,
48 const Amg::Vector3D& beamSpotVertex,
49 const float& locx,
50 const size_t& clusterIndex,
51 const size_t& stripIndex);
53
55
56 const unsigned int& idHash() const {return m_idHash;}
57 const size_t& clusterIndex() const {return m_clusterIndex;}
58 const Amg::Vector3D& stripCenter () const {return m_stripCenter ;}
59 const Amg::Vector3D& stripDirection () const {return m_stripDir ;}
60 const Amg::Vector3D& trajDirection () const {return m_trajDir ;}
61 const Amg::Vector3D& normal() const {return m_normal;}
62 const double& oneOverStrip() const {return m_oneOverStrip;}
63 const float& locX() const {return m_locX;}
64 const size_t& stripIndex() const {return m_stripIndex;}
65 Amg::Vector3D position(const double& shift) const;
67
68 private:
69
83 Amg::Vector3D m_normal {0., 0., 0.};
85 double m_oneOverStrip {0.};
87 float m_locX {0.};
89 size_t m_stripIndex {0};
91 size_t m_clusterIndex {0};
93 unsigned int m_idHash {0};
94 };
95
96} // end of name space
97
98#endif // ACTSTRKSPACEPOINTFORMATIONTOOL_STRIPINFORMATIONHELPER_H
const Amg::Vector3D & stripDirection() const
virtual ~StripInformationHelper()=default
void set(const unsigned int &idHash, const Amg::Vector3D &stripStart, const Amg::Vector3D &stripEnd, const Amg::Vector3D &beamSpotVertex, const float &locx, const size_t &clusterIndex, const size_t &stripIndex)
const unsigned int & idHash() const
StripInformationHelper & operator=(const StripInformationHelper &)=default
Amg::Vector3D position(const double &shift) const
const Amg::Vector3D & stripCenter() const
const Amg::Vector3D & trajDirection() const
StripInformationHelper(const StripInformationHelper &)=default
const Amg::Vector3D & normal() const
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
NeighbourIndices
Total number of neightbours and indices.
Eigen::Matrix< double, 3, 1 > Vector3D