ATLAS Offline Software
Loading...
Searching...
No Matches
IEvgenOTFTopUpSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EVGENPRODTOOLS_IEVGENOTFTOPUPSVC_H
6#define EVGENPRODTOOLS_IEVGENOTFTOPUPSVC_H
7
8#include "GaudiKernel/IInterface.h"
9#include <string>
10
15class IEvgenOTFTopUpSvc : virtual public IInterface {
16public:
18
19 // Getters
20 virtual long getNPerFile() const = 0;
21 virtual long getNUsedSoFar() const = 0;
22 virtual double getEfficiency() const = 0;
23 virtual bool getNewFileFlag() const = 0;
24
25 // Setters - first for Pythia/Herwig to call when they use up events
26 virtual void usedEvents() = 0;
27 virtual void usedEvents( const int ) = 0;
28
29 // New file created by the OTF generator algorithm
30 virtual void newFile( std::string& ) = 0;
31
32 // New file grabbed by the showering generator
33 virtual const std::string& getFile() = 0;
34};
35
36#endif
IService to hold some information for topping up algorithms that are running on the fly.
virtual void newFile(std::string &)=0
virtual double getEfficiency() const =0
virtual void usedEvents()=0
virtual void usedEvents(const int)=0
virtual long getNPerFile() const =0
virtual bool getNewFileFlag() const =0
virtual const std::string & getFile()=0
DeclareInterfaceID(IEvgenOTFTopUpSvc, 1, 0)
virtual long getNUsedSoFar() const =0