EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <GlobalVariables.C>
#include <QA.C>
#include <g4calo/HcalRawTowerBuilder.h>
#include <g4calo/RawTowerDigitizer.h>
#include <g4detectors/PHG4CylinderSubsystem.h>
#include <g4detectors/PHG4HcalCellReco.h>
#include <g4detectors/PHG4InnerHcalSubsystem.h>
#include <g4eval/CaloEvaluator.h>
#include <g4main/PHG4Reco.h>
#include <caloreco/RawClusterBuilderGraph.h>
#include <caloreco/RawClusterBuilderTemplate.h>
#include <caloreco/RawTowerCalibration.h>
#include <qa_modules/QAG4SimulationCalorimeter.h>
#include <fun4all/Fun4AllServer.h>
Go to the source code of this file.
Namespaces | |
namespace | Enable |
namespace | G4HCALIN |
namespace | G4HCALIN::SETTING |
Macros | |
#define | MACRO_G4HCALINREF_C |
Functions | |
void | HCalInner_SupportRing (PHG4Reco *g4Reco) |
A rough version of the inner HCal support ring, from Richie's CAD drawing. - Jin. | |
void | HCalInnerInit (const int iflag=0) |
double | HCalInner (PHG4Reco *g4Reco, double radius, const int crossings) |
void | HCALInner_Cells () |
void | HCALInner_Towers () |
void | HCALInner_Clusters () |
void | HCALInner_Eval (const std::string &outputfile) |
void | HCALInner_QA () |
Variables | |
bool | Enable::HCALIN = false |
bool | Enable::HCALIN_ABSORBER = false |
bool | Enable::HCALIN_OVERLAPCHECK = false |
bool | Enable::HCALIN_CELL = false |
bool | Enable::HCALIN_TOWER = false |
bool | Enable::HCALIN_CLUSTER = false |
bool | Enable::HCALIN_EVAL = false |
bool | Enable::HCALIN_QA = false |
bool | Enable::HCALIN_SUPPORT = false |
int | Enable::HCALIN_VERBOSITY = 0 |
double | G4HCALIN::support_ring_outer_radius = 178.0 - 0.001 |
double | G4HCALIN::support_ring_z_ring2 = (2150 + 2175) / 2. / 10. |
double | G4HCALIN::dz = 25. / 10. |
bool | G4HCALIN::inner_hcal_material_Al = true |
int | G4HCALIN::inner_hcal_eic = 0 |
RawTowerDigitizer::enu_digi_algorithm | G4HCALIN::TowerDigi = RawTowerDigitizer::kSimple_photon_digitization |
bool | G4HCALIN::SETTING::USECEMCGeo = true |
enu_HCalIn_clusterizer | G4HCALIN::HCalIn_clusterizer = kHCalInTemplateClusterizer |
template clusterizer, RawClusterBuilderTemplate, as developed by Sasha Bazilevsky | |
#define MACRO_G4HCALINREF_C |
Definition at line 3 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 3 of file G4_HCalIn_EIC.C
double HCalInner | ( | PHG4Reco * | g4Reco, |
double | radius, | ||
const int | crossings | ||
) |
Definition at line 103 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 103 of file G4_HCalIn_EIC.C
References Enable::ABSORBER, G4HCALIN::dz, PHG4DetectorSubsystem::get_double_param(), hcal(), Enable::HCALIN_ABSORBER, Enable::HCALIN_OVERLAPCHECK, Enable::HCALIN_VERBOSITY, HCalInner_SupportRing(), G4HCALIN::inner_hcal_material_Al, G4BARRELHCAL::length, max, no_overlapp, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), G4BECAL::radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_int_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), G4HCALIN::support_ring_z_ring2, G4HCALIN::SETTING::USECEMCGeo, Enable::VERBOSITY, G4DIRC::z_end, G4DIRC::z_shift, and G4DIRC::z_start.
Referenced by G4Setup().
void HCALInner_Cells | ( | ) |
Definition at line 225 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 225 of file G4_HCalIn_EIC.C
References PHG4HcalCellReco::Detector(), Enable::HCALIN_VERBOSITY, Fun4AllServer::instance(), max, Fun4AllServer::registerSubsystem(), and Enable::VERBOSITY.
Referenced by Extract_ECCE_gdml(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_LBLDetector(), and Fun4All_G4_sPHENIX().
void HCALInner_Clusters | ( | ) |
Definition at line 295 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 295 of file G4_HCalIn_EIC.C
References RawClusterBuilderGraph::Detector(), RawClusterBuilderTemplate::Detector(), exit(), G4HCALIN::HCalIn_clusterizer, Enable::HCALIN_VERBOSITY, Fun4AllServer::instance(), G4HCALIN::kHCalInGraphClusterizer, G4HCALIN::kHCalInTemplateClusterizer, max, Fun4AllServer::registerSubsystem(), RawClusterBuilderTemplate::SetCylindricalGeometry(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Referenced by Extract_ECCE_gdml(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_LBLDetector(), and Fun4All_G4_sPHENIX().
void HCALInner_Eval | ( | const std::string & | outputfile | ) |
Definition at line 324 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 324 of file G4_HCalIn_EIC.C
References Enable::HCALIN_VERBOSITY, Fun4AllServer::instance(), max, Fun4AllServer::registerSubsystem(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_LBLDetector(), and Fun4All_G4_sPHENIX().
void HCALInner_QA | ( | ) |
Definition at line 336 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 336 of file G4_HCalIn_EIC.C
References Enable::HCALIN_VERBOSITY, Fun4AllServer::instance(), max, Enable::QA_VERBOSITY, Fun4AllServer::registerSubsystem(), and Fun4AllBase::Verbosity().
Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), and Fun4All_G4_sPHENIX().
void HCalInner_SupportRing | ( | PHG4Reco * | g4Reco | ) |
A rough version of the inner HCal support ring, from Richie's CAD drawing. - Jin.
Definition at line 179 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 179 of file G4_HCalIn_EIC.C
References G4HCALIN::dz, Enable::HCALIN_SUPPORT, G4HCALIN::inner_hcal_eic, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_int_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), Enable::SUPPORT, G4HCALIN::support_ring_outer_radius, G4HCALIN::support_ring_z_ring2, and G4HCALIN::SETTING::USECEMCGeo.
Referenced by HCalInner().
void HCALInner_Towers | ( | ) |
Definition at line 247 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 247 of file G4_HCalIn_EIC.C
References HcalRawTowerBuilder::Detector(), RawTowerDigitizer::Detector(), RawTowerCalibration::Detector(), Acts::UnitConstants::e, Enable::HCALIN_VERBOSITY, G4HCALIN::inner_hcal_material_Al, Fun4AllServer::instance(), RawTowerDigitizer::kNo_digitization, RawTowerCalibration::kSimple_linear_calibration, max, Fun4AllServer::registerSubsystem(), RawTowerCalibration::set_calib_algorithm(), RawTowerCalibration::set_calib_const_GeV_ADC(), RawTowerDigitizer::set_digi_algorithm(), RawTowerCalibration::set_pedstal_ADC(), RawTowerDigitizer::set_pedstal_central_ADC(), RawTowerDigitizer::set_pedstal_width_ADC(), RawTowerDigitizer::set_photonelec_ADC(), RawTowerDigitizer::set_photonelec_yield_visible_GeV(), HcalRawTowerBuilder::set_sim_tower_node_prefix(), RawTowerDigitizer::set_zero_suppression_ADC(), G4HCALIN::TowerDigi, Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Referenced by Extract_ECCE_gdml(), Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_LBLDetector(), and Fun4All_G4_sPHENIX().
void HCalInnerInit | ( | const int | iflag = 0 | ) |
Definition at line 89 of file G4_HCalIn_EIC.C.
View newest version in sPHENIX GitHub at line 89 of file G4_HCalIn_EIC.C
References G4HCALIN::dz, G4HCALIN::inner_hcal_eic, G4HCALIN::inner_hcal_material_Al, max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, BlackHoleGeometry::min_z, G4HCALIN::support_ring_outer_radius, G4HCALIN::support_ring_z_ring2, and G4HCALIN::SETTING::USECEMCGeo.
Referenced by G4Init().