ATLAS Offline Software
MMPrepDataCnv_p2.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MMPREPDATACNV_p2_H
6 #define MMPREPDATACNV_p2_H
7 
8 //-----------------------------------------------------------------------------
9 //
10 // file: MMPrepDataCnv_p2.h
11 //
12 //-----------------------------------------------------------------------------
14 
16 #include "MMPrepData_p2.h"
17 
18 class MsgStream;
19 
21  : public T_AthenaPoolTPPolyCnvBase< Trk::PrepRawData, Muon::MMPrepData, Muon::MMPrepData_p2 >
22 {
23  public:
25 
26  static Muon::MMPrepData
27  createMMPrepData ( const Muon::MMPrepData_p2 *persObj,
28  Identifier clusId,
29  const MuonGM::MMReadoutElement* detEl,
30  MsgStream & log );
31 
32  void persToTrans( const Muon::MMPrepData_p2 *persObj,
33  Muon::MMPrepData *transObj,
34  MsgStream &log );
35  void transToPers( const Muon::MMPrepData *transObj,
36  Muon::MMPrepData_p2 *persObj,
37  MsgStream &log );
38 protected:
39 };
40 
41 #endif
MMPrepDataCnv_p2
Definition: MMPrepDataCnv_p2.h:22
Muon::MMPrepData
Class to represent MM measurements.
Definition: MMPrepData.h:22
MMPrepDataCnv_p2::createMMPrepData
static Muon::MMPrepData createMMPrepData(const Muon::MMPrepData_p2 *persObj, Identifier clusId, const MuonGM::MMReadoutElement *detEl, MsgStream &log)
function used to create an MMPrepDataObject when converting Pers to trans
Definition: MMPrepDataCnv_p2.cxx:15
MMPrepDataCnv_p2::transToPers
void transToPers(const Muon::MMPrepData *transObj, Muon::MMPrepData_p2 *persObj, MsgStream &log)
Definition: MMPrepDataCnv_p2.cxx:65
MMPrepData_p2.h
TPPolyCnvBase
Definition: TPConverter.h:674
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
Muon::MMPrepData_p2
We don't write out (from Trk::PrepRawData) m_indexAndHash (can be recomputed), m_clusId (can be recom...
Definition: MMPrepData_p2.h:20
T_AthenaPoolTPConverter.h
MMPrepData.h
MMPrepDataCnv_p2::persToTrans
void persToTrans(const Muon::MMPrepData_p2 *persObj, Muon::MMPrepData *transObj, MsgStream &log)
Definition: MMPrepDataCnv_p2.cxx:58
MMPrepDataCnv_p2::MMPrepDataCnv_p2
MMPrepDataCnv_p2()
Definition: MMPrepDataCnv_p2.h:24
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
MuonGM::MMReadoutElement
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
Definition: MMReadoutElement.h:23