ATLAS Offline Software
IEvgenOTFTopUpSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
16 static const InterfaceID IID_IEvgenOTFTopUpSvc("IEvgenOTFTopUpSvc", 1 , 0);
17 
18 class IEvgenOTFTopUpSvc : virtual public IInterface {
19 public:
20 
21  // Getters
22  virtual long getNPerFile() const = 0;
23  virtual long getNUsedSoFar() const = 0;
24  virtual double getEfficiency() const = 0;
25  virtual bool getNewFileFlag() const = 0;
26 
27  // Setters - first for Pythia/Herwig to call when they use up events
28  virtual void usedEvents() = 0;
29  virtual void usedEvents( const int ) = 0;
30 
31  // New file created by the OTF generator algorithm
32  virtual void newFile( std::string& ) = 0;
33 
34  // New file grabbed by the showering generator
35  virtual const std::string& getFile() = 0;
36 
37  static const InterfaceID& interfaceID() { return IID_IEvgenOTFTopUpSvc; };
38 
39 };
40 
41 #endif
IEvgenOTFTopUpSvc::usedEvents
virtual void usedEvents(const int)=0
IEvgenOTFTopUpSvc
Definition: IEvgenOTFTopUpSvc.h:18
IEvgenOTFTopUpSvc::getNUsedSoFar
virtual long getNUsedSoFar() const =0
IEvgenOTFTopUpSvc::getEfficiency
virtual double getEfficiency() const =0
IEvgenOTFTopUpSvc::getFile
virtual const std::string & getFile()=0
IEvgenOTFTopUpSvc::getNPerFile
virtual long getNPerFile() const =0
IEvgenOTFTopUpSvc::newFile
virtual void newFile(std::string &)=0
IEvgenOTFTopUpSvc::usedEvents
virtual void usedEvents()=0
IEvgenOTFTopUpSvc::getNewFileFlag
virtual bool getNewFileFlag() const =0
IEvgenOTFTopUpSvc::interfaceID
static const InterfaceID & interfaceID()
Definition: IEvgenOTFTopUpSvc.h:37