ATLAS Offline Software
Loading...
Searching...
No Matches
CscClusterOnTrackCnv_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: CscClusterOnTrackCnv_p1.cxx
8//
9//-----------------------------------------------------------------------------
10
11
14
15
18 Muon::CscClusterOnTrack *transObj, MsgStream &log )
19{
21 m_elCnv.persToTrans(&persObj->m_prdLink,&rio,log);
22
23 Amg::MatrixX locerr;
24 locerr.setZero();
25 *transObj = Muon::CscClusterOnTrack (rio,
26 Trk::LocalParameters(), // locpos,
27 std::move(locerr),
28 Identifier(),
29 nullptr, // detEL
30 persObj->m_positionAlongStrip,
31 static_cast<Muon::CscClusterStatus>(persObj->m_status));
32 fillTransFromPStore( &m_RIOCnv, persObj->m_RIO, transObj, log );
33}
34
35
38 Muon::CscClusterOnTrack_p1 * , MsgStream & )
39{
40 throw std::runtime_error("CscClusterOnTrackCnv_p1::transToPers is deprecated!");
41}
42
43
ElementLink< Muon::CscPrepDataContainer > ElementLinkToIDC_CSC_Container
Class to implement Cluster On Track for Si.
void persToTrans(const Muon ::CscClusterOnTrack_p1 *persObj, Muon ::CscClusterOnTrack *transObj, MsgStream &log)
ElementLinkCnv_p1< ElementLinkToIDC_CSC_Container > m_elCnv
void transToPers(const Muon ::CscClusterOnTrack *transObj, Muon ::CscClusterOnTrack_p1 *persObj, MsgStream &log)
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Version 1 of the persistent class representing the transient class Muon::CscClusterOnTrack.
float m_positionAlongStrip
position along strip (double in transient world)
TPObjRef m_RIO
link to base MuonClusterOnTrack_p1, inheriting from RIO_OnTrack_p1
unsigned int m_status
Corresponds to CscClusterStatus in transient class.
ElementLinkInt_p1 m_prdLink
Link to PRD.
Class to represent the calibrated clusters created from CSC strips.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
CscClusterStatus
Enum to represent the cluster status - see the specific enum values for more details.