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-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
8#define XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
9
10// Gaudi/Athena include(s):
11#include "GaudiKernel/IAlgTool.h"
12
13// Forward declaration(s):
14namespace xAOD {
15 class EventInfo_v1;
17}
18class EventContext;
19class EventInfo;
20
21namespace xAODMaker {
22
24 static const InterfaceID
25 IID_IEventInfoCnvTool( "xAODMaker::IEventInfoCnvTool", 1, 0 );
26
37 class IEventInfoCnvTool : public virtual IAlgTool {
38
39 public:
41 virtual StatusCode convert( const EventContext& ctx,
42 const EventInfo* aod,
43 xAOD::EventInfo* xaod,
44 bool pileUpInfo = false,
45 bool copyPileUpLinks = true ) const = 0;
46
48 static const InterfaceID& interfaceID() {
50 }
51
52 }; // class IEventInfoCnvTool
53
54} // namespace xAODMaker
55
56#endif // XAODCNVINTERFACES_IEVENTINFOCNVTOOL_H
Interface for the tool creating xAOD::EventInfo from an AOD.
virtual StatusCode convert(const EventContext &ctx, const EventInfo *aod, xAOD::EventInfo *xaod, bool pileUpInfo=false, bool copyPileUpLinks=true) 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.