|
ATLAS Offline Software
|
Go to the documentation of this file.
24 , SpaceTimePointBase(kNoValue, kNoValue, 1.)
25 ,
Trk::SurfacePtrHolderImplDetEl<
Trk::PlaneSurface>(nullptr)
33 , SpaceTimePointBase(seg)
34 ,
Trk::SurfacePtrHolderImplDetEl<
Trk::PlaneSurface>(nullptr)
35 , m_globalPosition(seg.m_globalPosition)
36 , m_globalDirection(seg.m_globalDirection)
37 , m_localDirection(seg.m_localDirection)
64 :
Segment(std::move(locpars), std::move(locerr),
65 std::move(cmeas), fqual,
author)
66 , SpaceTimePointBase(kNoValue, kNoValue, 1.)
67 ,
Trk::SurfacePtrHolderImplDetEl<
Trk::PlaneSurface>(psf)
83 :
Segment(
Trk::LocalParameters(), std::move(locErr),
84 std::move(cmeas), fqual,
author)
85 , SpaceTimePointBase(kNoValue, kNoValue, 1.)
86 ,
Trk::SurfacePtrHolderImplDetEl<
Trk::PlaneSurface>(psf)
89 , m_localDirection(locSegDir)
98 std::array<Trk::DefinedParameter, 4>
pars = {
115 double sintheta = sctheta.
sn;
116 double costheta = sctheta.
cs;
117 double sinphi = scphi.
sn;
118 double cosphi = scphi.
cs;
120 Amg::Vector3D(cosphi * sintheta, sinphi * sintheta, costheta);
128 out <<
"Muon::MuonSegment " << std::endl;
129 out <<
" - global position : " << std::endl
132 out <<
" - local parameters : " << std::endl
134 out <<
" - local Err Matrix : ";
137 out <<
" - fit Quality : " << std::endl
140 out <<
" - fit Quality : NO " << std::endl;
141 out <<
" - associated Surface : " << std::endl
146 <<
" RIO_OnTrack object" << std::endl;
147 unsigned int numRoT = 1;
151 out <<
"RoT " << numRoT++ << std::endl << *rot << std::endl;
160 out <<
"Muon::MuonSegment " << std::endl;
161 out <<
" - global position : " << std::endl
164 out <<
" - local parameters : " << std::endl
166 out <<
" - local Err Matrix : ";
169 out <<
" - fit Quality : " << std::endl
172 out <<
" - fit Quality : NO " << std::endl;
173 out <<
" - associated Surface : " << std::endl
178 <<
" RIO_OnTrack object" << std::endl;
179 unsigned int numRoT = 1;
183 out <<
"RoT " << numRoT++ << std::endl << *rot << std::endl;
float errorTime() const
access to the error on the measured time
void localToGlobalDirection(const Trk::LocalDirection &locdir, Amg::Vector3D &globdir) const
This method transforms a local direction wrt the plane to a global direction.
virtual ~MuonSegment()
Destructor.
SpaceTimePointBase & operator=(const SpaceTimePointBase &stpb)=default
Assignment operator.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
const TrkDetElementBase * associatedDetectorElement() const
return associated Detector Element
SurfacePtrHolderImplDetEl & operator=(const SurfacePtrHolderImplDetEl &other)
copy assingmemnt if surface is free we clone/copy.
static const float kNoValue
define invalid value, used when the segment has no fitted t0
Eigen::Matrix< double, 2, 1 > Vector2D
Trk::LocalDirection m_localDirection
LocalDirection.
Helper to simultaneously calculate sin and cos of the same angle.
virtual MsgStream & dump(MsgStream &out) const override final
returns some information about this RIO_OnTrack/TrackSegment.
Amg::Vector3D m_globalPosition
The global position the surface can be associated to.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
const Trk::PlaneSurface * m_associatedSurface
unsigned int numberOfContainedROTs() const
number of RIO_OnTracks
Amg::Vector3D m_globalDirection
cache global direction, not persistified
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
const Trk::LocalDirection & localDirection() const
local direction
const std::vector< const Trk::MeasurementBase * > & containedMeasurements() const
returns the vector of Trk::MeasurementBase objects
Segment & operator=(const Segment &seg)
Assignment operator.
void globalToLocalDirection(const Amg::Vector3D &glodir, Trk::LocalDirection &locdir) const
This method transforms the global direction to a local direction wrt the plane.
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
represents the three-dimensional global direction with respect to a planar surface frame.
LocalParameters m_localParams
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
Ensure that the ATLAS eigen extensions are properly loaded.
std::unique_ptr< FitQuality > m_fitQuality
The fit quality of the Segment.
void recalculateCache()
recalculate the cache
Eigen::Matrix< double, 3, 1 > Vector3D
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
MuonSegment & operator=(const MuonSegment &seg)
Assignment operator.
Helper to simultaneously calculate sin and cos of the same angle.
MuonSegment()
Default Constructor for POOL.
virtual const Amg::Vector3D & globalPosition() const override final
global position
float time() const
access to the measured time
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final
Specified for PlaneSurface: LocalToGlobal method without dynamic memory allocation.
const FitQuality * fitQuality() const
return the FitQuality object, returns NULL if no FitQuality is defined
virtual PlaneSurface * clone() const override
Virtual constructor.
virtual const Trk::PlaneSurface & associatedSurface() const override final
returns the surface for the local to global transformation