![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <GlobalVariables.C>#include <QA.C>#include <g4detectors/PHG4CylinderCellReco.h>#include <g4detectors/PHG4CylinderGeom_Spacalv1.h>#include <g4detectors/PHG4CylinderSubsystem.h>#include <g4detectors/PHG4FullProjSpacalCellReco.h>#include <g4detectors/PHG4SpacalSubsystem.h>#include <g4calo/RawTowerBuilder.h>#include <g4calo/RawTowerDigitizer.h>#include <g4eval/CaloEvaluator.h>#include <g4main/PHG4Reco.h>#include <g4main/PHG4Utils.h>#include <caloreco/RawClusterBuilderGraph.h>#include <caloreco/RawClusterBuilderTemplate.h>#include <caloreco/RawClusterPositionCorrection.h>#include <caloreco/RawTowerCalibration.h>#include <qa_modules/QAG4SimulationCalorimeter.h>#include <fun4all/Fun4AllServer.h>
Include dependency graph for G4_CEmc_Spacal.C:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | Enable |
| namespace | G4CEMC |
Macros | |
| #define | MACRO_G4CEMCSPACAL_C |
Functions | |
| double | CEmc_1DProjectiveSpacal (PHG4Reco *g4Reco, double radius, const int crossings) |
| EMCal setup macro - 1D azimuthal projective SPACAL. | |
| double | CEmc_2DProjectiveSpacal (PHG4Reco *g4Reco, double radius, const int crossings) |
| 2D full projective SPACAL | |
| void | CEmcInit (const int i=0) |
| double | CEmc (PHG4Reco *g4Reco, double radius, const int crossings) |
| EMCal main setup macro. | |
| void | CEMC_Cells () |
| void | CEMC_Towers () |
| void | CEMC_Clusters () |
| void | CEMC_Eval (const std::string &outputfile) |
| void | CEMC_QA () |
Variables | |
| bool | Enable::CEMC_QA = false |
| int | G4CEMC::Min_cemc_layer = 1 |
| int | G4CEMC::Max_cemc_layer = 1 |
| int | G4CEMC::Cemc_spacal_configuration = PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal |
| #define MACRO_G4CEMCSPACAL_C |
Definition at line 2 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 2 of file G4_CEmc_Spacal.C
| double CEmc | ( | PHG4Reco * | g4Reco, |
| double | radius, | ||
| const int | crossings | ||
| ) |
EMCal main setup macro.
Definition at line 96 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 96 of file G4_CEmc_Spacal.C
References CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), G4CEMC::Cemc_spacal_configuration, exit(), PHG4CylinderGeom_Spacalv1::k1DProjectiveSpacal, and PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal.
Here is the call graph for this function:| double CEmc_1DProjectiveSpacal | ( | PHG4Reco * | g4Reco, |
| double | radius, | ||
| const int | crossings | ||
| ) |
EMCal setup macro - 1D azimuthal projective SPACAL.
Definition at line 118 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 118 of file G4_CEmc_Spacal.C
References Enable::ABSORBER, cemc, Enable::CEMC_ABSORBER, Enable::CEMC_OVERLAPCHECK, exit(), max, G4CEMC::Max_cemc_layer, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, G4CEMC::Min_cemc_layer, BlackHoleGeometry::min_z, no_overlapp, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), G4BECAL::radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), and PHG4DetectorSubsystem::SuperDetector().
Referenced by CEmc().
Here is the call graph for this function:
Here is the caller graph for this function:| double CEmc_2DProjectiveSpacal | ( | PHG4Reco * | g4Reco, |
| double | radius, | ||
| const int | crossings | ||
| ) |
2D full projective SPACAL
Definition at line 197 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 197 of file G4_CEmc_Spacal.C
References Enable::ABSORBER, cemc, Enable::CEMC_ABSORBER, Enable::CEMC_OVERLAPCHECK, PHG4Utils::GetLengthForRapidityCoverage(), max, G4CEMC::Max_cemc_layer, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, BlackHoleGeometry::min_z, 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::SetCalibrationFileDir(), PHG4DetectorSubsystem::SuperDetector(), PHG4DetectorSubsystem::UseCalibFiles(), Fun4AllBase::Verbosity(), and PHG4DetectorSubsystem::xml.
Referenced by CEmc().
Here is the call graph for this function:
Here is the caller graph for this function:| void CEMC_Cells | ( | ) |
Definition at line 285 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 285 of file G4_CEmc_Spacal.C
References PHG4CylinderCellReco::cellsize(), G4CEMC::Cemc_spacal_configuration, Enable::CEMC_VERBOSITY, PHG4CylinderCellReco::Detector(), PHG4FullProjSpacalCellReco::Detector(), PHG4FullProjSpacalCellReco::get_light_collection_model(), Fun4AllServer::instance(), PHG4CylinderGeom_Spacalv1::k1DProjectiveSpacal, PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal, PHG4FullProjSpacalCellReco::LightCollectionModel::load_data_file(), M_PI, max, G4CEMC::Max_cemc_layer, G4CEMC::Min_cemc_layer, G4BECAL::radius, Fun4AllServer::registerSubsystem(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Here is the call graph for this function:| void CEMC_Clusters | ( | ) |
Definition at line 423 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 423 of file G4_CEmc_Spacal.C
References G4CEMC::Cemc_clusterizer, Enable::CEMC_VERBOSITY, RawClusterBuilderGraph::Detector(), RawClusterBuilderTemplate::Detector(), exit(), RawClusterPositionCorrection::Get_eclus_CalibrationParameters(), RawClusterPositionCorrection::Get_ecore_CalibrationParameters(), Fun4AllServer::instance(), G4CEMC::kCemcGraphClusterizer, G4CEMC::kCemcTemplateClusterizer, RawClusterBuilderTemplate::LoadProfile(), max, PHParameters::ReadFromFile(), Fun4AllServer::registerSubsystem(), RawClusterBuilderTemplate::set_threshold_energy(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Here is the call graph for this function:| void CEMC_Eval | ( | const std::string & | outputfile | ) |
Definition at line 468 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 468 of file G4_CEmc_Spacal.C
References Enable::CEMC_VERBOSITY, Fun4AllServer::instance(), max, Fun4AllServer::registerSubsystem(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Here is the call graph for this function:| void CEMC_QA | ( | ) |
Definition at line 481 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 481 of file G4_CEmc_Spacal.C
References Enable::CEMC_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().
Here is the call graph for this function:
Here is the caller graph for this function:| void CEMC_Towers | ( | ) |
Definition at line 325 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 325 of file G4_CEmc_Spacal.C
References G4CEMC::Cemc_spacal_configuration, Enable::CEMC_VERBOSITY, RawTowerBuilder::Detector(), RawTowerDigitizer::Detector(), RawTowerCalibration::Detector(), Acts::UnitConstants::e, exit(), RawTowerCalibration::GetCalibrationParameters(), RawTowerDigitizer::GetParameters(), Fun4AllServer::instance(), PHG4CylinderGeom_Spacalv1::k1DProjectiveSpacal, PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal, RawTowerDigitizer::kNo_digitization, RawTowerCalibration::kSimple_linear_calibration, RawTowerCalibration::kTower_by_tower_calibration, max, PHParameters::ReadFromFile(), Fun4AllServer::registerSubsystem(), G4FHCAL::sampling_fraction, RawTowerCalibration::set_calib_algorithm(), RawTowerCalibration::set_calib_const_GeV_ADC(), RawTowerDigitizer::set_digi_algorithm(), RawTowerCalibration::set_pedstal_ADC(), RawTowerDigitizer::set_photonelec_ADC(), RawTowerDigitizer::set_photonelec_yield_visible_GeV(), RawTowerBuilder::set_sim_tower_node_prefix(), RawTowerCalibration::set_variable_GeV_ADC(), RawTowerCalibration::set_variable_pedestal(), RawTowerDigitizer::set_variable_pedestal(), RawTowerDigitizer::set_variable_zero_suppression(), G4CEMC::TowerDigi, Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Here is the call graph for this function:| void CEmcInit | ( | const int | i = 0 | ) |
Definition at line 90 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 90 of file G4_CEmc_Spacal.C