EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <GlobalVariables.C>
#include <DisplayOn.C>
#include <G4Setup_Beast.C>
#include <G4_DSTReader_Beast.C>
#include <G4_Input.C>
#include <fun4all/Fun4AllDstOutputManager.h>
#include <fun4all/Fun4AllOutputManager.h>
#include <fun4all/Fun4AllServer.h>
#include <phool/PHRandomSeed.h>
#include <phool/recoConsts.h>
Go to the source code of this file.
Macros | |
#define | MACRO_FUN4ALLG4BEAST_C |
Functions | |
int | Fun4All_G4_Beast (const int nEvents=1, const string &inputFile="/sphenix/data/data02/review_2017-08-02/single_particle/spacal2d/fieldmap/G4Hits_sPHENIX_e-_eta0_8GeV-0002.root", const string &outputFile="G4Beast.root", const string &embed_input_file="/sphenix/data/data02/review_2017-08-02/sHijing/fm_0-4.list", const int skip=0, const string &outdir=".") |
#define MACRO_FUN4ALLG4BEAST_C |
Definition at line 2 of file Fun4All_G4_Beast.C.
View newest version in sPHENIX GitHub at line 2 of file Fun4All_G4_Beast.C
int Fun4All_G4_Beast | ( | const int | nEvents = 1 , |
const string & | inputFile = "/sphenix/data/data02/review_2017-08-02/single_particle/spacal2d/fieldmap/G4Hits_sPHENIX_e-_eta0_8GeV-0002.root" , |
||
const string & | outputFile = "G4Beast.root" , |
||
const string & | embed_input_file = "/sphenix/data/data02/review_2017-08-02/sHijing/fm_0-4.list" , |
||
const int | skip = 0 , |
||
const string & | outdir = "." |
||
) |
embedding ID for the event positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 21 of file Fun4All_G4_Beast.C.
View newest version in sPHENIX GitHub at line 21 of file Fun4All_G4_Beast.C
References Enable::BLACKHOLE, Enable::DISPLAY, DisplayOn(), DstCompress(), Enable::DSTOUT, Enable::DSTOUT_COMPRESS, Enable::DSTREADER, Acts::UnitConstants::e, Input::EMBED, Fun4AllServer::End(), INPUTHEPMC::filename, INPUTREADHITS::filename, INPUTEMBED::filename, G4DSTreader(), G4Init(), G4Setup(), PHHepMCGenHelper::Gaus, Input::GUN, INPUTGENERATOR::Gun, Input::HEPMC, INPUTMANAGER::HepMCInputManager, InputInit(), InputManagers(), InputRegister(), recoConsts::instance(), Fun4AllServer::instance(), M_PI, G4MAGNET::magfield, Enable::MAGNET, Enable::MAGNET_ABSORBER, DstOut::OutputDir, DstOut::OutputFile, Enable::PIPE, Enable::PIPE_ABSORBER, pos(), Input::READHITS, Fun4AllServer::registerOutputManager(), Fun4AllServer::run(), PHHepMCGenHelper::set_vertex_distribution_function(), PHHepMCGenHelper::set_vertex_distribution_width(), Input::SIMPLE, INPUTGENERATOR::SimpleEventGenerator, PHG4SimpleEventGenerator::Uniform, Input::UPSILON, Input::UPSILON_VERBOSITY, G4PIPE::use_forward_pipes, INPUTGENERATOR::VectorMesonGenerator, PHRandomSeed::Verbosity(), Fun4AllBase::Verbosity(), and Input::VERBOSITY.