EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4All_G4_JLeic.C File Reference
#include <GlobalVariables.C>
#include <DisplayOn.C>
#include <G4Setup_JLeic.C>
#include <G4_DSTReader_JLeic.C>
#include <G4_Input.C>
#include <G4_Tracking_JLeic.C>
#include <fun4all/Fun4AllDstOutputManager.h>
#include <fun4all/Fun4AllOutputManager.h>
#include <fun4all/Fun4AllServer.h>
#include <phool/PHRandomSeed.h>
#include <phool/recoConsts.h>
+ Include dependency graph for Fun4All_G4_JLeic.C:

Go to the source code of this file.

Macros

#define MACRO_FUN4ALLG4JLEIC_C
 

Functions

int Fun4All_G4_JLeic (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="G4JLeic.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=".")
 

Macro Definition Documentation

#define MACRO_FUN4ALLG4JLEIC_C

Definition at line 2 of file Fun4All_G4_JLeic.C.

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

Function Documentation

int Fun4All_G4_JLeic ( 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 = "G4JLeic.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 22 of file Fun4All_G4_JLeic.C.

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

References Enable::BARREL_HCAL, Enable::BLACKHOLE, Enable::CTD, Enable::DIRC, Enable::DISPLAY, DisplayOn(), Enable::DRICH, DstCompress(), Enable::DSTOUT, Enable::DSTOUT_COMPRESS, Enable::DSTREADER, Acts::UnitConstants::e, Input::EMBED, Fun4AllServer::End(), Enable::ENDCAP_ELECTRON, Enable::ENDCAP_HADRON, INPUTHEPMC::filename, INPUTREADHITS::filename, INPUTEMBED::filename, G4DSTreader(), G4Init(), G4Setup(), PHHepMCGenHelper::Gaus, Enable::GEM, Input::GUN, INPUTGENERATOR::Gun, Input::HEPMC, INPUTMANAGER::HepMCInputManager, InputInit(), InputManagers(), InputRegister(), recoConsts::instance(), Fun4AllServer::instance(), M_PI, Enable::MAGNET, Enable::MAGNET_ABSORBER, DstOut::OutputDir, DstOut::OutputFile, Enable::PIPE, Enable::PIPE_ABSORBER, pos(), G4TRACKING::PROJECTION_JLDIRC, Input::READHITS, Fun4AllServer::registerOutputManager(), Fun4AllServer::run(), PHHepMCGenHelper::set_vertex_distribution_function(), PHHepMCGenHelper::set_vertex_distribution_width(), Input::SIMPLE, INPUTGENERATOR::SimpleEventGenerator, Enable::TRACKING, Tracking_Eval(), Tracking_Reco(), TrackingInit(), PHG4SimpleEventGenerator::Uniform, Input::UPSILON, Input::UPSILON_VERBOSITY, G4PIPE::use_forward_pipes, INPUTGENERATOR::VectorMesonGenerator, PHRandomSeed::Verbosity(), Fun4AllBase::Verbosity(), Input::VERBOSITY, and Enable::VTX.

+ Here is the call graph for this function: