ATLAS Offline Software
AthenaRootConverterHandle.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 ATHENAPOOLSERVICES_ATHENAROOTCONVERTERHANDLE_H
6 #define ATHENAPOOLSERVICES_ATHENAROOTCONVERTERHANDLE_H
7 
15 
16 #include "TROOT.h"
17 #include "TBuffer.h"
18 #include "TClass.h"
19 
20 
22 public:
24 
26 
27  virtual void ReadBuffer(TBuffer& b, void* obj, Version_t version, UInt_t R__s, UInt_t R__c);
28 
29  const std::string& ClassName() { return m_converter->ClassName(); }
30  unsigned StreamerChecksum() { return m_converter->StreamerChecksum(); }
31 
32 protected:
33  TClass *m_oldClass;
34  void *m_oldObj;
36 };
37 
38 
39 #endif
40 
41 
T_AthenaRootConverterBase
Definition: T_AthenaRootConverter.h:17
AthenaRootConverterHandle::ReadBuffer
virtual void ReadBuffer(TBuffer &b, void *obj, Version_t version, UInt_t R__s, UInt_t R__c)
Definition: AthenaRootConverterHandle.cxx:26
AthenaRootConverterHandle::StreamerChecksum
unsigned StreamerChecksum()
Definition: AthenaRootConverterHandle.h:30
T_AthenaRootConverterBase::ClassName
const std::string & ClassName()
Definition: T_AthenaRootConverter.h:27
T_AthenaRootConverterBase::StreamerChecksum
unsigned StreamerChecksum()
Definition: T_AthenaRootConverter.h:28
AthenaRootConverterHandle::~AthenaRootConverterHandle
virtual ~AthenaRootConverterHandle()
Definition: AthenaRootConverterHandle.cxx:18
AthenaRootConverterHandle::m_converter
T_AthenaRootConverterBase * m_converter
Definition: AthenaRootConverterHandle.h:35
AthenaRootConverterHandle::m_oldObj
void * m_oldObj
Definition: AthenaRootConverterHandle.h:34
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
AthenaRootConverterHandle::m_oldClass
TClass * m_oldClass
Definition: AthenaRootConverterHandle.h:33
AthenaRootConverterHandle::AthenaRootConverterHandle
AthenaRootConverterHandle(T_AthenaRootConverterBase *converter)
Definition: AthenaRootConverterHandle.cxx:9
get_generator_info.version
version
Definition: get_generator_info.py:33
T_AthenaRootConverter.h
Athena ROOT Streaming Converter - template class to be extended by a user prividing a conversion func...
AthenaRootConverterHandle::ClassName
const std::string & ClassName()
Definition: AthenaRootConverterHandle.h:29
AthenaRootConverterHandle
Definition: AthenaRootConverterHandle.h:21
python.PyAthena.obj
obj
Definition: PyAthena.py:135