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
10#include "Acts/SpacePointFormation/StripSpacePointBuilder.hpp"
11
12namespace ActsTrk {
13
16
18
24
25 public:
27
29 StripInformationHelper(const unsigned int& idHash,
30 const Amg::Vector3D& stripStart,
31 const Amg::Vector3D& stripEnd,
32 const Amg::Vector3D& beamSpotVertex,
33 const float& locx,
34 const size_t& clusterIndex,
35 const size_t& stripIndex);
37
39
40 virtual ~StripInformationHelper() = default;
44
46
47 void set(const unsigned int& idHash,
48 const Amg::Vector3D& stripStart,
49 const Amg::Vector3D& stripEnd,
50 const Amg::Vector3D& beamSpotVertex,
51 const float& locx,
52 const size_t& clusterIndex,
53 const size_t& stripIndex);
55
57
58 const unsigned int& idHash() const {return m_idHash;}
59 const size_t& clusterIndex() const {return m_clusterIndex;}
60 const Amg::Vector3D& stripCenter () const {return m_cache.mid ;}
61 const Amg::Vector3D& stripDirection () const {return m_cache.btmToTop ;}
62 const Amg::Vector3D& trajDirection () const {return m_cache.vtxToMid2 ;}
63 const Amg::Vector3D& normal() const {return m_cache.normal;}
64 const double& oneOverStrip() const {return m_cache.invLength;}
66 const Acts::StripSpacePointBuilder::ConstrainedStripCache& constrainedCache() const {return m_cache;}
67 const float& locX() const {return m_locX;}
68 const size_t& stripIndex() const {return m_stripIndex;}
69 Amg::Vector3D position(const double& shift) const;
71
72 private:
73
78 Acts::StripSpacePointBuilder::ConstrainedStripCache m_cache {};
80 float m_locX {0.};
82 size_t m_stripIndex {0};
84 size_t m_clusterIndex {0};
86 unsigned int m_idHash {0};
87 };
88
89} // end of name space
90
91#endif // ACTSTRKSPACEPOINTFORMATIONTOOL_STRIPINFORMATIONHELPER_H
const Amg::Vector3D & stripDirection() const
virtual ~StripInformationHelper()=default
Acts::StripSpacePointBuilder::ConstrainedStripCache m_cache
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 Acts::StripSpacePointBuilder::ConstrainedStripCache & constrainedCache() const
The same quantities in the layout Acts::StripSpacePointBuilder consumes.
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