EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Input Namespace Reference

Functions

void ApplysPHENIXBeamParameter (PHHepMCGenHelper *HepMCGen)
 
void ApplyEICBeamParameter (PHHepMCGenHelper *HepMCGen)
 

Variables

bool HEPMC = false
 
bool EMBED = false
 
bool READEIC = false
 
bool PYTHIA6 = false
 
int PYTHIA6_EmbedId = 0
 
bool PYTHIA8 = false
 
int PYTHIA8_EmbedId = 0
 
bool SARTRE = false
 
int SARTRE_EmbedId = 0
 
bool DZERO = false
 
int DZERO_NUMBER = 1
 
int DZERO_VERBOSITY = 0
 
std::set< int > DZERO_EmbedIds
 
bool GUN = false
 
int GUN_NUMBER = 1
 
int GUN_VERBOSITY = 0
 
std::set< int > GUN_EmbedIds
 
bool IONGUN = false
 
int IONGUN_NUMBER = 1
 
int IONGUN_VERBOSITY = 0
 
std::set< int > IONGUN_EmbedIds
 
bool PGEN = false
 
int PGEN_NUMBER = 1
 
int PGEN_VERBOSITY = 0
 
std::set< int > PGEN_EmbedIds
 
bool SIMPLE = false
 
int SIMPLE_NUMBER = 1
 
int SIMPLE_VERBOSITY = 0
 
int UPSILON_NUMBER = 1
 
int UPSILON_VERBOSITY = 0
 
double PILEUPRATE = 0.
 
bool READHITS = false
 
int VERBOSITY = 0
 
int EmbedId = 1
 
bool UPSILON = false
 
std::set< int > UPSILON_EmbedIds
 

Function Documentation

void Input::ApplyEICBeamParameter ( PHHepMCGenHelper HepMCGen)

apply EIC beam parameter to any HepMC generator following EIC CDR, including in-time collision's space time shift, beam crossing angle and angular divergence

Parameters
[in]HepMCGenany HepMC generator, e.g. Fun4AllHepMCInputManager, Fun4AllHepMCPileupInputManager, PHPythia8, PHPythia6, PHSartre, ReadEICFiles

Definition at line 116 of file G4_Input.C.

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

References Acts::UnitConstants::e, exit(), PHHepMCGenHelper::Gaus, M_PI, PHHepMCGenHelper::set_beam_angular_divergence_hv(), PHHepMCGenHelper::set_beam_angular_z_coefficient_hv(), PHHepMCGenHelper::set_beam_direction_theta_phi(), PHHepMCGenHelper::set_vertex_distribution_function(), and PHHepMCGenHelper::set_vertex_distribution_width().

Referenced by Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FullDetectorModular(), and Fun4All_G4_FullDetectorModularBeast().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Input::ApplysPHENIXBeamParameter ( PHHepMCGenHelper HepMCGen)

apply sPHENIX nominal beam parameter with 2mrad crossing as defined in sPH-TRG-2020-001

Parameters
[in]HepMCGenany HepMC generator, e.g. Fun4AllHepMCInputManager, Fun4AllHepMCPileupInputManager, PHPythia8, PHPythia6, PHSartre, ReadEICFiles

Definition at line 92 of file G4_Input.C.

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

References Acts::UnitConstants::e, exit(), PHHepMCGenHelper::Gaus, M_PI, PHHepMCGenHelper::set_beam_direction_theta_phi(), PHHepMCGenHelper::set_vertex_distribution_function(), and PHHepMCGenHelper::set_vertex_distribution_width().

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_fsPHENIX(), and Fun4All_G4_sPHENIX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

bool Input::DZERO = false

Definition at line 57 of file G4_Input.C.

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

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_sPHENIX(), InputInit(), and InputRegister().

std::set<int> Input::DZERO_EmbedIds

Definition at line 60 of file G4_Input.C.

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

Referenced by InputInit().

int Input::DZERO_NUMBER = 1

Definition at line 58 of file G4_Input.C.

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

Referenced by InputInit().

int Input::DZERO_VERBOSITY = 0

Definition at line 59 of file G4_Input.C.

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

Referenced by InputRegister().

int Input::EmbedId = 1

Definition at line 88 of file G4_Input.C.

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

Referenced by InputInit().

std::set<int> Input::GUN_EmbedIds

Definition at line 65 of file G4_Input.C.

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

Referenced by InputInit().

int Input::GUN_NUMBER = 1

Definition at line 63 of file G4_Input.C.

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

Referenced by InputInit().

int Input::GUN_VERBOSITY = 0

Definition at line 64 of file G4_Input.C.

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

Referenced by Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_LBLDetector(), and InputRegister().

bool Input::IONGUN = false

Definition at line 67 of file G4_Input.C.

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

Referenced by InputInit(), and InputRegister().

std::set<int> Input::IONGUN_EmbedIds

Definition at line 70 of file G4_Input.C.

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

Referenced by InputInit().

int Input::IONGUN_NUMBER = 1

Definition at line 68 of file G4_Input.C.

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

Referenced by InputInit().

int Input::IONGUN_VERBOSITY = 0

Definition at line 69 of file G4_Input.C.

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

Referenced by InputRegister().

bool Input::PGEN = false

Definition at line 72 of file G4_Input.C.

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

Referenced by InputInit(), and InputRegister().

std::set<int> Input::PGEN_EmbedIds

Definition at line 75 of file G4_Input.C.

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

Referenced by InputInit().

int Input::PGEN_NUMBER = 1

Definition at line 73 of file G4_Input.C.

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

Referenced by InputInit().

int Input::PGEN_VERBOSITY = 0

Definition at line 74 of file G4_Input.C.

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

Referenced by InputRegister().

double Input::PILEUPRATE = 0.

Definition at line 85 of file G4_Input.C.

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

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_fsPHENIX(), Fun4All_G4_sPHENIX(), InputInit(), and InputManagers().

int Input::PYTHIA6_EmbedId = 0

Definition at line 48 of file G4_Input.C.

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

Referenced by InputInit().

int Input::PYTHIA8_EmbedId = 0

Definition at line 51 of file G4_Input.C.

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

Referenced by InputInit().

bool Input::SARTRE = false

Definition at line 53 of file G4_Input.C.

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

Referenced by Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), InputInit(), and InputRegister().

int Input::SARTRE_EmbedId = 0

Definition at line 54 of file G4_Input.C.

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

Referenced by InputInit().

int Input::SIMPLE_NUMBER = 1

Definition at line 78 of file G4_Input.C.

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

Referenced by InputInit().

int Input::SIMPLE_VERBOSITY = 0

Definition at line 79 of file G4_Input.C.

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

Referenced by Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), and InputRegister().

std::set<int> Input::UPSILON_EmbedIds

Definition at line 18 of file GlobalVariables.C.

View newest version in sPHENIX GitHub at line 18 of file GlobalVariables.C

Referenced by InputInit(), and Tracking_QA().

int Input::UPSILON_NUMBER = 1

Definition at line 81 of file G4_Input.C.

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

Referenced by InputInit().