ATLAS Offline Software
MuonSpectrometer
MuonReconstruction
MuonRecEvent
MuonPattern
src
MuonPatternChamberIntersect.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonPattern/MuonPatternChamberIntersect.h
"
6
7
namespace
Muon
{
8
9
MuonPatternChamberIntersect::MuonPatternChamberIntersect
(
const
Trk::TrackSurfaceIntersection
&
intersect
,
10
const
std::vector<const Trk::PrepRawData*>& rios) :
11
m_intersect(
intersect
), m_rios(rios) {
12
std::sort(
m_rios
.begin(),
m_rios
.end(),
SortMuonPrepData
());
13
}
14
15
MuonPatternChamberIntersect::MuonPatternChamberIntersect
(
const
Amg::Vector3D
&
pos
,
const
Amg::Vector3D
&
dir
,
16
const
std::vector<const Trk::PrepRawData*>& rios) :
17
m_intersect(
pos
,
dir
, 0.), m_rios(rios) {
18
std::sort(
m_rios
.begin(),
m_rios
.end(),
SortMuonPrepData
());
19
}
20
21
}
// namespace Muon
MuonPatternChamberIntersect.h
Trk::TrackSurfaceIntersection
Definition:
TrackSurfaceIntersection.h:32
Muon::MuonPatternChamberIntersect::m_rios
std::vector< const Trk::PrepRawData * > m_rios
Definition:
MuonPatternChamberIntersect.h:69
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
Muon::MuonPatternChamberIntersect::MuonPatternChamberIntersect
MuonPatternChamberIntersect(const Trk::TrackSurfaceIntersection &intersect, const std::vector< const Trk::PrepRawData * > &rios)
constructor taking a Trk::TrackSurfaceIntersection
Definition:
MuonPatternChamberIntersect.cxx:9
Muon::SortMuonPrepData
Definition:
SortMuonPrepData.h:12
beamspotman.dir
string dir
Definition:
beamspotman.py:623
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition:
GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition:
LumiBlobConversion.py:18
Amg::intersect
std::optional< double > intersect(const AmgVector(N)&posA, const AmgVector(N)&dirA, const AmgVector(N)&posB, const AmgVector(N)&dirB)
Calculates the point B' along the line B that's closest to a second line A.
Definition:
GeoPrimitivesHelpers.h:347
Generated on Mon Dec 23 2024 21:15:22 for ATLAS Offline Software by
1.8.18