ATLAS Offline Software
CheckForFinalPartons.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 PYTHIA8_CHECK_FOR_FINAL_PARTONS_H
6 #define PYTHIA8_CHECK_FOR_FINAL_PARTONS_H
7 
10 
11 #include "Pythia8/Pythia.h"
12 
13 class CheckForFinalPartons: public AthAlgTool, virtual public IPythia8Custom{
14 
15  public:
16 
17  CheckForFinalPartons(const std::string &type, const std::string &name, const IInterface *parent);
18 
19  StatusCode ModifyPythiaEvent(Pythia8::Pythia &pythia) const override;
20 
21  private:
22 
23  bool acceptEvent(Pythia8::Event &event) const;
24 
26  mutable int m_nFailures;
27 
28 };
29 
30 #endif
CheckForFinalPartons
Definition: CheckForFinalPartons.h:13
CheckForFinalPartons::ModifyPythiaEvent
StatusCode ModifyPythiaEvent(Pythia8::Pythia &pythia) const override
Update the pythia event.
Definition: CheckForFinalPartons.cxx:14
JiveXML::Event
struct Event_t Event
Definition: ONCRPCServer.h:65
bTosllAli.Pythia
Pythia
Definition: bTosllAli.py:46
CheckForFinalPartons::acceptEvent
bool acceptEvent(Pythia8::Event &event) const
Definition: CheckForFinalPartons.cxx:34
IPythia8Custom.h
IPythia8Custom
Definition: IPythia8Custom.h:18
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CheckForFinalPartons::CheckForFinalPartons
CheckForFinalPartons(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CheckForFinalPartons.cxx:7
CheckForFinalPartons::m_maxFailures
int m_maxFailures
Definition: CheckForFinalPartons.h:25
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
CheckForFinalPartons::m_nFailures
int m_nFailures
Definition: CheckForFinalPartons.h:26