ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
GenInterfaces
GenInterfaces
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
15
class
IEvgenOTFTopUpSvc
:
virtual
public
IInterface {
16
public
:
17
DeclareInterfaceID
(
IEvgenOTFTopUpSvc
, 1, 0);
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
IEvgenOTFTopUpSvc
IService to hold some information for topping up algorithms that are running on the fly.
Definition
IEvgenOTFTopUpSvc.h:15
IEvgenOTFTopUpSvc::newFile
virtual void newFile(std::string &)=0
IEvgenOTFTopUpSvc::getEfficiency
virtual double getEfficiency() const =0
IEvgenOTFTopUpSvc::usedEvents
virtual void usedEvents()=0
IEvgenOTFTopUpSvc::usedEvents
virtual void usedEvents(const int)=0
IEvgenOTFTopUpSvc::getNPerFile
virtual long getNPerFile() const =0
IEvgenOTFTopUpSvc::getNewFileFlag
virtual bool getNewFileFlag() const =0
IEvgenOTFTopUpSvc::getFile
virtual const std::string & getFile()=0
IEvgenOTFTopUpSvc::DeclareInterfaceID
DeclareInterfaceID(IEvgenOTFTopUpSvc, 1, 0)
IEvgenOTFTopUpSvc::getNUsedSoFar
virtual long getNUsedSoFar() const =0
Generated on
for ATLAS Offline Software by
1.17.0