ATLAS Offline Software
Event
xAOD
xAODTriggerAthenaPool
src
xAODEnergySumRoICnv_v1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id$
6
7
// System include(s):
8
#include <stdexcept>
9
10
// Gaudi/Athena include(s):
11
#include "GaudiKernel/MsgStream.h"
12
13
// Local include(s):
14
#include "
xAODEnergySumRoICnv_v1.h
"
16
#define MSGLVL MSG::DEBUG
17
19
#define ATH_MSG( MSG ) \
20
do { \
21
if( log.level() <= MSGLVL ) { \
22
log << MSGLVL << MSG << endmsg; \
23
} \
24
} while( 0 )
25
26
xAODEnergySumRoICnv_v1::xAODEnergySumRoICnv_v1
()
27
{
28
}
29
30
void
xAODEnergySumRoICnv_v1::
31
persToTrans
(
const
xAOD::EnergySumRoI_v1
*
/*oldObj*/
,
32
xAOD::EnergySumRoI
*
/*newObj*/
,
33
MsgStream&
/*log*/
)
const
{
34
35
// Greet the user:
36
//ATH_MSG( "Converting xAOD::EnergySumRoI_v1 to current version..." );
37
38
// Initialising is all done in the AuxStore copy, so nothing to do here really
39
40
return
;
41
}
42
46
void
xAODEnergySumRoICnv_v1::transToPers
(
const
xAOD::EnergySumRoI
*,
47
xAOD::EnergySumRoI_v1
*,
48
MsgStream&
log
)
const
{
49
50
log
<< MSG::ERROR
51
<<
"Somebody called xAODEnergySumRoICnv_v1::transToPers"
52
<<
endmsg
;
53
throw
std::runtime_error(
"Somebody called xAODEnergySumRoICnv_v1::"
54
"transToPers"
);
55
56
return
;
57
}
xAOD::EnergySumRoI_v1
Class describing a LVL1 energy-sum "RoI".
Definition:
EnergySumRoI_v1.h:35
xAODEnergySumRoICnv_v1::xAODEnergySumRoICnv_v1
xAODEnergySumRoICnv_v1()
Default constructor.
Definition:
xAODEnergySumRoICnv_v1.cxx:26
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
xAODEnergySumRoICnv_v1.h
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
xAODEnergySumRoICnv_v1::persToTrans
virtual void persToTrans(const xAOD::EnergySumRoI_v1 *oldObj, xAOD::EnergySumRoI *newObj, MsgStream &log) const override
Function converting from the old type to the current one.
Definition:
xAODEnergySumRoICnv_v1.cxx:31
xAODEnergySumRoICnv_v1::transToPers
virtual void transToPers(const xAOD::EnergySumRoI *, xAOD::EnergySumRoI_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
Definition:
xAODEnergySumRoICnv_v1.cxx:46
xAOD::EnergySumRoI_v2
Class describing a LVL1 energy-sum "RoI".
Definition:
EnergySumRoI_v2.h:35
Generated on Mon Dec 23 2024 21:23:08 for ATLAS Offline Software by
1.8.18