Analysis Software
Documentation for sPHENIX simulation software
|
#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>
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 |
#define MACRO_G4ZDC_C |
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.
void ZDC_Towers | ( | ) |
Definition at line 90 of file G4_ZDC.C.
View newest version in sPHENIX GitHub at line 90 of file G4_ZDC.C
References G4ZDC::calibfile, RawTowerCalibration::Detector(), RawTowerDigitizer::Detector(), RawTowerBuilderByHitIndex::Detector(), RawTowerBuilderByHitIndex::GeometryTableFile(), Fun4AllServer::instance(), RawTowerDigitizer::kNo_digitization, RawTowerCalibration::kSimple_linear_calibration, Fun4AllServer::registerSubsystem(), RawTowerCalibration::set_calib_algorithm(), RawTowerCalibration::set_calib_const_GeV_ADC(), RawTowerDigitizer::set_digi_algorithm(), RawTowerCalibration::set_pedstal_ADC(), RawTowerBuilderByHitIndex::set_sim_tower_node_prefix(), RawTowerCalibration::TowerType(), RawTowerDigitizer::TowerType(), verbosity, Enable::VERBOSITY, Fun4AllBase::Verbosity(), and Enable::ZDC_VERBOSITY.
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().
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().