ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4All_G4_ECCEModular.C File Reference
#include <GlobalVariables.C>
#include <DisplayOn.C>
#include <G4Setup_EICDetector.C>
#include <G4_DSTReader_EICDetector.C>
#include <G4_EventEvaluator.C>
#include <G4_FwdJets.C>
#include <G4_Global.C>
#include <G4_Input.C>
#include <G4_Production.C>
#include <G4_User.C>
#include <TROOT.h>
#include <fun4all/Fun4AllDstOutputManager.h>
#include <fun4all/Fun4AllOutputManager.h>
#include <fun4all/Fun4AllServer.h>
#include <phool/recoConsts.h>
#include <RooUnblindPrecision.h>
+ Include dependency graph for Fun4All_G4_ECCEModular.C:

Go to the source code of this file.

Macros

#define MACRO_FUN4ALLG4EICDETECTOR_C
 

Functions

int Fun4All_G4_ECCEModular (const int nEvents=1, const double particlemomMin=-1, const double particlemomMax=-1, const string detectorSettings="TTLGEO_5", const TString generatorSettings="PYTHIA8", const string &inputFile="https://www.phenix.bnl.gov/WWW/publish/phnxbld/sPHENIX/files/sPHENIX_G4Hits_sHijing_9-11fm_00000_00010.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_ECCEModular.C.

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

Function Documentation

int Fun4All_G4_ECCEModular ( const int  nEvents = 1,
const double  particlemomMin = -1,
const double  particlemomMax = -1,
const string  detectorSettings = "TTLGEO_5",
const TString  generatorSettings = "PYTHIA8",
const string &  inputFile = "https://www.phenix.bnl.gov/WWW/publish/phnxbld/sPHENIX/files/sPHENIX_G4Hits_sHijing_9-11fm_00000_00010.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 = "." 
)

apply EIC beam parameter following EIC CDR

apply EIC beam parameter following EIC CDR

apply EIC beam parameter following EIC CDR

apply EIC beam parameter following EIC CDR

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

apply EIC beam parameter following EIC CDR

Definition at line 27 of file Fun4All_G4_ECCEModular.C.

View newest version in sPHENIX GitHub at line 27 of file Fun4All_G4_ECCEModular.C

References kdfinder::abs(), Input::ApplyEICBeamParameter(), Enable::BARREL, Enable::BECAL, Enable::BECAL_CELL, Enable::BECAL_CLUSTER, BECAL_Clusters(), Enable::BECAL_EVAL, Enable::BECAL_TOWER, BECAL_Towers(), Enable::BLACKHOLE, Enable::BLACKHOLE_SAVEHITS, Enable::CEMC, Enable::CEMC_CELL, CEMC_Cells(), Enable::CEMC_CLUSTER, CEMC_Clusters(), Enable::CEMC_EVAL, CEMC_Eval(), Enable::CEMC_TOWER, CEMC_Towers(), PYTHIA8::config_file, Enable::CTTL, Enable::DIRC, Enable::DIRC_RECO, DIRCReco(), G4TRACKING::DISPLACED_VERTEX, Enable::DISPLAY, DisplayOn(), Enable::DRCALO, Enable::DRCALO_CELL, Enable::DRCALO_CLUSTER, DRCALO_Clusters(), Enable::DRCALO_EVAL, Enable::DRCALO_TOWER, DRCALO_Towers(), DstCompress(), Enable::DSTOUT, Enable::DSTOUT_COMPRESS, Enable::DSTREADER, e2, Enable::EEMC, Enable::EEMC_CLUSTER, EEMC_Clusters(), Enable::EEMC_EVAL, EEMC_Eval(), Enable::EEMC_TOWER, EEMC_Towers(), Enable::EEMCH, Enable::EEMCH_CLUSTER, EEMCH_Clusters(), Enable::EEMCH_EVAL, Enable::EEMCH_TOWER, EEMCH_Towers(), Enable::EGEM, Enable::EHCAL, Enable::EHCAL_CELL, Enable::EHCAL_CLUSTER, EHCAL_Clusters(), Enable::EHCAL_EVAL, Enable::EHCAL_TOWER, EHCAL_Towers(), INPUTGENERATOR::EICFileReader, Fun4AllServer::End(), Enable::ETTL, Enable::EVENT_EVAL, Event_Eval(), Enable::EVENT_EVAL_DO_EVT_LVL, Enable::EVENT_EVAL_DO_HEPMC, Enable::EVENT_EVAL_DO_HITS, Enable::EVENT_EVAL_DO_HITS_ABSORBER, Enable::EVENT_EVAL_DO_HITS_BLACKHOLE, Enable::EVENT_EVAL_DO_HITS_CALO, Enable::FEMC, Enable::FEMC_CLUSTER, FEMC_Clusters(), Enable::FEMC_EVAL, FEMC_Eval(), Enable::FEMC_TOWER, FEMC_Towers(), Enable::FFR_EVAL, FFR_Eval(), 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::FTTL, Enable::FWDJETS, Enable::FWDJETS_EVAL, G4DSTreader_EICDetector(), G4Init(), G4Setup(), Enable::GLOBAL_FASTSIM, Global_FastSim(), Enable::GLOBAL_RECO, Global_Reco(), 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, Enable::HFARFWD_ION_ENERGY, Enable::HFARFWD_MAGNETS, Enable::HFARFWD_VIRTUAL_DETECTORS, InputInit(), InputManagers(), InputRegister(), recoConsts::instance(), Fun4AllServer::instance(), Enable::IP6, Jet_FwdEval(), Jet_FwdReco(), Enable::LFHCAL, Enable::LFHCAL_ABSORBER, Enable::LFHCAL_CELL, Enable::LFHCAL_CLUSTER, LFHCAL_Clusters(), Enable::LFHCAL_EVAL, Enable::LFHCAL_TOWER, LFHCAL_Towers(), M_PI, G4MAGNET::magfield, G4MAGNET::magfield_rescale, Enable::MAGNET, Enable::mRICH, Enable::mRICH_RECO, mRICHReco(), nEvents, G4TTL::SETTING::optionCEMC, G4TTL::SETTING::optionDR, G4TTL::SETTING::optionEEMCH, G4TTL::SETTING::optionGeo, DstOut::OutputDir, DstOut::OutputFile, Enable::PIPE, Enable::PLUGDOOR, pos(), Enable::PRODUCTION, Production_CreateOutputDir(), Production_MoveOutput(), G4TRACKING::PROJECTION_BECAL, G4TRACKING::PROJECTION_CEMC, G4TRACKING::PROJECTION_EEMC, G4TRACKING::PROJECTION_EHCAL, G4TRACKING::PROJECTION_FEMC, G4TRACKING::PROJECTION_FHCAL, G4TRACKING::PROJECTION_HCALIN, G4TRACKING::PROJECTION_HCALOUT, G4TRACKING::PROJECTION_LFHCAL, Input::PYTHIA6, INPUTGENERATOR::Pythia6, Input::PYTHIA8, INPUTGENERATOR::Pythia8, Input::READEIC, Input::READHITS, Fun4AllServer::registerOutputManager(), Fun4AllServer::registerSubsystem(), Enable::RICH, Enable::RICH_RECO, RICHReco(), Fun4AllServer::run(), Enable::RWELL, Input::SARTRE, INPUTGENERATOR::Sartre, PHPythia6::set_config_file(), PHG4ParticleGenerator::set_eta_range(), PHFlag::set_IntFlag(), PHG4ParticleGenerator::set_mom_range(), PHG4ParticleGeneratorBase::set_name(), PHG4ParticleGenerator::set_phi_range(), PHG4ParticleGeneratorBase::set_vtx(), ReadEICFiles::SetFirstEntry(), ShowerCompress(), Input::SIMPLE, Input::SIMPLE_NUMBER, Input::SIMPLE_VERBOSITY, INPUTGENERATOR::SimpleEventGenerator, Fun4AllServer::skip(), Enable::TRACKING, Enable::TRACKING_EVAL, Tracking_Eval(), Tracking_Reco(), Enable::TrackingService, Enable::TrackingService_OVERLAPCHECK, PHG4SimpleEventGenerator::Uniform, G4PIPE::use_forward_pipes, G4EEMCH::SETTING::USECUSTOMMAP30CM, G4EEMCH::SETTING::USECUSTOMMAPCARBON, G4EEMCH::SETTING::USECUSTOMMAPNOCARBON, G4EEMCH::SETTING::USECUSTOMMAPUPDATED, Enable::USER, UserAnalysisInit(), Fun4AllBase::Verbosity(), Input::VERBOSITY, and G4WORLD::WorldMaterial.