ATLAS Offline Software
Loading...
Searching...
No Matches
MdtTwinPrepDataCnv_p1.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//-----------------------------------------------------------------------------
6//
7// file: MdtTwinPrepDataCnv_p1.cxx
8//
9//-----------------------------------------------------------------------------
10
13
16{
17 log<<MSG::WARNING<<"MdtTwinPrepDataCnv_p1::persToTrans is currently disabled. Contact Muon developers"<<endmsg;
18
19 // // Fill localposition
20 // transObj->m_localPos.setX(persObj->m_driftRadius);
21 // transObj->m_localPos.setY(persObj->m_xTwin);
22 // // Error Matrix
23 // // Trk::CovarianceMatrix *cmat = new Trk::CovarianceMatrix(1);
24 // cmat->m[0] = persObj->m_errorDriftRadius;
25 // cmat->m[3] = persObj->m_errorXTwin; // TWIN TUBES
26 // transObj->m_localErrMat = new Trk::ErrorMatrix(cmat);
27 // //MdtPrepData - specific
28 // transObj->m_tdc = persObj->m_tdc;
29 // transObj->m_adc = persObj->m_adc;
30 // transObj->m_tdcTwin = persObj->m_tdcTwin; // TWIN TUBES
31 // transObj->m_adcTwin = persObj->m_adcTwin; // TWIN TUBES
32 // transObj->m_status = static_cast<const Muon::MdtDriftCircleStatus>(persObj->m_status);
33}
34
37{
38 log<<MSG::WARNING<<"MdtTwinPrepDataCnv_p1::transToPers is currently disabled. Contact Muon developers"<<endmsg;
39 // persObj->m_driftRadius = transObj->m_localPos.x();
40 // persObj->m_errorDriftRadius = transObj->m_localErrMat->covariance().m[0];
41 // persObj->m_tdc = transObj->m_tdc;
42 // persObj->m_adc = transObj->m_adc;
43 // persObj->m_status = transObj->m_status;
44 // // TWIN TUBES
45 // persObj->m_xTwin = transObj->m_localPos.y();
46 // persObj->m_errorXTwin = transObj->m_localErrMat->covariance().m[3];
47 // persObj->m_tdcTwin = transObj->m_tdcTwin;
48 // persObj->m_adcTwin = transObj->m_adcTwin;
49}
50
51
#define endmsg
void persToTrans(const Muon::MdtTwinPrepData_p1 *persObj, Muon::MdtTwinPrepData *transObj, MsgStream &log)
void transToPers(const Muon::MdtTwinPrepData *transObj, Muon::MdtTwinPrepData_p1 *persObj, MsgStream &log)
Persistent representation of the transient Muon::MdtPrepData class.
Class to represent measurements from the Monitored Drift Tubes.