HepMC3 event record library
Public Member Functions | Private Member Functions | Private Attributes
Pythia8ToHepMC3 Class Reference

Detailed Description

Examples
pythia8_example.cc.

Definition at line 22 of file Pythia8ToHepMC3.h.

Public Member Functions

bool fill_next_event (Pythia8::Pythia &pythia, GenEvent *evt, int ievnum=-1)
 
bool fill_next_event (Pythia8::Event &pyev, GenEvent *evt, int ievnum=-1, Pythia8::Info *pyinfo=0, Pythia8::Settings *pyset=0)
 
bool print_inconsistency () const
 
bool free_parton_warnings () const
 
bool crash_on_problem () const
 
bool convert_gluon_to_0 () const
 
bool store_pdf () const
 
bool store_proc () const
 
bool store_xsec () const
 
bool store_weights () const
 
void set_print_inconsistency (bool b=true)
 
void set_free_parton_warnings (bool b=true)
 
void set_crash_on_problem (bool b=false)
 
void set_convert_gluon_to_0 (bool b=false)
 
void set_store_pdf (bool b=true)
 
void set_store_proc (bool b=true)
 
void set_store_xsec (bool b=true)
 
void set_store_weights (bool b=true)
 

Private Member Functions

virtual bool fill_next_event (GenEvent *)
 
virtual void write_event (const GenEvent *)
 
 Pythia8ToHepMC3 (const Pythia8ToHepMC3 &)
 

Private Attributes

int m_internal_event_number
 
bool m_print_inconsistency
 
bool m_free_parton_warnings
 
bool m_crash_on_problem
 
bool m_convert_gluon_to_0
 
bool m_store_pdf
 
bool m_store_proc
 
bool m_store_xsec
 
bool m_store_weights
 

Constructor & Destructor Documentation

◆ Pythia8ToHepMC3() [1/2]

Pythia8ToHepMC3 ( )
inline

Definition at line 27 of file Pythia8ToHepMC3.h.

◆ ~Pythia8ToHepMC3()

virtual ~Pythia8ToHepMC3 ( )
inlinevirtual

Definition at line 37 of file Pythia8ToHepMC3.h.

◆ Pythia8ToHepMC3() [2/2]

Pythia8ToHepMC3 ( const Pythia8ToHepMC3 )
inlineprivate

Definition at line 276 of file Pythia8ToHepMC3.h.

Member Function Documentation

◆ convert_gluon_to_0()

bool convert_gluon_to_0 ( ) const
inline

Definition at line 225 of file Pythia8ToHepMC3.h.

◆ crash_on_problem()

bool crash_on_problem ( ) const
inline

Definition at line 222 of file Pythia8ToHepMC3.h.

◆ fill_next_event() [1/3]

virtual bool fill_next_event ( GenEvent )
inlineprivatevirtual

Definition at line 270 of file Pythia8ToHepMC3.h.

◆ fill_next_event() [2/3]

bool fill_next_event ( Pythia8::Event &  pyev,
GenEvent evt,
int  ievnum = -1,
Pythia8::Info *  pyinfo = 0,
Pythia8::Settings *  pyset = 0 
)
inline

Definition at line 51 of file Pythia8ToHepMC3.h.

◆ fill_next_event() [3/3]

bool fill_next_event ( Pythia8::Pythia &  pythia,
GenEvent evt,
int  ievnum = -1 
)
inline
Examples
pythia8_example.cc.

Definition at line 40 of file Pythia8ToHepMC3.h.

◆ free_parton_warnings()

bool free_parton_warnings ( ) const
inline

Definition at line 219 of file Pythia8ToHepMC3.h.

◆ print_inconsistency()

bool print_inconsistency ( ) const
inline

Definition at line 216 of file Pythia8ToHepMC3.h.

◆ set_convert_gluon_to_0()

void set_convert_gluon_to_0 ( bool  b = false)
inline

Definition at line 251 of file Pythia8ToHepMC3.h.

◆ set_crash_on_problem()

void set_crash_on_problem ( bool  b = false)
inline

Definition at line 248 of file Pythia8ToHepMC3.h.

◆ set_free_parton_warnings()

void set_free_parton_warnings ( bool  b = true)
inline

Definition at line 245 of file Pythia8ToHepMC3.h.

◆ set_print_inconsistency()

void set_print_inconsistency ( bool  b = true)
inline

Definition at line 242 of file Pythia8ToHepMC3.h.

◆ set_store_pdf()

void set_store_pdf ( bool  b = true)
inline

Definition at line 254 of file Pythia8ToHepMC3.h.

◆ set_store_proc()

void set_store_proc ( bool  b = true)
inline

Definition at line 257 of file Pythia8ToHepMC3.h.

◆ set_store_weights()

void set_store_weights ( bool  b = true)
inline

Definition at line 263 of file Pythia8ToHepMC3.h.

◆ set_store_xsec()

void set_store_xsec ( bool  b = true)
inline

Definition at line 260 of file Pythia8ToHepMC3.h.

◆ store_pdf()

bool store_pdf ( ) const
inline

Definition at line 228 of file Pythia8ToHepMC3.h.

◆ store_proc()

bool store_proc ( ) const
inline

Definition at line 231 of file Pythia8ToHepMC3.h.

◆ store_weights()

bool store_weights ( ) const
inline

Definition at line 237 of file Pythia8ToHepMC3.h.

◆ store_xsec()

bool store_xsec ( ) const
inline

Definition at line 234 of file Pythia8ToHepMC3.h.

◆ write_event()

virtual void write_event ( const GenEvent )
inlineprivatevirtual

Definition at line 273 of file Pythia8ToHepMC3.h.

Field Documentation

◆ m_convert_gluon_to_0

bool m_convert_gluon_to_0
private

Definition at line 283 of file Pythia8ToHepMC3.h.

◆ m_crash_on_problem

bool m_crash_on_problem
private

Definition at line 282 of file Pythia8ToHepMC3.h.

◆ m_free_parton_warnings

bool m_free_parton_warnings
private

Definition at line 281 of file Pythia8ToHepMC3.h.

◆ m_internal_event_number

int m_internal_event_number
private

Definition at line 279 of file Pythia8ToHepMC3.h.

◆ m_print_inconsistency

bool m_print_inconsistency
private

Definition at line 280 of file Pythia8ToHepMC3.h.

◆ m_store_pdf

bool m_store_pdf
private

Definition at line 284 of file Pythia8ToHepMC3.h.

◆ m_store_proc

bool m_store_proc
private

Definition at line 285 of file Pythia8ToHepMC3.h.

◆ m_store_weights

bool m_store_weights
private

Definition at line 287 of file Pythia8ToHepMC3.h.

◆ m_store_xsec

bool m_store_xsec
private

Definition at line 286 of file Pythia8ToHepMC3.h.


The documentation for this class was generated from the following file: