Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Setup_sPHENIX.C File Reference
#include <GlobalVariables.C>
#include <G4_Bbc.C>
#include <G4_BlackHole.C>
#include <G4_CEmc_Albedo.C>
#include <G4_CEmc_Spacal.C>
#include <G4_EPD.C>
#include <G4_HcalIn_ref.C>
#include <G4_HcalOut_ref.C>
#include <G4_BeamLine.C>
#include <G4_Magnet.C>
#include <G4_TrkrSimulation.C>
#include <G4_PSTOF.C>
#include <G4_Pipe.C>
#include <G4_PlugDoor.C>
#include <G4_User.C>
#include <G4_World.C>
#include <G4_ZDC.C>
#include <g4detectors/PHG4CylinderSubsystem.h>
#include <g4eval/PHG4DstCompressReco.h>
#include <g4main/PHG4Reco.h>
#include <g4main/PHG4TruthSubsystem.h>
#include <phfield/PHFieldConfig.h>
#include <g4decayer/EDecayType.hh>
#include <fun4all/Fun4AllDstOutputManager.h>
#include <fun4all/Fun4AllServer.h>
+ Include dependency graph for G4Setup_sPHENIX.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MACRO_G4SETUPSPHENIX_C
 

Functions

void G4Init ()
 
int G4Setup ()
 
void ShowerCompress (int verbosity=0)
 
void DstCompress (Fun4AllDstOutputManager *out)
 

Macro Definition Documentation

#define MACRO_G4SETUPSPHENIX_C

Definition at line 2 of file G4Setup_sPHENIX.C.

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

Function Documentation

void G4Init ( )

Definition at line 45 of file G4Setup_sPHENIX.C.

View newest version in sPHENIX GitHub at line 45 of file G4Setup_sPHENIX.C

References BbcInit(), Enable::BEAMLINE, BeamLineInit(), Enable::BLACKHOLE, BlackHoleInit(), Enable::CEMC, Enable::CEMCALBEDO, CEmcAlbedoInit(), CEmcInit(), Enable::EPD, EPDInit(), Enable::HCALIN, HCalInnerInit(), Enable::HCALOUT, HCalOuterInit(), Enable::INTT, InttInit(), Enable::MAGNET, MagnetFieldInit(), MagnetInit(), Enable::MICROMEGAS, MicromegasInit(), Enable::MVTX, MvtxInit(), Enable::PIPE, PipeInit(), Enable::PLUGDOOR, PlugDoorInit(), Enable::TPC, TPCInit(), Enable::USER, UserInit(), Enable::ZDC, and ZDCInit().

Referenced by ConfigureDetectors(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_BHG(), Fun4All_G4_Calo(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EICDetector_LQ(), Fun4All_G4_EICDetector_LQ_reference(), Fun4All_G4_EICDetector_RICH(), Fun4All_G4_EICIR(), Fun4All_G4_fsPHENIX_FastSim(), Fun4All_G4_fsPHENIX_pi0(), Fun4All_G4_sPHENIX(), Fun4All_G4_sPHENIX_AnaGenFit(), 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_G4_sPHENIX_photonjet(), Fun4All_G4_sPHENIX_photons(), Fun4All_G4_sPHENIX_truthphotonjet(), Fun4All_HCalJetPhiShift(), Fun4All_Pi0Gen_sPHENIX(), Fun4All_pi0tbt_SIMPLE_EMBED(), Fun4All_RunNewTruthMatcher(), Fun4All_single_particle(), Fun4All_SinglePhotonGen_sPHENIX(), Fun4All_SinglePi0Gen_sPHENIX(), Jin_BJet(), run_calo_fromMDC2Hits_towslope_Fun4All_G4_Calo(), rundst_spiNo(), spiNo2(), and Wrapper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int G4Setup ( )

Definition at line 81 of file G4Setup_sPHENIX.C.

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

References Bbc(), Enable::BEAMLINE, BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), Enable::BLACKHOLE, BlackHole(), CEmc(), Enable::CEMC, Enable::CEMCALBEDO, CEmcAlbedo(), PHG4Reco::CustomizeEvtGenDecay(), EVTGENDECAYER::DecayFile, G4P6DECAYER::decayType, Enable::EPD, EPD(), PHFieldConfig::Field3DCartesian, Enable::HCALIN, HCalInner(), Enable::HCALOUT, HCalOuter(), Fun4AllServer::instance(), Enable::INTT, Intt(), kAll, PHFieldConfig::kField2D, G4MAGNET::magfield, G4MAGNET::magfield_rescale, Magnet(), Enable::MAGNET, Enable::MICROMEGAS, Micromegas(), Enable::MVTX, Mvtx(), Pipe(), Enable::PIPE, Enable::PLUGDOOR, PlugDoor(), Fun4AllServer::registerSubsystem(), PHG4Reco::registerSubsystem(), PHG4Reco::set_field(), PHG4Reco::set_field_map(), PHG4Reco::set_field_rescale(), PHG4Reco::set_force_decay(), PHG4Reco::set_rapidity_coverage(), g4evalfn::TPC, Enable::TPC, Enable::USER, UserDetector(), WorldInit(), WorldSize(), Enable::ZDC, and ZDCSetup().

Referenced by ConfigureDetectors(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_BHG(), Fun4All_G4_Calo(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EICDetector_LQ(), Fun4All_G4_EICDetector_LQ_reference(), Fun4All_G4_EICDetector_RICH(), Fun4All_G4_EICIR(), Fun4All_G4_fsPHENIX_FastSim(), Fun4All_G4_fsPHENIX_pi0(), Fun4All_G4_sPHENIX(), Fun4All_G4_sPHENIX_AnaGenFit(), 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_G4_sPHENIX_photonjet(), Fun4All_G4_sPHENIX_photons(), Fun4All_G4_sPHENIX_truthphotonjet(), Fun4All_HCalJetPhiShift(), Fun4All_Pi0Gen_sPHENIX(), Fun4All_pi0tbt_SIMPLE_EMBED(), Fun4All_RunNewTruthMatcher(), Fun4All_single_particle(), Fun4All_SinglePhotonGen_sPHENIX(), Fun4All_SinglePi0Gen_sPHENIX(), Jin_BJet(), run_calo_fromMDC2Hits_towslope_Fun4All_G4_Calo(), rundst_spiNo(), spiNo2(), and Wrapper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ShowerCompress ( int  verbosity = 0)

Definition at line 166 of file G4Setup_sPHENIX.C.

View newest version in sPHENIX GitHub at line 166 of file G4Setup_sPHENIX.C

References PHG4DstCompressReco::AddCellContainer(), PHG4DstCompressReco::AddHitContainer(), PHG4DstCompressReco::AddTowerContainer(), Fun4AllServer::instance(), and Fun4AllServer::registerSubsystem().

Referenced by ConfigureDetectors(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_Calo(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_EICDetector_LQ(), Fun4All_G4_EICDetector_LQ_reference(), Fun4All_G4_EICDetector_RICH(), Fun4All_G4_fsPHENIX_FastSim(), Fun4All_G4_fsPHENIX_pi0(), Fun4All_G4_sPHENIX(), Fun4All_G4_sPHENIX_AnaGenFit(), 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_G4_sPHENIX_photonjet(), Fun4All_G4_sPHENIX_photons(), Fun4All_G4_sPHENIX_truthphotonjet(), Fun4All_HCalJetPhiShift(), Fun4All_Pi0Gen_sPHENIX(), Fun4All_pi0tbt_SIMPLE_EMBED(), Fun4All_RunNewTruthMatcher(), Fun4All_single_particle(), Fun4All_SinglePhotonGen_sPHENIX(), Fun4All_SinglePi0Gen_sPHENIX(), Jin_BJet(), run_calo_fromMDC2Hits_towslope_Fun4All_G4_Calo(), rundst_spiNo(), and spiNo2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: