Skip to content
Snippets Groups Projects
Commit 58666441 authored by Atlas-Software Librarian's avatar Atlas-Software Librarian Committed by Graeme Stewart
Browse files

'CMakeLists.txt' (xAODCnvInterfaces-00-00-01)

parent 0ddae955
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: xAODCnvInterfaces
################################################################################
# Declare the package name:
atlas_subdir( xAODCnvInterfaces )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
GaudiKernel )
# Component(s) in the package:
atlas_add_library( xAODCnvInterfaces
PUBLIC_HEADERS xAODCnvInterfaces
LINK_LIBRARIES GaudiKernel )
package xAODCnvInterfaces
# $Id: requirements 727528 2016-03-03 17:41:08Z krasznaa $
author Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
public
use AtlasPolicy AtlasPolicy-*
use GaudiInterface GaudiInterface-* External
apply_pattern cmake_add_command command=metalibrary
// Dear emacs, this is -*- c++ -*-
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// $Id: IEventInfoCnvTool.h 727528 2016-03-03 17:41:08Z krasznaa $
#ifndef XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
#define XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
// Gaudi/Athena include(s):
#include "GaudiKernel/IAlgTool.h"
// Forward declaration(s):
namespace xAOD {
class EventInfo_v1;
typedef EventInfo_v1 EventInfo;
}
class EventInfo;
namespace xAODMaker {
/// The interface provided by IEventInfoCnvTool
static const InterfaceID
IID_IEventInfoCnvTool( "xAODMaker::IEventInfoCnvTool", 1, 0 );
/**
* @short Interface for the tool creating xAOD::EventInfo from an AOD
*
* This interface is implemented by the tool that converts the
* EventInfo object from an existing POOL/BS file into
* an xAOD::EventInfo object.
*
* @author Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
*
* $Revision: 727528 $
* $Date: 2016-03-03 18:41:08 +0100 (Thu, 03 Mar 2016) $
*/
class IEventInfoCnvTool : public virtual IAlgTool {
public:
/// Function that fills an existing xAOD::EventInfo object with data
virtual StatusCode convert( const EventInfo* aod,
xAOD::EventInfo* xaod,
bool pileUpInfo = false,
bool copyPileUpLinks = true ) = 0;
/// Gaudi interface definition
static const InterfaceID& interfaceID() {
return IID_IEventInfoCnvTool;
}
}; // class IEventInfoCnvTool
} // namespace xAODMaker
#endif // XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment