ECCE @ EIC Software
Reference for
ECCE @ 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>
Go to the source code of this file.
Namespaces | |
namespace | Enable |
namespace | G4CEMC |
Macros | |
#define | MACRO_G4CEMCSPACAL_C |
Enumerations | |
enum | G4CEMC::enu_Cemc_clusterizer { G4CEMC::kCemcGraphClusterizer, G4CEMC::kCemcTemplateClusterizer, G4CEMC::kCemcGraphClusterizer, G4CEMC::kCemcTemplateClusterizer } |
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
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, g4zmq::exit(), PHG4CylinderGeom_Spacalv1::k1DProjectiveSpacal, and PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal.
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, Enable::CEMC_ABSORBER, Enable::CEMC_OVERLAPCHECK, g4zmq::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(), radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), and PHG4DetectorSubsystem::SuperDetector().
Referenced by CEmc().
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, 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(), 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().
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(), max, G4CEMC::Max_cemc_layer, G4CEMC::Min_cemc_layer, radius, Fun4AllServer::registerSubsystem(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().
void CEMC_Clusters | ( | ) |
Definition at line 410 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 410 of file G4_CEmc_Spacal.C
References G4CEMC::Cemc_clusterizer, Enable::CEMC_VERBOSITY, RawClusterBuilderGraph::Detector(), RawClusterBuilderTemplate::Detector(), g4zmq::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().
void CEMC_Eval | ( | const std::string & | outputfile | ) |
Definition at line 455 of file G4_CEmc_Spacal.C.
View newest version in sPHENIX GitHub at line 455 of file G4_CEmc_Spacal.C
References Enable::CEMC_VERBOSITY, Fun4AllServer::instance(), max, Fun4AllServer::registerSubsystem(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().
void CEMC_QA | ( | ) |
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, Enable::QA_VERBOSITY, Fun4AllServer::registerSubsystem(), and Fun4AllBase::Verbosity().
Referenced by Fun4All_AnaTutorial_sPHENIX(), and Fun4All_AnaTutorial_sPHENIX_Jets().
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(), e, g4zmq::exit(), RawTowerCalibration::GetCalibrationParameters(), RawTowerDigitizer::GetParameters(), Fun4AllServer::instance(), PHG4CylinderGeom_Spacalv1::k1DProjectiveSpacal, PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal, RawTowerCalibration::kSimple_linear_calibration, RawTowerCalibration::kTower_by_tower_calibration, max, PHParameters::ReadFromFile(), Fun4AllServer::registerSubsystem(), 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().
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