ATLAS Offline Software
Loading...
Searching...
No Matches
IPythia8Custom.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
10namespace Pythia8{
11 class Pythia;
12}
13
14
15class IPythia8Custom: virtual public extend_interfaces<IAlgTool> {
16 public:
19
21 virtual ~IPythia8Custom(){};
22
24 virtual StatusCode ModifyPythiaEvent(Pythia8::Pythia& ) const = 0;
27 virtual double CrossSectionScaleFactor() const {return 1.;};
28
29 virtual StatusCode InitializePythiaInfo(Pythia8::Pythia& ) const {return StatusCode::SUCCESS;};
30
31};
32
33#endif
virtual ~IPythia8Custom()
Virtual destructor.
DeclareInterfaceID(IPythia8Custom, 1, 0)
Algtool infrastructure.
virtual StatusCode InitializePythiaInfo(Pythia8::Pythia &) const
virtual double CrossSectionScaleFactor() const
Return how much the cross section is modified.
virtual StatusCode ModifyPythiaEvent(Pythia8::Pythia &) const =0
Update the pythia event.
Author: James Monk (jmonk@cern.ch)