ATLAS Offline Software
Loading...
Searching...
No Matches
TgcClusterOnTrackCnv_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: TgcClusterOnTrackCnv_p1.cxx
8//
9//-----------------------------------------------------------------------------
10
13
14
17 Muon::TgcClusterOnTrack *transObj, MsgStream &log )
18{
20 m_elCnv.persToTrans(&persObj->m_prdLink,&rio,log);
21
22 *transObj = Muon::TgcClusterOnTrack (rio,
25 Identifier(),
26 nullptr,
27 persObj->m_positionAlongStrip);
28 fillTransFromPStore( &m_RIOCnv, persObj->m_RIO, transObj, log );
29}
30
31
34 Muon::TgcClusterOnTrack_p1 *, MsgStream & )
35{
36 throw std::runtime_error("TgcClusterOnTrackCnv_p1::transToPers is deprecated!");
37}
38
39
ElementLink< Muon::TgcPrepDataContainer > ElementLinkToIDC_TGC_Container
Class to implement Cluster On Track for Si.
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Version 1 of the persistent class representing the transient class Muon::TgcClusterOnTrack.
ElementLinkInt_p1 m_prdLink
Link to PRD.
float m_positionAlongStrip
position along strip (double in transient world)
TPObjRef m_RIO
link to base MuonClusterOnTrack_p1, inheriting from RIO_OnTrack_p1
Class to represent calibrated clusters formed from TGC strips.
void transToPers(const Muon ::TgcClusterOnTrack *transObj, Muon ::TgcClusterOnTrack_p1 *persObj, MsgStream &log)
ElementLinkCnv_p1< ElementLinkToIDC_TGC_Container > m_elCnv
void persToTrans(const Muon ::TgcClusterOnTrack_p1 *persObj, Muon ::TgcClusterOnTrack *transObj, MsgStream &log)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.