Analysis Software
Documentation for sPHENIX simulation software
|
#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 |
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 = false |
bool | Enable::CEMC_ABSORBER = false |
bool | Enable::CEMC_OVERLAPCHECK = false |
bool | Enable::CEMC_CELL = false |
bool | Enable::CEMC_TOWER = false |
bool | Enable::CEMC_CLUSTER = false |
bool | Enable::CEMC_EVAL = false |
bool | Enable::CEMC_QA = false |
int | Enable::CEMC_VERBOSITY = 0 |
int | G4CEMC::Min_cemc_layer = 1 |
int | G4CEMC::Max_cemc_layer = 1 |
RawTowerDigitizer::enu_digi_algorithm | G4CEMC::TowerDigi = RawTowerDigitizer::kSimple_photon_digitization |
int | G4CEMC::Cemc_spacal_configuration = PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal |
enu_Cemc_clusterizer | G4CEMC::Cemc_clusterizer = kCemcTemplateClusterizer |
template clusterizer, RawClusterBuilderTemplate, as developed by Sasha Bazilevsky | |
#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, 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, cemc, Enable::CEMC_ABSORBER, Enable::CEMC_OVERLAPCHECK, G4CEMC::Max_cemc_layer, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, Acts::UnitConstants::min, G4CEMC::Min_cemc_layer, BlackHoleGeometry::min_z, no_overlapp, PHG4DetectorSubsystem::OverlapCheck(), Enable::OVERLAPCHECK, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), and PHG4DetectorSubsystem::SuperDetector().
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, assert, cemc, Enable::CEMC_ABSORBER, Enable::CEMC_OVERLAPCHECK, PHG4Utils::GetLengthForRapidityCoverage(), G4CEMC::Max_cemc_layer, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, Acts::UnitConstants::min, BlackHoleGeometry::min_z, no_overlapp, PHG4DetectorSubsystem::OverlapCheck(), Enable::OVERLAPCHECK, 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.
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(), i, Fun4AllServer::instance(), PHG4CylinderGeom_Spacalv1::k1DProjectiveSpacal, PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal, LightCollectionModel::load_data_file(), G4CEMC::Max_cemc_layer, G4CEMC::Min_cemc_layer, Fun4AllServer::registerSubsystem(), verbosity, Enable::VERBOSITY, and Fun4AllBase::Verbosity().
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(), Fun4AllServer::instance(), G4CEMC::kCemcGraphClusterizer, G4CEMC::kCemcTemplateClusterizer, RawClusterBuilderTemplate::LoadProfile(), Fun4AllServer::registerSubsystem(), RawClusterBuilderTemplate::set_threshold_energy(), verbosity, Enable::VERBOSITY, and Fun4AllBase::Verbosity().
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(), Fun4AllServer::registerSubsystem(), verbosity, Enable::VERBOSITY, and Fun4AllBase::Verbosity().
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(), Enable::QA_VERBOSITY, Fun4AllServer::registerSubsystem(), verbosity, and Fun4AllBase::Verbosity().
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(), RawTowerCalibration::Detector(), RawTowerDigitizer::Detector(), Acts::UnitConstants::e, RawTowerCalibration::GetCalibrationParameters(), RawTowerDigitizer::GetParameters(), Fun4AllServer::instance(), PHG4CylinderGeom_Spacalv1::k1DProjectiveSpacal, PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal, RawTowerDigitizer::kNo_digitization, RawTowerCalibration::kSimple_linear_calibration, RawTowerCalibration::kTower_by_tower_calibration, 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, verbosity, Enable::VERBOSITY, and Fun4AllBase::Verbosity().
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