ATLAS Offline Software
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
src
CscRawDataCnv_p4.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// NOTE: This is an exact copy of CscRawDataCnv_p3, since from p3 to p4 only the meaning of the m_hashId changed:
6
// Until p3, the m_hashId stores the identifier hash which encodes the geometrical position of the CSC
7
// From p4 onwards, the m_hashId stores the position of the CSC identifier in the vector of identifiers
8
9
#ifndef MUON_CSCRAWDATACNV_P4_H
10
#define MUON_CSCRAWDATACNV_P4_H
11
12
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
13
#include "
MuonEventAthenaPool/CscRawData_p4.h
"
14
#include "
MuonRDO/CscRawData.h
"
15
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
16
17
class
MsgStream;
18
22
class
CscRawDataCnv_p4
:
public
T_AthenaPoolTPCnvBase
<CscRawData, CscRawData_p4>
23
{
24
public
:
25
CscRawDataCnv_p4
() {}
26
27
virtual
void
persToTrans
(
const
CscRawData_p4
* persObj,
CscRawData
* transObj, MsgStream &
log
);
28
virtual
void
transToPers
(
const
CscRawData
* transObj,
CscRawData_p4
* persObj, MsgStream &
log
);
29
void
setMuonIdHelperSvc
(
Muon::IMuonIdHelperSvc
* muonIdHelper);
30
private
:
31
Muon::IMuonIdHelperSvc
*
m_idHelp
=
nullptr
;
32
};
33
inline
void
CscRawDataCnv_p4::setMuonIdHelperSvc
(
Muon::IMuonIdHelperSvc
* muonIdHelper) {
34
m_idHelp
= muonIdHelper;
35
}
36
37
#endif
CscRawDataCnv_p4::CscRawDataCnv_p4
CscRawDataCnv_p4()
Definition:
CscRawDataCnv_p4.h:25
CscRawDataCnv_p4
Transient/Persistent converter for CscRawData class.
Definition:
CscRawDataCnv_p4.h:23
CscRawData_p4.h
TPConverterBase
Definition:
TPConverter.h:738
CscRawDataCnv_p4::persToTrans
virtual void persToTrans(const CscRawData_p4 *persObj, CscRawData *transObj, MsgStream &log)
Definition:
CscRawDataCnv_p4.cxx:23
CscRawDataCnv_p4::m_idHelp
Muon::IMuonIdHelperSvc * m_idHelp
Definition:
CscRawDataCnv_p4.h:31
CscRawDataCnv_p4::setMuonIdHelperSvc
void setMuonIdHelperSvc(Muon::IMuonIdHelperSvc *muonIdHelper)
Definition:
CscRawDataCnv_p4.h:33
T_AthenaPoolTPConverter.h
CscRawDataCnv_p4::transToPers
virtual void transToPers(const CscRawData *transObj, CscRawData_p4 *persObj, MsgStream &log)
Definition:
CscRawDataCnv_p4.cxx:10
CscRawData.h
CscRawData
Class to hold the electronic output for a single CSC readout channel: n sampling ADC data + the addre...
Definition:
CscRawData.h:21
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition:
IMuonIdHelperSvc.h:27
CscRawData_p4
Definition:
CscRawData_p4.h:17
IMuonIdHelperSvc.h
Generated on Sun Dec 22 2024 21:08:53 for ATLAS Offline Software by
1.8.18