ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_Input.C File Reference
#include <GlobalVariables.C>
#include <phpythia6/PHPythia6.h>
#include <phpythia8/PHPythia8.h>
#include <g4main/HepMCNodeReader.h>
#include <g4main/PHG4IonGun.h>
#include <g4main/PHG4ParticleGenerator.h>
#include <g4main/PHG4ParticleGeneratorD0.h>
#include <g4main/PHG4ParticleGeneratorVectorMeson.h>
#include <g4main/PHG4ParticleGun.h>
#include <g4main/PHG4SimpleEventGenerator.h>
#include <g4main/ReadEICFiles.h>
#include <fermimotionafterburner/FermimotionAfterburner.h>
#include <phhepmc/Fun4AllHepMCInputManager.h>
#include <phhepmc/Fun4AllHepMCPileupInputManager.h>
#include <phhepmc/HepMCFlowAfterBurner.h>
#include <phhepmc/PHHepMCGenHelper.h>
#include <phsartre/PHSartre.h>
#include <phsartre/PHSartreParticleTrigger.h>
#include <fun4all/Fun4AllDstInputManager.h>
#include <fun4all/Fun4AllDummyInputManager.h>
#include <fun4all/Fun4AllInputManager.h>
#include <fun4all/Fun4AllNoSyncDstInputManager.h>
#include <fun4all/Fun4AllServer.h>
#include <set>
+ Include dependency graph for G4_Input.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Input
 
namespace  INPUTHEPMC
 
namespace  INPUTREADEIC
 
namespace  INPUTREADHITS
 
namespace  INPUTEMBED
 
namespace  PYTHIA6
 
namespace  PYTHIA8
 
namespace  SARTRE
 
namespace  PILEUP
 
namespace  INPUTGENERATOR
 
namespace  INPUTMANAGER
 

Macros

#define MACRO_G4INPUT_C
 

Functions

void Input::ApplysPHENIXBeamParameter (PHHepMCGenHelper *HepMCGen)
 
void Input::ApplyEICIP6BeamParameter (PHHepMCGenHelper *HepMCGen)
 
void Input::ApplyEICIP8BeamParameter (PHHepMCGenHelper *HepMCGen)
 
void Input::ApplyEICBeamParameter (PHHepMCGenHelper *HepMCGen)
 
void InputInit ()
 
void InputRegister ()
 
void InputManagers ()
 

Variables

bool Input::PYTHIA6 = false
 
int Input::PYTHIA6_EmbedId = 0
 
bool Input::PYTHIA8 = false
 
int Input::PYTHIA8_EmbedId = 0
 
bool Input::SARTRE = false
 
int Input::SARTRE_EmbedId = 0
 
bool Input::DZERO = false
 
int Input::DZERO_NUMBER = 1
 
int Input::DZERO_VERBOSITY = 0
 
std::set< intInput::DZERO_EmbedIds
 
bool Input::GUN = false
 
int Input::GUN_NUMBER = 1
 
int Input::GUN_VERBOSITY = 0
 
std::set< intInput::GUN_EmbedIds
 
bool Input::IONGUN = false
 
int Input::IONGUN_NUMBER = 1
 
int Input::IONGUN_VERBOSITY = 0
 
std::set< intInput::IONGUN_EmbedIds
 
bool Input::PGEN = false
 
int Input::PGEN_NUMBER = 1
 
int Input::PGEN_VERBOSITY = 0
 
std::set< intInput::PGEN_EmbedIds
 
bool Input::SIMPLE = false
 
int Input::SIMPLE_NUMBER = 1
 
int Input::SIMPLE_VERBOSITY = 0
 
int Input::UPSILON_NUMBER = 1
 
int Input::UPSILON_VERBOSITY = 0
 
double Input::PILEUPRATE = 0.
 
bool Input::READHITS = false
 
int Input::VERBOSITY = 0
 
int Input::EmbedId = 1
 
string INPUTHEPMC::filename
 
string INPUTHEPMC::listfile
 
bool INPUTHEPMC::FLOW = false
 
int INPUTHEPMC::FLOW_VERBOSITY = 0
 
bool INPUTHEPMC::FERMIMOTION = false
 
string INPUTREADEIC::filename
 
map< unsigned int, std::string > INPUTREADHITS::filename
 
map< unsigned int, std::string > INPUTREADHITS::listfile
 
map< unsigned int, std::string > INPUTEMBED::filename
 
map< unsigned int, std::string > INPUTEMBED::listfile
 
string PYTHIA6::config_file = string(getenv("CALIBRATIONROOT")) + "/Generators/phpythia6_e18p275_MinPartonP10GeV.cfg"
 
string PYTHIA8::config_file = string(getenv("CALIBRATIONROOT")) + "/Generators/phpythia8.cfg"
 
string SARTRE::config_file = string(getenv("CALIBRATIONROOT")) + "/Generators/sartre.cfg"
 
string PILEUP::pileupfile = "/sphenix/sim/sim01/sphnxpro/MDC1/sHijing_HepMC/data/sHijing_0_20fm-0000000001-00000.dat"
 
double PILEUP::TpcDriftVelocity = 8.0 / 1000.0
 
std::vector< PHG4IonGun * > INPUTGENERATOR::IonGun
 
std::vector
< PHG4ParticleGenerator * > 
INPUTGENERATOR::ParticleGenerator
 
std::vector
< PHG4ParticleGeneratorD0 * > 
INPUTGENERATOR::DZeroMesonGenerator
 
std::vector
< PHG4ParticleGeneratorVectorMeson * > 
INPUTGENERATOR::VectorMesonGenerator
 
std::vector
< PHG4SimpleEventGenerator * > 
INPUTGENERATOR::SimpleEventGenerator
 
std::vector< PHG4ParticleGun * > INPUTGENERATOR::Gun
 
PHPythia6INPUTGENERATOR::Pythia6 = nullptr
 
PHPythia8INPUTGENERATOR::Pythia8 = nullptr
 
PHSartreINPUTGENERATOR::Sartre = nullptr
 
PHSartreParticleTriggerINPUTGENERATOR::SartreTrigger = nullptr
 
ReadEICFilesINPUTGENERATOR::EICFileReader = nullptr
 
Fun4AllHepMCInputManagerINPUTMANAGER::HepMCInputManager = nullptr
 
Fun4AllHepMCPileupInputManagerINPUTMANAGER::HepMCPileupInputManager = nullptr
 

Macro Definition Documentation

#define MACRO_G4INPUT_C

Definition at line 2 of file G4_Input.C.

View newest version in sPHENIX GitHub at line 2 of file G4_Input.C

Function Documentation

void InputInit ( )

Definition at line 515 of file G4_Input.C.

View newest version in sPHENIX GitHub at line 515 of file G4_Input.C

References PHSartreParticleTrigger::AddParticles(), PYTHIA6::config_file, PYTHIA8::config_file, SARTRE::config_file, Input::DZERO, Input::DZERO_EmbedIds, Input::DZERO_NUMBER, INPUTGENERATOR::DZeroMesonGenerator, Input::EMBED, PHG4ParticleGeneratorBase::Embed(), Input::EmbedId, INPUTHEPMC::FLOW, Input::GUN, INPUTGENERATOR::Gun, Input::GUN_EmbedIds, Input::GUN_NUMBER, Input::HEPMC, INPUTMANAGER::HepMCInputManager, INPUTMANAGER::HepMCPileupInputManager, Fun4AllServer::instance(), Input::IONGUN, INPUTGENERATOR::IonGun, Input::IONGUN_EmbedIds, Input::IONGUN_NUMBER, INPUTGENERATOR::ParticleGenerator, Input::PGEN, Input::PGEN_EmbedIds, Input::PGEN_NUMBER, Input::PILEUPRATE, PHSartreParticleTrigger::PrintConfig(), Input::PYTHIA6, INPUTGENERATOR::Pythia6, Input::PYTHIA6_EmbedId, Input::PYTHIA8, INPUTGENERATOR::Pythia8, Input::PYTHIA8_EmbedId, Input::READHITS, Input::SARTRE, INPUTGENERATOR::Sartre, Input::SARTRE_EmbedId, INPUTGENERATOR::SartreTrigger, PHPythia6::set_config_file(), PHSartre::set_config_file(), PHPythia8::set_config_file(), PHHepMCGenHelper::set_embedding_id(), PHSartreParticleTrigger::SetEtaHighLow(), Input::SIMPLE, Input::SIMPLE_NUMBER, INPUTGENERATOR::SimpleEventGenerator, nlohmann::to_string(), Input::UPSILON, Input::UPSILON_EmbedIds, Input::UPSILON_NUMBER, and INPUTGENERATOR::VectorMesonGenerator.

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_dRICHImport(), Fun4All_G4_ECCEModular(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_sPHENIX(), Fun4All_photonDispersion(), and Fun4All_runEvaluators().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void InputManagers ( )
void InputRegister ( )

Definition at line 663 of file G4_Input.C.

View newest version in sPHENIX GitHub at line 663 of file G4_Input.C

References Input::DZERO, Input::DZERO_VERBOSITY, INPUTGENERATOR::DZeroMesonGenerator, INPUTGENERATOR::EICFileReader, fermi, INPUTHEPMC::FERMIMOTION, INPUTREADEIC::filename, INPUTHEPMC::FLOW, INPUTHEPMC::FLOW_VERBOSITY, Input::GUN, INPUTGENERATOR::Gun, Input::GUN_VERBOSITY, Input::HEPMC, Fun4AllServer::instance(), Input::IONGUN, INPUTGENERATOR::IonGun, Input::IONGUN_VERBOSITY, max, ReadEICFiles::OpenInputFile(), INPUTGENERATOR::ParticleGenerator, Input::PGEN, Input::PGEN_VERBOSITY, Input::PYTHIA6, INPUTGENERATOR::Pythia6, Input::PYTHIA8, INPUTGENERATOR::Pythia8, Input::READEIC, PHSartre::register_trigger(), Fun4AllServer::registerSubsystem(), Input::SARTRE, INPUTGENERATOR::Sartre, INPUTGENERATOR::SartreTrigger, Input::SIMPLE, Input::SIMPLE_VERBOSITY, INPUTGENERATOR::SimpleEventGenerator, Input::UPSILON, Input::UPSILON_VERBOSITY, INPUTGENERATOR::VectorMesonGenerator, Fun4AllBase::Verbosity(), and Input::VERBOSITY.

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_dRICHImport(), Fun4All_G4_ECCEModular(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_sPHENIX(), and Fun4All_photonDispersion().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: