ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
CscRawData.h
CscRawData_p4.h
IMuonIdHelperSvc.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvBase
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
Definition
T_AthenaPoolTPConverter.h:41
CscRawDataCnv_p4::setMuonIdHelperSvc
void setMuonIdHelperSvc(Muon::IMuonIdHelperSvc *muonIdHelper)
Definition
CscRawDataCnv_p4.h:33
CscRawDataCnv_p4::CscRawDataCnv_p4
CscRawDataCnv_p4()
Definition
CscRawDataCnv_p4.h:25
CscRawDataCnv_p4::m_idHelp
Muon::IMuonIdHelperSvc * m_idHelp
Definition
CscRawDataCnv_p4.h:31
CscRawDataCnv_p4::transToPers
virtual void transToPers(const CscRawData *transObj, CscRawData_p4 *persObj, MsgStream &log)
Definition
CscRawDataCnv_p4.cxx:10
CscRawDataCnv_p4::persToTrans
virtual void persToTrans(const CscRawData_p4 *persObj, CscRawData *transObj, MsgStream &log)
Definition
CscRawDataCnv_p4.cxx:23
CscRawData_p4
Definition
CscRawData_p4.h:17
CscRawData
Class to hold the electronic output for a single CSC readout channel: n sampling ADC data + the addre...
Definition
CscRawData.h:21
Muon::IMuonIdHelperSvc
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
Definition
IMuonIdHelperSvc.h:27
Generated on
for ATLAS Offline Software by
1.17.0