Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Setup_fsPHENIX.C File Reference

Go to the source code of this file.

Functions

void G4Init (bool do_svtx=true, bool do_cemc=true, bool do_hcalin=true, bool do_magnet=true, bool do_hcalout=true, bool do_pipe=true, bool do_FGEM=true, bool do_FEMC=true, bool do_FHCAL=true, int n_TPC_layers=40)
 
int G4Setup (const int absorberactive=0, const string &field="1.5", const EDecayType decayType=TPythia6Decayer::kAll, const bool do_svtx=true, const bool do_cemc=true, const bool do_hcalin=true, const bool do_magnet=true, const bool do_hcalout=true, const bool do_pipe=true, const bool do_FGEM=true, const bool do_FEMC=false, const bool do_FHCAL=false, const float magfield_rescale=1.0)
 
void ShowerCompress (int verbosity=0)
 
void DstCompress (Fun4AllDstOutputManager *out)
 
int make_piston (string name, PHG4Reco *g4Reco)
 

Variables

double no_overlapp = 0.0001
 
bool overlapcheck = false
 

Function Documentation

void DstCompress ( Fun4AllDstOutputManager out)

Definition at line 309 of file G4Setup_fsPHENIX.C.

View newest version in sPHENIX GitHub at line 309 of file G4Setup_fsPHENIX.C

References Fun4AllDstOutputManager::StripNode().

+ Here is the call graph for this function:

void G4Init ( bool  do_svtx = true,
bool  do_cemc = true,
bool  do_hcalin = true,
bool  do_magnet = true,
bool  do_hcalout = true,
bool  do_pipe = true,
bool  do_FGEM = true,
bool  do_FEMC = true,
bool  do_FHCAL = true,
int  n_TPC_layers = 40 
)

Definition at line 5 of file G4Setup_fsPHENIX.C.

View newest version in sPHENIX GitHub at line 5 of file G4Setup_fsPHENIX.C

References CEmcInit(), FEMCInit(), FGEM_Init(), FHCALInit(), HCalInnerInit(), HCalOuterInit(), MagnetInit(), PipeInit(), and SvtxInit().

+ Here is the call graph for this function:

int G4Setup ( const int  absorberactive = 0,
const string &  field = "1.5",
const EDecayType  decayType = TPythia6Decayer::kAll,
const bool  do_svtx = true,
const bool  do_cemc = true,
const bool  do_hcalin = true,
const bool  do_magnet = true,
const bool  do_hcalout = true,
const bool  do_pipe = true,
const bool  do_FGEM = true,
const bool  do_FEMC = false,
const bool  do_FHCAL = false,
const float  magfield_rescale = 1.0 
)
int make_piston ( string  name,
PHG4Reco g4Reco 
)

Definition at line 340 of file G4Setup_fsPHENIX.C.

View newest version in sPHENIX GitHub at line 340 of file G4Setup_fsPHENIX.C

References G4PIPE::al_pipe_radius, G4PIPE::al_pipe_thickness, G4PIPE::be_pipe_length, G4PIPE::be_pipe_radius, G4PIPE::be_pipe_thickness, PHG4Sector::Sector_Geometry::eta_to_polar_angle(), i, perf_headwind::name, overlapcheck, PHG4DetectorSubsystem::OverlapCheck(), Acts::Test::pos, PHG4Reco::registerSubsystem(), physmon_simulation::s, PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_int_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), and PHG4DetectorSubsystem::SuperDetector().

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ShowerCompress ( int  verbosity = 0)

Definition at line 255 of file G4Setup_fsPHENIX.C.

View newest version in sPHENIX GitHub at line 255 of file G4Setup_fsPHENIX.C

References PHG4DstCompressReco::AddCellContainer(), PHG4DstCompressReco::AddHitContainer(), PHG4DstCompressReco::AddTowerContainer(), Fun4AllServer::instance(), and Fun4AllServer::registerSubsystem().

+ Here is the call graph for this function:

Variable Documentation

double no_overlapp = 0.0001

Definition at line 2 of file G4Setup_fsPHENIX.C.

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

bool overlapcheck = false

Definition at line 3 of file G4Setup_fsPHENIX.C.

View newest version in sPHENIX GitHub at line 3 of file G4Setup_fsPHENIX.C