ATLAS Offline Software
Loading...
Searching...
No Matches
MdtDriftCircleOnTrackCnv_p1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5//-----------------------------------------------------------------------------
6//
7// file: MdtDriftCircleOnTrackCnv_p1.cxx
8//
9//-----------------------------------------------------------------------------
10
14
15#include <iostream>
16
19 Muon::MdtDriftCircleOnTrack *transObj, MsgStream &log )
20{
29 m_elCnv.persToTrans(&persObj->m_prdLink, &rio, log);
30
31 *transObj = Muon::MdtDriftCircleOnTrack (rio,
34 Identifier(),
35 nullptr, // detEl,
36 persObj->m_driftTime,
37 static_cast<Trk::DriftCircleStatus>( persObj->m_status ),
38 persObj->m_positionAlongWire,
39 persObj->m_localAngle,
40 errorStrategy);
41 fillTransFromPStore( &m_RIOCnv, persObj->m_RIO, transObj, log );
42}
43
46 Muon::MdtDriftCircleOnTrack_p1 *, MsgStream & )
47{
48 throw std::runtime_error("MdtDriftCircleOnTrackCnv_p1::transToPers is deprecated!");
49}
50
51
ElementLink< Muon::MdtPrepDataContainer > ElementLinkToIDC_MDT_Container
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
void persToTrans(const Muon ::MdtDriftCircleOnTrack_p1 *persObj, Muon ::MdtDriftCircleOnTrack *transObj, MsgStream &log)
void transToPers(const Muon ::MdtDriftCircleOnTrack *transObj, Muon ::MdtDriftCircleOnTrack_p1 *persObj, MsgStream &log)
ElementLinkCnv_p1< ElementLinkToIDC_MDT_Container > m_elCnv
Version 1 of the persistent class representing the transient class Muon::MdtDriftCircleOnTrack.
float m_positionAlongWire
This is the position of the point of closest approach, in the local z coord (i.e.
TPObjRef m_RIO
base RIO_OnTrack_p1
float m_driftTime
This is the drift time that was used to calibrate the hit.
unsigned int m_status
Status of Mdt - in transient world this is the Trk::DriftCircleStatus enum.
float m_localAngle
This angle is the position of the point of closest approach in cylindrical coordinates,...
unsigned int m_rotCreationParameters
Records information about the 'strategy' used by Muon::MdtDriftCircleOnTrackCreator to make this obje...
ElementLinkInt_p1 m_prdLink
Link to PRD.
This class represents the corrected MDT measurements, where the corrections include the effects of wi...
void setStrategy(Strategy)
Select the strategy to be used - only one can be set at a time.
void setParameter(CreationParameter, bool value)
@ MagFieldCorrection
Magnetic field correction was applied in calibration.
@ PropCorrection
Propagation correction was applied in calibration.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
DriftCircleStatus
Enumerates the 'status' of the wire on which the tracks passed (based on the TRT_Side enum,...