ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_EEMC_hybrid.C File Reference
#include <GlobalVariables.C>
#include <g4calo/RawTowerBuilderByHitIndex.h>
#include <g4calo/RawTowerDigitizer.h>
#include <g4eiccalos/PHG4HybridHomogeneousCalorimeterSubsystem.h>
#include <g4eiccalos/PHG4ForwardCalCellReco.h>
#include <g4eval/CaloEvaluator.h>
#include <g4main/PHG4Reco.h>
#include <eiccaloreco/RawClusterBuilderkMA.h>
#include <eiccaloreco/RawClusterBuilderHelper.h>
#include <caloreco/RawClusterBuilderFwd.h>
#include <caloreco/RawClusterBuilderTemplate.h>
#include <caloreco/RawTowerCalibration.h>
#include <fun4all/Fun4AllServer.h>
+ Include dependency graph for G4_EEMC_hybrid.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4EEMCH
 
namespace  G4EEMCH::SETTING
 

Macros

#define MACRO_G4EEMCHYBRID_C
 

Enumerations

enum  G4EEMCH::enu_Eemc_clusterizer { G4EEMCH::kEemcGraphClusterizer, G4EEMCH::kEemcTemplateClusterizer }
 

Functions

void EEMCHInit ()
 
void EEMCHSetup (PHG4Reco *g4Reco)
 
void EEMCH_Cells ()
 
void EEMCH_Towers ()
 
void EEMCH_Clusters ()
 
void EEMCH_Eval (const std::string &outputfile)
 

Variables

bool Enable::EEMCH = false
 
bool Enable::EEMCH_ABSORBER = false
 
bool Enable::EEMCH_CELL = false
 
bool Enable::EEMCH_TOWER = false
 
bool Enable::EEMCH_CLUSTER = false
 
bool Enable::EEMCH_EVAL = false
 
bool Enable::EEMCH_OVERLAPCHECK = false
 
int Enable::EEMCH_VERBOSITY = 0
 
int G4EEMCH::use_projective_geometry = 0
 
double G4EEMCH::Gdz = 20. + 0.1
 
double G4EEMCH::Gz0 = -180.
 
bool G4EEMCH::SETTING::USEHYBRID = false
 
bool G4EEMCH::SETTING::USECEMCGeo = false
 
bool G4EEMCH::SETTING::USECUSTOMMAPNOCARBON = false
 
bool G4EEMCH::SETTING::USECUSTOMMAP30CM = false
 
bool G4EEMCH::SETTING::USECUSTOMMAPCARBON = false
 
bool G4EEMCH::SETTING::USECUSTOMMAPUPDATED = false
 
RawTowerDigitizer::enu_digi_algorithm G4EEMCH::TowerDigi = RawTowerDigitizer::kSimple_photon_digitization
 
enu_Eemc_clusterizer G4EEMCH::Eemc_clusterizer = kEemcTemplateClusterizer
 

Macro Definition Documentation

#define MACRO_G4EEMCHYBRID_C

Definition at line 2 of file G4_EEMC_hybrid.C.

View newest version in sPHENIX GitHub at line 2 of file G4_EEMC_hybrid.C

Function Documentation

void EEMCH_Cells ( )

Definition at line 166 of file G4_EEMC_hybrid.C.

View newest version in sPHENIX GitHub at line 166 of file G4_EEMC_hybrid.C

void EEMCH_Clusters ( )

Definition at line 273 of file G4_EEMC_hybrid.C.

View newest version in sPHENIX GitHub at line 273 of file G4_EEMC_hybrid.C

References RawClusterBuilderFwd::Detector(), RawClusterBuilderHelper::Detector(), G4EEMCH::Eemc_clusterizer, Enable::EEMCH_VERBOSITY, Fun4AllServer::instance(), G4EEMCH::kEemcGraphClusterizer, G4EEMCH::kEemcTemplateClusterizer, max, Fun4AllServer::registerSubsystem(), RawClusterBuilderHelper::set_agg_e(), RawClusterBuilderHelper::set_seed_e(), G4EEMCH::SETTING::USEHYBRID, Enable::VERBOSITY, and Fun4AllBase::Verbosity().

Referenced by Fun4All_G4_ECCEModular(), Fun4All_G4_EICDetector(), and Fun4All_G4_EICDetector_AnaTutorial().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EEMCH_Eval ( const std::string &  outputfile)

Definition at line 324 of file G4_EEMC_hybrid.C.

View newest version in sPHENIX GitHub at line 324 of file G4_EEMC_hybrid.C

References Enable::EEMCH_VERBOSITY, Fun4AllServer::instance(), max, pos(), Fun4AllServer::registerSubsystem(), CaloEvaluator::set_do_cluster_eval(), G4EEMCH::SETTING::USEHYBRID, Enable::VERBOSITY, and Fun4AllBase::Verbosity().

Referenced by Fun4All_runEvaluators().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EEMCH_Towers ( )

Definition at line 169 of file G4_EEMC_hybrid.C.

View newest version in sPHENIX GitHub at line 169 of file G4_EEMC_hybrid.C

References RawTowerDigitizer::Detector(), RawTowerCalibration::Detector(), RawTowerBuilderByHitIndex::Detector(), Enable::EEMCH_VERBOSITY, RawTowerBuilderByHitIndex::GeometryTableFile(), 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(), RawTowerDigitizer::set_raw_tower_node_prefix(), RawTowerBuilderByHitIndex::set_sim_tower_node_prefix(), RawTowerDigitizer::set_zero_suppression_ADC(), G4EEMCH::TowerDigi, G4EEMCH::SETTING::USECEMCGeo, G4EEMCH::SETTING::USECUSTOMMAP30CM, G4EEMCH::SETTING::USECUSTOMMAPCARBON, G4EEMCH::SETTING::USECUSTOMMAPNOCARBON, G4EEMCH::SETTING::USECUSTOMMAPUPDATED, G4EEMCH::SETTING::USEHYBRID, Enable::VERBOSITY, and Fun4AllBase::Verbosity().

Referenced by Fun4All_G4_ECCEModular(), Fun4All_G4_EICDetector(), and Fun4All_G4_EICDetector_AnaTutorial().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EEMCHInit ( )

Definition at line 83 of file G4_EEMC_hybrid.C.

View newest version in sPHENIX GitHub at line 83 of file G4_EEMC_hybrid.C

References G4EEMCH::Gdz, G4EEMCH::Gz0, max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, and BlackHoleGeometry::min_z.

Referenced by G4Init().

+ Here is the caller graph for this function:

void EEMCHSetup ( PHG4Reco g4Reco)

Use dedicated EEMCH module

Definition at line 93 of file G4_EEMC_hybrid.C.

View newest version in sPHENIX GitHub at line 93 of file G4_EEMC_hybrid.C

References Enable::ABSORBER, Enable::EEMCH_ABSORBER, Enable::EEMCH_OVERLAPCHECK, Enable::EEMCH_VERBOSITY, max, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), G4EEMCH::SETTING::USECEMCGeo, G4EEMCH::SETTING::USECUSTOMMAP30CM, G4EEMCH::SETTING::USECUSTOMMAPCARBON, G4EEMCH::SETTING::USECUSTOMMAPNOCARBON, G4EEMCH::SETTING::USECUSTOMMAPUPDATED, G4EEMCH::SETTING::USEHYBRID, and Enable::VERBOSITY.

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: