ATLAS Offline Software
RpcClusterOnTrackCnv_p2.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: RpcClusterOnTrackCnv_p2.cxx
8 //
9 //-----------------------------------------------------------------------------
10 
13 
14 
17  Muon::RpcClusterOnTrack *transObj, MsgStream &log )
18 {
20  m_elCnv.persToTrans(&persObj->m_prdLink,&rio,log);
21 
22  *transObj = Muon::RpcClusterOnTrack (rio,
24  Amg::MatrixX(),
25  Identifier(),
26  nullptr, // detEL
27  persObj->m_positionAlongStrip,
28  0 // time
29  );
30 
31  fillTransFromPStore( &m_RIOCnv, persObj->m_RIO, transObj, log );
32 }
33 
34 
37  Muon::RpcClusterOnTrack_p2 *, MsgStream & )
38 {
39  throw std::runtime_error("RpcClusterOnTrackCnv_p2::transToPers is deprecated!");
40 }
41 
42 
Trk::LocalParameters
Definition: LocalParameters.h:98
RpcClusterOnTrackCnv_p2::m_elCnv
ElementLinkCnv_p3< ElementLinkToIDC_RPC_Container > m_elCnv
Definition: RpcClusterOnTrackCnv_p2.h:43
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
RpcClusterOnTrackCnv_p2::transToPers
void transToPers(const Muon ::RpcClusterOnTrack *transObj, Muon ::RpcClusterOnTrack_p2 *persObj, MsgStream &log)
Definition: RpcClusterOnTrackCnv_p2.cxx:36
Muon::RpcClusterOnTrack_p2
Version 1 of the persistent class representing the transient class Muon::RpcClusterOnTrack.
Definition: RpcClusterOnTrack_p2.h:21
RpcClusterOnTrackCnv_p2::m_RIOCnv
RIO_OnTrackCnv_p1 * m_RIOCnv
Definition: RpcClusterOnTrackCnv_p2.h:42
Muon::RpcClusterOnTrack
Class to represent calibrated clusters formed from RPC strips.
Definition: RpcClusterOnTrack.h:35
ITPConverterFor< TRANS_BASE >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Convert persistent object, stored in the the top-level persistent object and referenced by the TP Ref...
Definition: TPConverter.h:145
RpcClusterOnTrack.h
Muon::RpcClusterOnTrack_p2::m_RIO
TPObjRef m_RIO
Definition: RpcClusterOnTrack_p2.h:26
RpcClusterOnTrackCnv_p2.h
Muon::RpcClusterOnTrack_p2::m_prdLink
ElementLinkInt_p3 m_prdLink
Link to PRD.
Definition: RpcClusterOnTrack_p2.h:29
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
RpcClusterOnTrackCnv_p2::persToTrans
void persToTrans(const Muon ::RpcClusterOnTrack_p2 *persObj, Muon ::RpcClusterOnTrack *transObj, MsgStream &log)
Definition: RpcClusterOnTrackCnv_p2.cxx:16
Muon::RpcClusterOnTrack_p2::m_positionAlongStrip
float m_positionAlongStrip
position along strip (double in transient world)
Definition: RpcClusterOnTrack_p2.h:32
Identifier
Definition: IdentifierFieldParser.cxx:14