ATLAS Offline Software
Loading...
Searching...
No Matches
DigitizationCell.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// DigitizationCell.h, ATLAS Detector software
8
9#ifndef TRKDIGEVENT_DIGITIZATIONCELL_H
10#define TRKDIGEVENT_DIGITIZATIONCELL_H
11
12// GeoPrimitives
14
15namespace Trk {
16
18 typedef std::pair<size_t,size_t> DigitizationCell;
19
22
23 double stepLength;
24 double driftLength;
30
33 stepLength(0.),
34 driftLength(0.),
35 stepCell(std::pair<size_t,size_t>(0,0)),
36 stepEntry(0.,0.,0.),
37 stepExit(0.,0.,0.),
39 stepCellCenter(0.,0.)
40 {}
41
43 DigitizationStep(double sl, double dl,
45 const Amg::Vector3D& entryP,
46 const Amg::Vector3D& exitP,
47 const Amg::Vector2D& projectedPosition,
48 const Amg::Vector2D& cellPosition) :
49 stepLength(sl),
50 driftLength(dl),
51 stepCell(dc),
52 stepEntry(entryP),
53 stepExit(exitP),
54 stepReadoutProjected(projectedPosition),
55 stepCellCenter(cellPosition)
56 {}
57
58
59 };
60
61}
62
63#endif
64
STL class.
Eigen::Matrix< double, 2, 1 > Vector2D
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
std::pair< size_t, size_t > DigitizationCell
STL namespace.
Amg::Vector2D stepCellCenter
this is the cell position
DigitizationStep(double sl, double dl, DigitizationCell dc, const Amg::Vector3D &entryP, const Amg::Vector3D &exitP, const Amg::Vector2D &projectedPosition, const Amg::Vector2D &cellPosition)
Constructor with arguments.
Amg::Vector3D stepEntry
this is the Entry point into the segment
DigitizationCell stepCell
this is the cell identifier of the segment
Amg::Vector3D stepExit
this is the Exit point from the segment
double stepLength
this is the path length within the cell
double driftLength
this is the path length of the setp center to the readout surface
DigitizationStep()
Standard constructor.
Amg::Vector2D stepReadoutProjected
this is the projected position at the readout surface