Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_ZDC.C File Reference
#include <GlobalVariables.C>
#include <G4_BeamLine.C>
#include <g4calo/RawTowerBuilderByHitIndex.h>
#include <g4calo/RawTowerDigitizer.h>
#include <g4detectors/PHG4DetectorSubsystem.h>
#include <g4detectors/PHG4ZDCDefs.h>
#include <g4detectors/PHG4ZDCSubsystem.h>
#include <g4eval/CaloEvaluator.h>
#include <g4main/PHG4Reco.h>
#include <calobase/RawTowerDefs.h>
#include <caloreco/RawClusterBuilderTemplate.h>
#include <caloreco/RawTowerCalibration.h>
#include <fun4all/Fun4AllServer.h>
+ Include dependency graph for G4_ZDC.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4ZDC
 

Macros

#define MACRO_G4ZDC_C
 

Functions

void ZDCInit ()
 
void ZDCSetup (PHG4Reco *g4Reco, const int absorberactive=0)
 
void ZDC_Towers ()
 
void ZDC_Eval (std::string outputfile)
 

Variables

bool Enable::ZDC = false
 
bool Enable::ZDC_ABSORBER = false
 
bool Enable::ZDC_SUPPORT = false
 
bool Enable::ZDC_TOWER = false
 
bool Enable::ZDC_EVAL = false
 
bool Enable::ZDC_OVERLAPCHECK = false
 
int Enable::ZDC_VERBOSITY = 0
 
double G4ZDC::Gz0 = 1900.
 
double G4ZDC::outer_radius = 180.
 
string G4ZDC::calibfile = "ZDC/mapping/towerMap_ZDC.txt"
 
double G4ZDC::ZDCPlaceZ = 1843.0
 

Macro Definition Documentation

#define MACRO_G4ZDC_C

Definition at line 2 of file G4_ZDC.C.

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

Function Documentation

void ZDC_Eval ( std::string  outputfile)

Definition at line 136 of file G4_ZDC.C.

View newest version in sPHENIX GitHub at line 136 of file G4_ZDC.C

References Fun4AllServer::instance(), Fun4AllServer::registerSubsystem(), CaloEvaluator::set_do_cluster_eval(), verbosity, Enable::VERBOSITY, Fun4AllBase::Verbosity(), and Enable::ZDC_VERBOSITY.

+ Here is the call graph for this function:

void ZDCInit ( )

Definition at line 51 of file G4_ZDC.C.

View newest version in sPHENIX GitHub at line 51 of file G4_ZDC.C

References G4ZDC::Gz0, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, Acts::UnitConstants::min, BlackHoleGeometry::min_z, and G4ZDC::outer_radius.

Referenced by G4Init().

+ Here is the caller graph for this function:

void ZDCSetup ( PHG4Reco g4Reco,
const int  absorberactive = 0 
)

Definition at line 58 of file G4_ZDC.C.

View newest version in sPHENIX GitHub at line 58 of file G4_ZDC.C

References Enable::ABSORBER, G4BEAMLINE::BackwardBeamLineEnclosure(), G4BEAMLINE::enclosure_center, G4BEAMLINE::ForwardBeamLineEnclosure(), Fun4AllServer::instance(), PHG4DetectorSubsystem::OverlapCheck(), Enable::OVERLAPCHECK, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4Subsystem::SetMotherSubsystem(), PHG4DetectorSubsystem::SetSupportActive(), PHG4DetectorSubsystem::SuperDetector(), Enable::SUPPORT, Enable::ZDC_ABSORBER, Enable::ZDC_OVERLAPCHECK, Enable::ZDC_SUPPORT, and G4ZDC::ZDCPlaceZ.

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: