Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Input Namespace Reference

Enumerations

enum  BeamConfiguration { AA_COLLISION = 0, pA_COLLISION, pp_COLLISION }
 nominal beam parameter configuration choices for BEAM_CONFIGURATION More...
 

Functions

void ApplysPHENIXBeamParameter (PHHepMCGenHelper *HepMCGen, const Input::BeamConfiguration &beam_config)
 
void ApplysPHENIXBeamParameter (PHHepMCGenHelper *HepMCGen)
 
void ApplyEICBeamParameter (PHHepMCGenHelper *HepMCGen)
 

Variables

bool PYTHIA6 = false
 
int PYTHIA6_EmbedId = 0
 
bool PYTHIA8 = false
 
int PYTHIA8_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 COSMIC = false
 
double COSMIC_R = 650.
 
bool HEPMC = false
 
bool EMBED = false
 
bool READEIC = false
 
bool UPSILON = false
 
std::set< int > UPSILON_EmbedIds
 
BeamConfiguration BEAM_CONFIGURATION = AA_COLLISION
 

Enumeration Type Documentation

nominal beam parameter configuration choices for BEAM_CONFIGURATION

Enumerator:
AA_COLLISION 
pA_COLLISION 
pp_COLLISION 

Definition at line 22 of file GlobalVariables.C.

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

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, ReadEICFiles

Definition at line 162 of file G4_Input.C.

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

References Acts::UnitConstants::e, PHHepMCGenHelper::Gaus, 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_AnaTutorial().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Input::ApplysPHENIXBeamParameter ( PHHepMCGenHelper HepMCGen,
const Input::BeamConfiguration beam_config 
)

apply reference sPHENIX nominal beam parameter with 2mrad crossing as defined in sPH-TRG-2022-001 and past RHIC experience

Parameters
[in]HepMCGenany HepMC generator, e.g. Fun4AllHepMCInputManager, Fun4AllHepMCPileupInputManager, PHPythia8, PHPythia6, ReadEICFiles
[in]collision_typeselect the beam configuration with Input::BeamConfiguration

Definition at line 95 of file G4_Input.C.

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

References AA_COLLISION, Acts::UnitConstants::e, PHHepMCGenHelper::Gaus, pA_COLLISION, pp_COLLISION, PHHepMCGenHelper::set_beam_direction_theta_phi(), PHHepMCGenHelper::set_vertex_distribution_function(), and PHHepMCGenHelper::set_vertex_distribution_width().

Referenced by ApplysPHENIXBeamParameter(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_BHG(), Fun4All_G4_sPHENIX(), Fun4All_G4_sPHENIX_ForTrackCutStudy(), Fun4All_G4_sPHENIX_ForTrackCutStudy_EmbedScanOff(), Fun4All_G4_sPHENIX_ForTrackCutStudy_EmbedScanOn(), Fun4All_G4_sPHENIX_ForTrackCutStudy_WithPileup_EmbedScanOff(), Fun4All_G4_sPHENIX_ForTrackCutStudy_WithPileup_EmbedScanOn(), Fun4All_Pi0Gen_sPHENIX(), Fun4All_pi0tbt_SIMPLE_EMBED(), Fun4All_RunNewTruthMatcher(), Fun4All_SinglePhotonGen_sPHENIX(), Fun4All_SinglePi0Gen_sPHENIX(), and Fun4AllPythia().

+ 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 according to the beam collision setting of Input::IS_PP_COLLISION

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

Definition at line 154 of file G4_Input.C.

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

References ApplysPHENIXBeamParameter(), and BEAM_CONFIGURATION.

+ Here is the call graph for this function:

Variable Documentation

BeamConfiguration Input::BEAM_CONFIGURATION = AA_COLLISION

Definition at line 29 of file GlobalVariables.C.

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

Referenced by ApplysPHENIXBeamParameter(), and Fun4All_BHG().

bool Input::COSMIC = false

Definition at line 89 of file G4_Input.C.

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

Referenced by InputRegister().

double Input::COSMIC_R = 650.

Definition at line 90 of file G4_Input.C.

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

Referenced by InputRegister().

std::set<int> Input::DZERO_EmbedIds

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 InputInit().

int Input::DZERO_NUMBER = 1

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 InputInit().

int Input::DZERO_VERBOSITY = 0

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 InputRegister().

int Input::EmbedId = 1

Definition at line 87 of file G4_Input.C.

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

Referenced by InputInit().

std::set<int> Input::GUN_EmbedIds

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 InputInit().

int Input::GUN_NUMBER = 1

Definition at line 62 of file G4_Input.C.

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

Referenced by InputInit().

int Input::GUN_VERBOSITY = 0

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 InputRegister().

bool Input::IONGUN = false

Definition at line 66 of file G4_Input.C.

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

Referenced by InputInit(), and InputRegister().

std::set<int> Input::IONGUN_EmbedIds

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 InputInit().

int Input::IONGUN_NUMBER = 1

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().

int Input::IONGUN_VERBOSITY = 0

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 InputRegister().

bool Input::PGEN = false

Definition at line 71 of file G4_Input.C.

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

Referenced by InputInit(), and InputRegister().

std::set<int> Input::PGEN_EmbedIds

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 InputInit().

int Input::PGEN_NUMBER = 1

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().

int Input::PGEN_VERBOSITY = 0

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 InputRegister().

int Input::PYTHIA6_EmbedId = 0

Definition at line 50 of file G4_Input.C.

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

Referenced by InputInit().

int Input::PYTHIA8_EmbedId = 0

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 InputInit().

bool Input::READEIC = false

Definition at line 16 of file GlobalVariables.C.

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

Referenced by Fun4All_G4_EICDetector_AnaTutorial(), and InputRegister().

int Input::SIMPLE_NUMBER = 1

Definition at line 77 of file G4_Input.C.

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

Referenced by InputInit().

int Input::SIMPLE_VERBOSITY = 0
std::set<int> Input::UPSILON_EmbedIds

Definition at line 19 of file GlobalVariables.C.

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

Referenced by InputInit(), and Tracking_QA().

int Input::UPSILON_NUMBER = 1

Definition at line 80 of file G4_Input.C.

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

Referenced by InputInit().

int Input::UPSILON_VERBOSITY = 0

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 InputRegister().