ATLAS Offline Software
IPythia8Custom.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef IPYTHIA8CUSTOM_H
6 #define IPYTHIA8CUSTOM_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
10 
11 static const InterfaceID IID_IPythia8Custom("IPythia8Custom", 1, 0);
12 
13 namespace Pythia8{
14  class Pythia;
15 }
16 
17 
18 class IPythia8Custom: virtual public IAlgTool {
19  public:
21  static const InterfaceID& interfaceID(){ return IID_IPythia8Custom; };
22 
24  virtual ~IPythia8Custom(){};
25 
30  virtual double CrossSectionScaleFactor() const {return 1.;};
31 
32  virtual StatusCode InitializePythiaInfo(Pythia8::Pythia& ) const {return StatusCode::SUCCESS;};
33 
34 };
35 
36 #endif
IPythia8Custom::~IPythia8Custom
virtual ~IPythia8Custom()
Virtual destructor.
Definition: IPythia8Custom.h:24
bTosllAli.Pythia
Pythia
Definition: bTosllAli.py:46
Pythia8
Author: James Monk (jmonk@cern.ch)
Definition: IPythia8Custom.h:13
IPythia8Custom
Definition: IPythia8Custom.h:18
IPythia8Custom::ModifyPythiaEvent
virtual StatusCode ModifyPythiaEvent(Pythia8::Pythia &) const =0
Update the pythia event.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IPythia8Custom::CrossSectionScaleFactor
virtual double CrossSectionScaleFactor() const
Return how much the cross section is modified.
Definition: IPythia8Custom.h:30
IPythia8Custom::interfaceID
static const InterfaceID & interfaceID()
Algtool infrastructure.
Definition: IPythia8Custom.h:21
IPythia8Custom::InitializePythiaInfo
virtual StatusCode InitializePythiaInfo(Pythia8::Pythia &) const
Definition: IPythia8Custom.h:32