Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PHPythia8 Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/generators/PHPythia8/PHPythia8.h>

+ Inheritance diagram for PHPythia8:
+ Collaboration diagram for PHPythia8:

Public Member Functions

 PHPythia8 (const std::string &name="PHPythia8")
 
virtual ~PHPythia8 ()
 
int Init (PHCompositeNode *topNode)
 
int process_event (PHCompositeNode *topNode)
 
int ResetEvent (PHCompositeNode *topNode)
 Clean up after each event. More...
 
int End (PHCompositeNode *topNode)
 Called at the end of all processing. More...
 
void set_config_file (const char *cfg_file)
 
void print_config () const
 
void register_trigger (PHPy8GenTrigger *theTrigger)
 set event selection criteria More...
 
void set_trigger_OR ()
 
void set_trigger_AND ()
 
void process_string (std::string s)
 pass commands directly to PYTHIA8 More...
 
void beam_vertex_parameters (double beamX, double beamY, double beamZ, double beamXsigma, double beamYsigma, double beamZsigma)
 
void set_vertex_distribution_function (PHHepMCGenHelper::VTXFUNC x, PHHepMCGenHelper::VTXFUNC y, PHHepMCGenHelper::VTXFUNC z, PHHepMCGenHelper::VTXFUNC t)
 toss a new vertex according to a Uniform or Gaus distribution More...
 
void set_vertex_distribution_mean (const double x, const double y, const double z, const double t)
 set the mean value of the vertex distribution, use PHENIX units of cm, ns More...
 
void set_vertex_distribution_width (const double x, const double y, const double z, const double t)
 set the width of the vertex distribution function about the mean, use PHENIX units of cm, ns More...
 
void set_reuse_vertex (int src_embedding_id)
 reuse vertex from another PHHepMCGenEvent with embedding_id = src_embedding_id Additional smearing and shift possible with set_vertex_distribution_*() More...
 
int get_embedding_id () const
 
void set_embedding_id (int id)
 
void save_integrated_luminosity (const bool b)
 whether to store the integrated luminosity and other event statistics to the TOP/RUN/PHGenIntegral node More...
 
- Public Member Functions inherited from SubsysReco
virtual ~SubsysReco ()
 
virtual int EndRun (const int)
 Called at the end of each run. More...
 
virtual int InitRun (PHCompositeNode *)
 
virtual int Reset (PHCompositeNode *)
 Reset. More...
 
virtual void Print (const std::string &what="ALL") const
 
- Public Member Functions inherited from Fun4AllBase
virtual ~Fun4AllBase ()
 
virtual const std::string Name () const
 Returns the name of this module. More...
 
virtual void Name (const std::string &name)
 Sets the name of this module. More...
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet). More...
 
virtual void Verbosity (enu_Verbosity ival)
 Sets the verbosity of this module (0 by default=quiet). More...
 
virtual int Verbosity () const
 Gets the verbosity of this module. More...
 

Additional Inherited Members

- Public Types inherited from Fun4AllBase
enum  enu_Verbosity {
  VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3,
  VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10
}
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 
- Protected Member Functions inherited from Fun4AllBase
 Fun4AllBase (const std::string &name="NONAME")
 
- Protected Attributes inherited from Fun4AllBase
std::string ThisName
 
int verbosity
 The verbosity level. 0 means not verbose at all. More...
 

Detailed Description

Definition at line 35 of file PHPythia8.h.

Constructor & Destructor Documentation

PHPythia8::PHPythia8 ( const std::string &  name = "PHPythia8")

Definition at line 32 of file PHPythia8.C.

References PHHepMCGenHelper::set_embedding_id().

+ Here is the call graph for this function:

PHPythia8::~PHPythia8 ( )
virtual

Definition at line 64 of file PHPythia8.C.

Member Function Documentation

void PHPythia8::beam_vertex_parameters ( double  beamX,
double  beamY,
double  beamZ,
double  beamXsigma,
double  beamYsigma,
double  beamZsigma 
)
inline

Definition at line 68 of file PHPythia8.h.

References set_vertex_distribution_mean(), and set_vertex_distribution_width().

+ Here is the call graph for this function:

int PHPythia8::End ( PHCompositeNode )
virtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 109 of file PHPythia8.C.

References Fun4AllReturnCodes::EVENT_OK, PHObject::identify(), Fun4AllBase::verbosity, Fun4AllBase::VERBOSITY_MORE, and Fun4AllBase::VERBOSITY_SOME.

+ Here is the call graph for this function:

int PHPythia8::get_embedding_id ( ) const
inline

embedding ID for the event positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background

Definition at line 107 of file PHPythia8.h.

References PHHepMCGenHelper::get_embedding_id().

+ Here is the call graph for this function:

int PHPythia8::Init ( PHCompositeNode )
virtual

Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).

Reimplemented from SubsysReco.

Definition at line 69 of file PHPythia8.C.

References Fun4AllReturnCodes::EVENT_OK, and PHWHERE.

void PHPythia8::print_config ( ) const

Definition at line 162 of file PHPythia8.C.

int PHPythia8::process_event ( PHCompositeNode )
virtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 167 of file PHPythia8.C.

References Fun4AllReturnCodes::ABORTRUN, Fun4AllReturnCodes::EVENT_OK, PHHepMCGenHelper::insert_event(), PHGenIntegral::set_Integrated_Lumi(), PHGenIntegral::set_N_Generator_Accepted_Event(), PHGenIntegral::set_N_Processed_Event(), PHGenIntegral::set_Sum_Of_Weight(), Fun4AllBase::verbosity, Fun4AllBase::VERBOSITY_A_LOT, Fun4AllBase::VERBOSITY_EVEN_MORE, Fun4AllBase::VERBOSITY_MORE, and Fun4AllBase::VERBOSITY_SOME.

+ Here is the call graph for this function:

void PHPythia8::process_string ( std::string  s)
inline

pass commands directly to PYTHIA8

Definition at line 67 of file PHPythia8.h.

void PHPythia8::register_trigger ( PHPy8GenTrigger theTrigger)

set event selection criteria

Definition at line 303 of file PHPythia8.C.

References PHPy8GenTrigger::GetName(), Fun4AllBase::verbosity, and Fun4AllBase::VERBOSITY_MORE.

Referenced by EventDisplay4Sim(), Fun4DQ(), Fun4E1039Shielding(), Fun4HodoAccGap(), Fun4PatternDB(), Fun4Pythia8Demo(), Fun4Sim(), Fun4TrkDev(), and RecoE1039Sim().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHPythia8::ResetEvent ( PHCompositeNode )
virtual

Clean up after each event.

Reimplemented from SubsysReco.

Definition at line 298 of file PHPythia8.C.

References Fun4AllReturnCodes::EVENT_OK.

void PHPythia8::save_integrated_luminosity ( const bool  b)
inline

whether to store the integrated luminosity and other event statistics to the TOP/RUN/PHGenIntegral node

Definition at line 115 of file PHPythia8.h.

void PHPythia8::set_config_file ( const char *  cfg_file)
inline

Definition at line 46 of file PHPythia8.h.

Referenced by EventDisplay4Sim(), Fun4All_EventDisplay(), Fun4DQ(), Fun4E1039Shielding(), Fun4HodoAccGap(), Fun4PatternDB(), Fun4Pythia8Demo(), Fun4Sim(), Fun4TrkDev(), and RecoE1039Sim().

+ Here is the caller graph for this function:

void PHPythia8::set_embedding_id ( int  id)
inline

embedding ID for the event positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background

Definition at line 113 of file PHPythia8.h.

References PHHepMCGenHelper::set_embedding_id().

Referenced by EventDisplay4Sim(), and Fun4Sim().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHPythia8::set_reuse_vertex ( int  src_embedding_id)
inline

reuse vertex from another PHHepMCGenEvent with embedding_id = src_embedding_id Additional smearing and shift possible with set_vertex_distribution_*()

Definition at line 98 of file PHPythia8.h.

References PHHepMCGenHelper::set_reuse_vertex().

+ Here is the call graph for this function:

void PHPythia8::set_trigger_AND ( )
inline

Definition at line 60 of file PHPythia8.h.

Referenced by EventDisplay4Sim(), Fun4DQ(), Fun4E1039Shielding(), Fun4HodoAccGap(), Fun4PatternDB(), Fun4Sim(), Fun4TrkDev(), and RecoE1039Sim().

+ Here is the caller graph for this function:

void PHPythia8::set_trigger_OR ( )
inline

Definition at line 55 of file PHPythia8.h.

void PHPythia8::set_vertex_distribution_function ( PHHepMCGenHelper::VTXFUNC  x,
PHHepMCGenHelper::VTXFUNC  y,
PHHepMCGenHelper::VTXFUNC  z,
PHHepMCGenHelper::VTXFUNC  t 
)
inline

toss a new vertex according to a Uniform or Gaus distribution

Definition at line 80 of file PHPythia8.h.

References PHHepMCGenHelper::set_vertex_distribution_function().

+ Here is the call graph for this function:

void PHPythia8::set_vertex_distribution_mean ( const double  x,
const double  y,
const double  z,
const double  t 
)
inline

set the mean value of the vertex distribution, use PHENIX units of cm, ns

Definition at line 86 of file PHPythia8.h.

References PHHepMCGenHelper::set_vertex_distribution_mean().

Referenced by beam_vertex_parameters(), EventDisplay4Sim(), Fun4DQ(), Fun4E1039Shielding(), Fun4HodoAccGap(), Fun4PatternDB(), Fun4Sim(), Fun4TrkDev(), and RecoE1039Sim().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHPythia8::set_vertex_distribution_width ( const double  x,
const double  y,
const double  z,
const double  t 
)
inline

set the width of the vertex distribution function about the mean, use PHENIX units of cm, ns

Definition at line 92 of file PHPythia8.h.

References PHHepMCGenHelper::set_vertex_distribution_width().

Referenced by beam_vertex_parameters().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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