ATLAS Offline Software
Loading...
Searching...
No Matches
IEventInfoCnvTool.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: IEventInfoCnvTool.h 793563 2017-01-23 21:59:34Z leggett $
8#ifndef XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
9#define XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
10
11// Gaudi/Athena include(s):
12#include "GaudiKernel/IAlgTool.h"
13#include "GaudiKernel/ThreadLocalContext.h"
14
15// Forward declaration(s):
16namespace xAOD {
17 class EventInfo_v1;
19}
20class EventInfo;
21
22namespace xAODMaker {
23
25 static const InterfaceID
26 IID_IEventInfoCnvTool( "xAODMaker::IEventInfoCnvTool", 1, 0 );
27
40 class IEventInfoCnvTool : public virtual IAlgTool {
41
42 public:
44 virtual StatusCode convert( const EventInfo* aod,
45 xAOD::EventInfo* xaod,
46 bool pileUpInfo = false,
47 bool copyPileUpLinks = true,
48 const EventContext& ctx = Gaudi::Hive::currentContext()) const = 0;
49
51 static const InterfaceID& interfaceID() {
53 }
54
55 }; // class IEventInfoCnvTool
56
57} // namespace xAODMaker
58
59#endif // XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
Interface for the tool creating xAOD::EventInfo from an AOD.
virtual StatusCode convert(const EventInfo *aod, xAOD::EventInfo *xaod, bool pileUpInfo=false, bool copyPileUpLinks=true, const EventContext &ctx=Gaudi::Hive::currentContext()) const =0
Function that fills an existing xAOD::EventInfo object with data.
static const InterfaceID & interfaceID()
Gaudi interface definition.
Class describing the basic event information.
static const InterfaceID IID_IEventInfoCnvTool("xAODMaker::IEventInfoCnvTool", 1, 0)
The interface provided by IEventInfoCnvTool.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
EventInfo_v1 EventInfo
Definition of the latest event info version.