ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsDataPreparation
src
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
8
#include "
GeoPrimitives/GeoPrimitives.h
"
9
10
#include "Acts/SpacePointFormation/StripSpacePointBuilder.hpp"
11
12
namespace
ActsTrk
{
13
15
enum
NeighbourIndices
{
ThisOne
,
Opposite
,
PhiMinus
,
PhiPlus
,
EtaMinus
,
EtaPlus
,
nNeighbours
};
16
17
class
StripInformationHelper
{
18
24
25
public
:
27
28
StripInformationHelper
() =
default
;
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
;
41
StripInformationHelper
(
const
StripInformationHelper
&) =
default
;
42
StripInformationHelper
&
operator =
(
const
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
GeoPrimitives.h
ActsTrk::StripInformationHelper::stripDirection
const Amg::Vector3D & stripDirection() const
Definition
StripInformationHelper.h:61
ActsTrk::StripInformationHelper::stripIndex
const size_t & stripIndex() const
Definition
StripInformationHelper.h:68
ActsTrk::StripInformationHelper::~StripInformationHelper
virtual ~StripInformationHelper()=default
ActsTrk::StripInformationHelper::StripInformationHelper
StripInformationHelper()=default
ActsTrk::StripInformationHelper::locX
const float & locX() const
Definition
StripInformationHelper.h:67
ActsTrk::StripInformationHelper::m_cache
Acts::StripSpacePointBuilder::ConstrainedStripCache m_cache
Definition
StripInformationHelper.h:78
ActsTrk::StripInformationHelper::set
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)
Definition
StripInformationHelper.cxx:20
ActsTrk::StripInformationHelper::constrainedCache
const Acts::StripSpacePointBuilder::ConstrainedStripCache & constrainedCache() const
The same quantities in the layout Acts::StripSpacePointBuilder consumes.
Definition
StripInformationHelper.h:66
ActsTrk::StripInformationHelper::clusterIndex
const size_t & clusterIndex() const
Definition
StripInformationHelper.h:59
ActsTrk::StripInformationHelper::idHash
const unsigned int & idHash() const
Definition
StripInformationHelper.h:58
ActsTrk::StripInformationHelper::m_idHash
unsigned int m_idHash
Definition
StripInformationHelper.h:86
ActsTrk::StripInformationHelper::operator=
StripInformationHelper & operator=(const StripInformationHelper &)=default
ActsTrk::StripInformationHelper::m_stripIndex
size_t m_stripIndex
Definition
StripInformationHelper.h:82
ActsTrk::StripInformationHelper::position
Amg::Vector3D position(const double &shift) const
Definition
StripInformationHelper.cxx:39
ActsTrk::StripInformationHelper::m_clusterIndex
size_t m_clusterIndex
Definition
StripInformationHelper.h:84
ActsTrk::StripInformationHelper::stripCenter
const Amg::Vector3D & stripCenter() const
Definition
StripInformationHelper.h:60
ActsTrk::StripInformationHelper::trajDirection
const Amg::Vector3D & trajDirection() const
Definition
StripInformationHelper.h:62
ActsTrk::StripInformationHelper::StripInformationHelper
StripInformationHelper(const StripInformationHelper &)=default
ActsTrk::StripInformationHelper::normal
const Amg::Vector3D & normal() const
Definition
StripInformationHelper.h:63
ActsTrk::StripInformationHelper::oneOverStrip
const double & oneOverStrip() const
Definition
StripInformationHelper.h:64
ActsTrk::StripInformationHelper::m_locX
float m_locX
Definition
StripInformationHelper.h:80
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
ActsTrk::NeighbourIndices
NeighbourIndices
Total number of neightbours and indices.
Definition
StripInformationHelper.h:15
ActsTrk::PhiMinus
@ PhiMinus
Definition
StripInformationHelper.h:15
ActsTrk::nNeighbours
@ nNeighbours
Definition
StripInformationHelper.h:15
ActsTrk::ThisOne
@ ThisOne
Definition
StripInformationHelper.h:15
ActsTrk::EtaMinus
@ EtaMinus
Definition
StripInformationHelper.h:15
ActsTrk::Opposite
@ Opposite
Definition
StripInformationHelper.h:15
ActsTrk::EtaPlus
@ EtaPlus
Definition
StripInformationHelper.h:15
ActsTrk::PhiPlus
@ PhiPlus
Definition
StripInformationHelper.h:15
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
Generated on
for ATLAS Offline Software by
1.17.0