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

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4EEMC
 

Macros

#define MACRO_G4EEMC_C
 

Enumerations

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

Functions

void EEMCInit ()
 
void EEMCSetup (PHG4Reco *g4Reco)
 
void EEMC_Cells ()
 
void EEMC_Towers ()
 
void EEMC_Clusters ()
 
void EEMC_Eval (const std::string &outputfile)
 

Variables

bool Enable::EEMC = false
 
bool Enable::EEMC_ABSORBER = false
 
bool Enable::EEMC_CELL = false
 
bool Enable::EEMC_TOWER = false
 
bool Enable::EEMC_CLUSTER = false
 
bool Enable::EEMC_EVAL = false
 
bool Enable::EEMC_OVERLAPCHECK = false
 
int Enable::EEMC_VERBOSITY = 0
 
int G4EEMC::use_projective_geometry = 0
 
double G4EEMC::Gdz = 18. + 0.0001
 
double G4EEMC::Gz0 = -170.
 
RawTowerDigitizer::enu_digi_algorithm G4EEMC::TowerDigi = RawTowerDigitizer::kSimple_photon_digitization
 
enu_Eemc_clusterizer G4EEMC::Eemc_clusterizer = kEemcTemplateClusterizer
 

Macro Definition Documentation

#define MACRO_G4EEMC_C

Definition at line 2 of file G4_EEMC.C.

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

Function Documentation

void EEMC_Cells ( )

Definition at line 125 of file G4_EEMC.C.

View newest version in sPHENIX GitHub at line 125 of file G4_EEMC.C

Referenced by Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), and Fun4All_G4_LBLDetector().

+ Here is the caller graph for this function:

void EEMC_Clusters ( )

Definition at line 182 of file G4_EEMC.C.

View newest version in sPHENIX GitHub at line 182 of file G4_EEMC.C

References RawClusterBuilderTemplate::Detector(), RawClusterBuilderFwd::Detector(), G4EEMC::Eemc_clusterizer, Enable::EEMC_VERBOSITY, Fun4AllServer::instance(), G4EEMC::kEemcGraphClusterizer, G4EEMC::kEemcTemplateClusterizer, max, Fun4AllServer::registerSubsystem(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().

Referenced by Extract_ECCE_gdml(), Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), and Fun4All_G4_LBLDetector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EEMC_Eval ( const std::string &  outputfile)

Definition at line 212 of file G4_EEMC.C.

View newest version in sPHENIX GitHub at line 212 of file G4_EEMC.C

References Enable::EEMC_VERBOSITY, Fun4AllServer::instance(), max, Fun4AllServer::registerSubsystem(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().

Referenced by Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), and Fun4All_G4_LBLDetector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EEMC_Towers ( )

Definition at line 129 of file G4_EEMC.C.

View newest version in sPHENIX GitHub at line 129 of file G4_EEMC.C

References RawTowerDigitizer::Detector(), RawTowerCalibration::Detector(), RawTowerBuilderByHitIndex::Detector(), Enable::EEMC_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(), G4EEMC::TowerDigi, Enable::VERBOSITY, and Fun4AllBase::Verbosity().

Referenced by Extract_ECCE_gdml(), Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_FullDetectorModular(), Fun4All_G4_FullDetectorModularBeast(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), and Fun4All_G4_LBLDetector().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EEMCInit ( )

Definition at line 64 of file G4_EEMC.C.

View newest version in sPHENIX GitHub at line 64 of file G4_EEMC.C

References Acts::UnitConstants::cm, G4EEMC::Gdz, G4EEMC::Gz0, max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, BlackHoleGeometry::min_z, and G4EEMC::use_projective_geometry.

Referenced by G4Init().

+ Here is the caller graph for this function:

void EEMCSetup ( PHG4Reco g4Reco)

Use dedicated EEMC module

Definition at line 80 of file G4_EEMC.C.

View newest version in sPHENIX GitHub at line 80 of file G4_EEMC.C

References Enable::ABSORBER, Enable::EEMC_ABSORBER, Enable::EEMC_OVERLAPCHECK, Enable::EEMC_VERBOSITY, max, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4CrystalCalorimeterSubsystem::SetProjectiveGeometry(), PHG4DetectorSubsystem::SuperDetector(), G4EEMC::use_projective_geometry, and Enable::VERBOSITY.

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: