ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardTracker/src/Plane.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
9
10namespace ForwardTracker {
11
21
22 void Plane::track(IParticle& particle) const {
23
24 particle.setBeamCoordinateShift(this);
25
26 if (particle.isOutOfAperture()) return;
27
28 if (particle.displacement().mag2() > ForwardTrackerConstants::beamPipeRadius2) particle.setOutOfAperture(true);
29 }
30
31 std::string Plane::str() const {
32
33 std::ostringstream ost;
34
35 ost << "m_label " << m_label << "\n"
36 << "m_side " << m_side << "\n"
37 << "m_frontFace " << m_frontFace << "\n"
38 << "m_rearFace " << m_rearFace << "\n"
39 << "m_position " << m_position << "\n";
40
41 return ost.str();
42 }
43}
#define y
#define x
#define z
void track(IParticle &) const
TransversePoint TransverseShift(double z)