Analysis Software
Documentation for sPHENIX simulation software
|
#include <fun4all/SubsysReco.h>
#include <fun4all/Fun4AllServer.h>
#include <fun4all/Fun4AllInputManager.h>
#include <fun4all/Fun4AllDstOutputManager.h>
#include <fun4all/Fun4AllOutputManager.h>
#include <fun4all/Fun4AllDummyInputManager.h>
#include <g4detectors/PHG4BlockSubsystem.h>
#include <g4eval/PHG4DSTReader.h>
#include <g4main/PHG4ParticleGun.h>
#include <g4main/PHG4Reco.h>
#include <g4main/PHG4TruthSubsystem.h>
#include <phool/recoConsts.h>
Go to the source code of this file.
Functions | |
int | Fun4All_G4_block (const int nEvents=10, const char *outfile=NULL) |
PHG4ParticleGun * | get_gun (const char *name="PGUN") |
int Fun4All_G4_block | ( | const int | nEvents = 10 , |
const char * | outfile = NULL |
||
) |
Definition at line 21 of file Fun4All_G4_block.C.
View newest version in sPHENIX GitHub at line 21 of file Fun4All_G4_block.C
References PHG4DSTReader::AddNode(), Fun4AllServer::End(), in, recoConsts::instance(), Fun4AllServer::instance(), nEvents, out, add_histos::outfile, Fun4AllServer::registerInputManager(), Fun4AllServer::registerOutputManager(), Fun4AllServer::registerSubsystem(), PHG4Reco::registerSubsystem(), Fun4AllServer::run(), PHG4DetectorSubsystem::set_double_param(), PHG4Reco::set_field(), PHG4DSTReader::set_load_active_particle(), PHG4DSTReader::set_load_all_particle(), PHG4ParticleGeneratorBase::set_mom(), PHG4ParticleGeneratorBase::set_name(), PHG4DSTReader::set_save_particle(), PHG4DSTReader::set_save_vertex(), PHG4DetectorSubsystem::set_string_param(), PHG4ParticleGeneratorBase::set_vtx(), PHG4DetectorSubsystem::SetActive(), PHG4Reco::SetPhysicsList(), PHG4Reco::SetWorldMaterial(), PHG4Reco::SetWorldShape(), PHG4Reco::SetWorldSizeX(), PHG4Reco::SetWorldSizeY(), PHG4Reco::SetWorldSizeZ(), Fun4AllBase::Verbosity(), and zsize.
PHG4ParticleGun* get_gun | ( | const char * | name = "PGUN" | ) |
Definition at line 131 of file Fun4All_G4_block.C.
View newest version in sPHENIX GitHub at line 131 of file Fun4All_G4_block.C
References Fun4AllServer::getSubsysReco(), Fun4AllServer::instance(), and perf_headwind::name.