|
ATLAS Offline Software
|
Go to the documentation of this file.
34 m_nhits_pixel(0), m_nhits_sct(0), m_nhits_trt(0), m_nhits_muon_phi(0), m_nhits_rpc(0), m_nhits_mdt(0),
35 m_nhits_tgc(0), m_nhits_csc(0), m_nhits_mm(0), m_nhits_stgc(0), m_hitInfoStatus(-1),
36 m_segment(
segment), m_points(nullptr)
55 l << QString(temp.c_str());
58 if (
m_segment&&
common()->controller()->printVerboseInfoOnSingleSelection()) {
59 l <<
" ===== dump =====";
62 l << QString(
s.str().c_str()).split(
'\n');
107 m_hitInfoStatus =
VP1TrackSummary::countHits(
m_segment,
m_nhits_pixel,
m_nhits_sct,
m_nhits_trt,
m_nhits_muon_phi,
m_nhits_rpc,
m_nhits_mdt,
m_nhits_tgc,
m_nhits_csc,
m_nhits_mm,
m_nhits_stgc) ? 1 : 0;
114 m_points =
new std::vector< Amg::Vector3D >;
116 const bool muonsegment =
it!=
itE;
121 double radius = ( muonsegment ? 1000.0 : 150.0 );
123 double xOffset(0),yOffset(0),zOffset(0);
137 Amg::Vector3D pointA(globalPos.x()-xOffset,globalPos.y()-yOffset,globalPos.z()-zOffset);
138 Amg::Vector3D pointB(globalPos.x()+xOffset,globalPos.y()+yOffset,globalPos.z()+zOffset);
140 bool hasnonmdtchamber(
false);
141 bool outsidechamber, success;
145 !
common()->muonChamberProjectionHelper()->isKnownMDTChamber(*
it)) {
146 hasnonmdtchamber =
true;
152 collHandle()->
message(
"Error: Something we wrong with clipLineSegmentToMDTChamber");
155 if (outsidechamber) {
162 if (hasnonmdtchamber) {
JetConstituentVector::iterator iterator
MuonChamberProjectionHelper * muonChamberProjectionHelper() const
const std::set< GeoPVConstLink > & touchedMuonChambers() const
virtual void visibleStateChanged()
override if need to take action in this case.
TrackSystemController * controller() const
void registerTouchedMuonChamber(const GeoPVConstLink &) const
If not earlier, touched muon chambers must me registered at latest when this method is invoked.
Scalar phi() const
phi method
Eigen::Matrix< double, 2, 1 > Vector2D
void messageVerbose(const QString &) const
Scalar theta() const
theta method
TrackCollHandleBase * collHandle() const
QStringList clicked() const
Called when user selects the node (stringlist is displayed in messagebox).
const std::vector< Amg::Vector3D > * provide_pathInfoPoints()
@ loc2
generic first and second local coordinate
void visibleStateChanged()
override if need to take action in this case.
void messageDebug(const QString &) const
unsigned m_nhits_muon_phi
virtual const MuonGM::MuonReadoutElement * getMuonReadoutElement(const Trk::RIO_OnTrack &mb) const
Base class for the XxxReadoutElement, with Xxx = Mdt, Rpc, Tgc, Csc.
std::vector< Amg::Vector3D > * m_points
const Trk::Segment * m_segment
bool clipLineSegmentToMDTChamber(const GeoPVConstLink &mdtChamber, Amg::Vector3D &pointA, Amg::Vector3D &pointB, bool &outsidechamber, const double &extradist=0.0)
int m_hitInfoStatus
-1: uninitialized, 0: not present, 1: present.
Muon::MuonEDMPrinterTool * muonEDMPrinterTool() const
const std::vector< const Trk::MeasurementBase * > & containedMeasurements() const
returns the vector of Trk::MeasurementBase objects
void currentMaterialChanged()
TrackSysCommonData * common() const
virtual ~TrackHandle_TrkSegment()
virtual const Surface & associatedSurface() const =0
Interface method to get the associated Surface.
Eigen::Matrix< double, 3, 1 > Vector3D
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
TrackHandle_TrkSegment(TrackCollHandleBase *, const Trk::Segment *)
void ensureTouchedMuonChambersInitialised() const
void message(const QString &) const
QStringList baseInfo() const
static bool countHits(const Trk::Track *, unsigned &nPixelHits, unsigned &nSCTHits, unsigned &nTRTHits, unsigned &nhits_muon_phi, unsigned &nhits_rpc, unsigned &nhits_mdt, unsigned &nhits_tgc, unsigned &nhits_csc, unsigned &nhits_mm, unsigned &nhits_stgc)
static bool hasMuonGeometry()
PVConstLink parentStationPV() const
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const =0
Specified by each surface type: LocalToGlobal method without dynamic memory allocation.
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
void ensureInitSubSysHitInfo() const