ATLAS Offline Software
Loading...
Searching...
No Matches
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):
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
29
31persToTrans( 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
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}
#define endmsg
xAODEnergySumRoICnv_v1()
Default constructor.
virtual void transToPers(const xAOD::EnergySumRoI *, xAOD::EnergySumRoI_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
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.
Class describing a LVL1 energy-sum "RoI".
EnergySumRoI_v2 EnergySumRoI