EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4All_G4_EICDetector.C File Reference
#include <GlobalVariables.C>
#include <DisplayOn.C>
#include <G4Setup_EICDetector.C>
#include <G4_Bbc.C>
#include <G4_CaloTrigger.C>
#include <G4_DSTReader_EICDetector.C>
#include <G4_FwdJets.C>
#include <G4_Global.C>
#include <G4_HIJetReco.C>
#include <G4_Input.C>
#include <G4_Jets.C>
#include <G4_Production.C>
#include <G4_QA_EIC.C>
#include <qa_modules/QAHistManagerDef.h>
#include <fun4all/Fun4AllDstOutputManager.h>
#include <fun4all/Fun4AllOutputManager.h>
#include <fun4all/Fun4AllServer.h>
#include <phool/recoConsts.h>
+ Include dependency graph for Fun4All_G4_EICDetector.C:

Go to the source code of this file.

Macros

#define MACRO_FUN4ALLG4EICDETECTOR_C
 

Functions

int Fun4All_G4_EICDetector (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="G4EICDetector.root", const string &embed_input_file="https://www.phenix.bnl.gov/WWW/publish/phnxbld/sPHENIX/files/sPHENIX_G4Hits_sHijing_9-11fm_00000_00010.root", const int skip=0, const string &outdir=".")
 

Macro Definition Documentation

#define MACRO_FUN4ALLG4EICDETECTOR_C

Definition at line 2 of file Fun4All_G4_EICDetector.C.

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

Function Documentation

int Fun4All_G4_EICDetector ( 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 = "G4EICDetector.root",
const string &  embed_input_file = "https://www.phenix.bnl.gov/WWW/publish/phnxbld/sPHENIX/files/sPHENIX_G4Hits_sHijing_9-11fm_00000_00010.root",
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 29 of file Fun4All_G4_EICDetector.C.

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

References Enable::ABSORBER, Enable::AEROGEL, Enable::BARREL, Enable::BBC, Bbc_Reco(), BbcInit(), Enable::BLACKHOLE, Enable::CALOTRIGGER, CaloTrigger_Sim(), Enable::CEMC, Enable::CEMC_CELL, CEMC_Cells(), Enable::CEMC_CLUSTER, CEMC_Clusters(), Enable::CEMC_EVAL, CEMC_Eval(), Enable::CEMC_TOWER, CEMC_Towers(), G4TRACKING::DISPLACED_VERTEX, DstCompress(), Enable::DSTOUT, Enable::DSTOUT_COMPRESS, Enable::DSTREADER, Acts::UnitConstants::e, Enable::EEMC, Enable::EEMC_CLUSTER, EEMC_Clusters(), Enable::EEMC_EVAL, EEMC_Eval(), Enable::EEMC_TOWER, EEMC_Towers(), Enable::EGEM, Input::EMBED, Fun4AllServer::End(), Enable::FEMC, Enable::FEMC_CLUSTER, FEMC_Clusters(), Enable::FEMC_EVAL, FEMC_Eval(), Enable::FEMC_TOWER, FEMC_Towers(), Enable::FGEM, Enable::FHCAL, Enable::FHCAL_CLUSTER, FHCAL_Clusters(), Enable::FHCAL_EVAL, FHCAL_Eval(), Enable::FHCAL_TOWER, FHCAL_Towers(), INPUTHEPMC::filename, INPUTREADEIC::filename, INPUTREADHITS::filename, INPUTEMBED::filename, Enable::FST, Enable::FWDJETS, Enable::FWDJETS_EVAL, G4DSTreader_EICDetector(), G4Init(), G4Setup(), PHHepMCGenHelper::Gaus, Enable::GLOBAL_FASTSIM, Global_FastSim(), Enable::GLOBAL_RECO, Global_Reco(), Input::GUN, INPUTGENERATOR::Gun, Input::GUN_VERBOSITY, Enable::HCALIN, Enable::HCALIN_CELL, Enable::HCALIN_CLUSTER, Enable::HCALIN_EVAL, Enable::HCALIN_TOWER, HCALInner_Cells(), HCALInner_Clusters(), HCALInner_Eval(), HCALInner_Towers(), Enable::HCALOUT, Enable::HCALOUT_CELL, Enable::HCALOUT_CLUSTER, Enable::HCALOUT_EVAL, Enable::HCALOUT_TOWER, HCALOuter_Cells(), HCALOuter_Clusters(), HCALOuter_Eval(), HCALOuter_Towers(), Input::HEPMC, INPUTMANAGER::HepMCInputManager, HIJetReco(), Enable::HIJETS, InputInit(), InputManagers(), InputRegister(), recoConsts::instance(), Fun4AllServer::instance(), Jet_Eval(), Jet_FwdEval(), Jet_FwdReco(), Jet_Reco(), Enable::JETS, Enable::JETS_EVAL, RawTowerDigitizer::kNo_digitization, M_PI, Enable::MAGNET, Enable::MVTX, DstOut::OutputDir, DstOut::OutputFile, Enable::PIPE, pos(), Enable::PRODUCTION, Production_CreateOutputDir(), Production_MoveOutput(), G4TRACKING::PROJECTION_CEMC, G4TRACKING::PROJECTION_FEMC, G4TRACKING::PROJECTION_FHCAL, Input::PYTHIA6, INPUTGENERATOR::Pythia6, Enable::QA, QAInit(), Input::READEIC, Input::READHITS, Fun4AllServer::registerOutputManager(), Enable::RICH, Fun4AllServer::run(), G4FEMC::sampling_fraction, G4FHCAL::sampling_fraction, QAHistManagerDef::saveQARootFile(), PHPythia6::set_config_file(), PHHepMCGenHelper::set_vertex_distribution_function(), PHHepMCGenHelper::set_vertex_distribution_width(), ShowerCompress(), Input::SIMPLE, INPUTGENERATOR::SimpleEventGenerator, Fun4AllServer::skip(), G4EEMC::TowerDigi, G4HCALOUT::TowerDigi, G4HCALIN::TowerDigi, G4CEMC::TowerDigi, Enable::TPC, Enable::TRACKING, Enable::TRACKING_EVAL, Tracking_Eval(), Tracking_Reco(), PHG4SimpleEventGenerator::Uniform, Input::UPSILON, Input::UPSILON_VERBOSITY, INPUTGENERATOR::VectorMesonGenerator, Fun4AllBase::Verbosity(), and Input::VERBOSITY.