Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4All_G4_EICDetector_AnaTutorial.C File Reference
#include <anatutorial/AnaTutorial.h>
#include <GlobalVariables.C>
#include <DisplayOn.C>
#include <G4Setup_EICDetector.C>
#include <G4_Bbc.C>
#include <G4_DSTReader_EICDetector.C>
#include <G4_FwdJets.C>
#include <G4_Global.C>
#include <G4_Input.C>
#include <G4_Jets.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 dependency graph for Fun4All_G4_EICDetector_AnaTutorial.C:

Go to the source code of this file.

Macros

#define MACRO_FUN4ALLG4EICDETECTOR_C
 

Functions

int Fun4All_G4_EICDetector_AnaTutorial (const int nEvents=1, 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_EICDetector_AnaTutorial.C.

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

Function Documentation

int Fun4All_G4_EICDetector_AnaTutorial ( const int  nEvents = 1,
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 29 of file Fun4All_G4_EICDetector_AnaTutorial.C.

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

References AnaTutorial::analyzeClusters(), AnaTutorial::analyzeJets(), AnaTutorial::analyzeTracks(), AnaTutorial::analyzeTruth(), Input::ApplyEICBeamParameter(), Bbc_Reco(), Enable::BLACKHOLE, Enable::CEMC, Enable::CEMC_CELL, CEMC_Cells(), Enable::CEMC_CLUSTER, CEMC_Clusters(), Enable::CEMC_EVAL, CEMC_Eval(), Enable::CEMC_TOWER, CEMC_Towers(), Enable::DISPLAY, DisplayOn(), DstCompress(), Enable::DSTOUT, Enable::DSTOUT_COMPRESS, Enable::DSTREADER, RawTowerDefs::EEMC, EEMC_Clusters(), EEMC_Eval(), EEMC_Towers(), INPUTGENERATOR::EICFileReader, Input::EMBED, Fun4AllServer::End(), RawTowerDefs::FEMC, FEMC_Clusters(), FEMC_Eval(), FEMC_Towers(), RawTowerDefs::FHCAL, FHCAL_Clusters(), FHCAL_Eval(), FHCAL_Towers(), INPUTHEPMC::filename, INPUTREADEIC::filename, INPUTREADHITS::filename, INPUTEMBED::filename, G4DSTreader_EICDetector(), G4Init(), G4Setup(), Enable::GLOBAL_FASTSIM, Global_FastSim(), Global_Reco(), Enable::GLOBAL_RECO, Input::GUN, INPUTGENERATOR::Gun, 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, InputInit(), InputManagers(), InputRegister(), recoConsts::instance(), Fun4AllServer::instance(), Jet_Eval(), Jet_FwdEval(), Jet_FwdReco(), Jet_Reco(), Enable::JETS, Enable::JETS_EVAL, G4MAGNET::magfield_rescale, Enable::MAGNET, Enable::MVTX, out, DstOut::OutputDir, DstOut::OutputFile, Enable::PIPE, Enable::PLUGDOOR, Acts::Test::pos, Enable::PRODUCTION, Production_CreateOutputDir(), Production_MoveOutput(), Input::PYTHIA6, INPUTGENERATOR::Pythia6, Input::PYTHIA8, INPUTGENERATOR::Pythia8, Input::READEIC, Input::READHITS, Fun4AllServer::registerOutputManager(), Fun4AllServer::registerSubsystem(), Fun4AllServer::run(), PHPythia6::set_config_file(), AnaTutorial::setMinJetPt(), ShowerCompress(), Input::SIMPLE, INPUTGENERATOR::SimpleEventGenerator, Fun4AllServer::skip(), Enable::TPC, Enable::TRACKING_EVAL, Tracking_Eval(), Tracking_Reco(), PHG4SimpleEventGenerator::Uniform, Input::UPSILON, Enable::USER, UserAnalysisInit(), INPUTGENERATOR::VectorMesonGenerator, Fun4AllBase::Verbosity(), and Input::VERBOSITY.