|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUON_IMUONSEGMENTSOVERLAPRESOLVINGTOOL_H
6 #define MUON_IMUONSEGMENTSOVERLAPRESOLVINGTOOL_H
12 #include "GaudiKernel/IAlgTool.h"
16 class MeasurementBase;
20 class MdtReadoutElement;
32 typedef std::vector<const Trk::MeasurementBase*>
MeasVec;
67 if (dist < -
cut)
return false;
74 if (
inBounds(locPosX))
return locPosX;
151 static const InterfaceID IID_IMuonSegmentInOverlapResolvingTool(
"Muon::IMuonSegmentInOverlapResolvingTool", 1, 0);
152 return IID_IMuonSegmentInOverlapResolvingTool;
178 std::ostringstream sout;
184 std::ostringstream sout;
185 sout <<
" Matching angle phi " << segmentDirection1.phi() <<
" deltaYZ " << deltaYZ;
190 std::ostringstream sout;
191 sout <<
" Segment chamber: ";
193 sout <<
" position " << std::setw(5) << (
int)positionAlongTube1 <<
" in tube " << std::setw(5) << (
int)positionInTube1
195 <<
" Matching chamber: position " << std::setw(5) << (
int)positionAlongTube2 <<
" in tube " << std::setw(5)
196 << (
int)positionInTube2 << std::endl
197 <<
" position residual " << std::setw(5) << (
int)positionResidual;
199 sout <<
"match failed";
204 std::ostringstream sout;
206 sout << phiResult.toString() <<
" dphi " << angularDifferencePhi <<
" phi Pull1 " << averagePhiHitPullSegment1 <<
" phi Pull2 "
207 << averagePhiHitPullSegment2 <<
" phi pos1 first " << segmentResult1.segmentPosition.phi() <<
" phi pos2 second "
208 << segmentResult2.segmentPosition.phi() << std::endl
209 <<
" segment1 " << segmentResult1.toString() << std::endl
210 <<
" segment " << segmentResult2.toString();
212 if (!segmentResult1.goodMatch)
213 sout <<
" Match of first segment failed";
214 else if (!segmentResult2.goodMatch)
215 sout <<
" Match of second segment failed";
217 sout <<
" unknown failure";
223 return segmentResult1.goodMatch && segmentResult2.goodMatch;
JetConstituentVector::iterator iterator
Ensure that the Athena extensions are properly loaded.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonSegment_v1 MuonSegment
Reference the current persistent version:
Eigen::Affine3d Transform3D
std::pair< std::vector< unsigned int >, bool > res
cut
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown.
Ensure that the ATLAS eigen extensions are properly loaded.
Eigen::Matrix< double, 3, 1 > Vector3D