ATLAS Offline Software
MuonSpectrometer
MuonCnv
MuonEventAthenaPool
MuonEventAthenaPool
TgcRawDataStreamer_p0.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TGCRAWDATA_STREAMER_P0_H
6
#define TGCRAWDATA_STREAMER_P0_H
7
8
#include "
AthenaPoolServices/T_AthenaRootConverter.h
"
9
#include "
TgcRawData_p0.h
"
10
11
// This streamer is not needed until TgcRawData is changed
12
13
//#include <iostream>
14
15
class
TgcRawDataStreamer_p0
16
:
public
T_AthenaRootConverter
<TgcRawData, TgcRawData_p0 >
17
{
18
public
:
19
TgcRawDataStreamer_p0
() {
20
SetClassNameAndChecksum
(
"TgcRawData"
, 0U);
21
}
22
23
void
CopyOldToNew
(
const
TgcRawData_p0
&old_obj,
TgcRawData
&new_obj )
24
{
25
// somewhat inefficient data filling, can be sped up using some tricks
26
27
TgcRawData
obj
();
28
new_obj =
obj
;
29
}
30
31
};
32
33
34
35
#endif
TgcRawDataStreamer_p0::CopyOldToNew
void CopyOldToNew(const TgcRawData_p0 &old_obj, TgcRawData &new_obj)
The converter function which copies the content of the object from its old shape to the new shape To ...
Definition:
TgcRawDataStreamer_p0.h:23
TgcRawData_p0
Definition:
TgcRawData_p0.h:17
T_AthenaRootConverter
Definition:
T_AthenaRootConverter.h:65
TgcRawDataStreamer_p0::TgcRawDataStreamer_p0
TgcRawDataStreamer_p0()
Definition:
TgcRawDataStreamer_p0.h:19
TgcRawDataStreamer_p0
Definition:
TgcRawDataStreamer_p0.h:17
T_AthenaRootConverterBase::SetClassNameAndChecksum
void SetClassNameAndChecksum(const std::string &classname, unsigned checksum)
Set the name of the class for which this converter is implemented and the particualar ROOT streamerIn...
Definition:
T_AthenaRootConverter.h:55
TgcRawData
An unit object of TGC ROD output.
Definition:
TgcRawData.h:23
T_AthenaRootConverter.h
Athena ROOT Streaming Converter - template class to be extended by a user prividing a conversion func...
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
TgcRawData_p0.h
Generated on Wed Jan 22 2025 21:19:18 for ATLAS Offline Software by
1.8.18