EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_HCalIn_EIC.C File Reference
#include <GlobalVariables.C>
#include <QA.C>
#include <g4calo/HcalRawTowerBuilder.h>
#include <g4calo/RawTowerDigitizer.h>
#include <g4detectors/PHG4CylinderSubsystem.h>
#include <g4detectors/PHG4HcalCellReco.h>
#include <g4detectors/PHG4InnerHcalSubsystem.h>
#include <g4eval/CaloEvaluator.h>
#include <g4main/PHG4Reco.h>
#include <caloreco/RawClusterBuilderGraph.h>
#include <caloreco/RawClusterBuilderTemplate.h>
#include <caloreco/RawTowerCalibration.h>
#include <qa_modules/QAG4SimulationCalorimeter.h>
#include <fun4all/Fun4AllServer.h>
+ Include dependency graph for G4_HCalIn_EIC.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4HCALIN
 
namespace  G4HCALIN::SETTING
 

Macros

#define MACRO_G4HCALINREF_C
 

Enumerations

enum  G4HCALIN::enu_HCalIn_clusterizer {
  G4HCALIN::kHCalInGraphClusterizer, G4HCALIN::kHCalInTemplateClusterizer, G4HCALIN::kHCalInGraphClusterizer, G4HCALIN::kHCalInTemplateClusterizer,
  G4HCALIN::kHCalInGraphClusterizer, G4HCALIN::kHCalInTemplateClusterizer
}
 

Functions

void HCalInner_SupportRing (PHG4Reco *g4Reco)
 A rough version of the inner HCal support ring, from Richie's CAD drawing. - Jin.
 
void HCalInnerInit (const int iflag=0)
 
double HCalInner (PHG4Reco *g4Reco, double radius, const int crossings)
 
void HCALInner_Cells ()
 
void HCALInner_Towers ()
 
void HCALInner_Clusters ()
 
void HCALInner_Eval (const std::string &outputfile)
 
void HCALInner_QA ()
 

Variables

bool Enable::HCALIN = false
 
bool Enable::HCALIN_ABSORBER = false
 
bool Enable::HCALIN_OVERLAPCHECK = false
 
bool Enable::HCALIN_CELL = false
 
bool Enable::HCALIN_TOWER = false
 
bool Enable::HCALIN_CLUSTER = false
 
bool Enable::HCALIN_EVAL = false
 
bool Enable::HCALIN_QA = false
 
bool Enable::HCALIN_SUPPORT = false
 
int Enable::HCALIN_VERBOSITY = 0
 
double G4HCALIN::support_ring_outer_radius = 178.0 - 0.001
 
double G4HCALIN::support_ring_z_ring2 = (2150 + 2175) / 2. / 10.
 
double G4HCALIN::dz = 25. / 10.
 
bool G4HCALIN::inner_hcal_material_Al = true
 
int G4HCALIN::inner_hcal_eic = 0
 
RawTowerDigitizer::enu_digi_algorithm G4HCALIN::TowerDigi = RawTowerDigitizer::kSimple_photon_digitization
 
bool G4HCALIN::SETTING::USECEMCGeo = true
 
enu_HCalIn_clusterizer G4HCALIN::HCalIn_clusterizer = kHCalInTemplateClusterizer
 template clusterizer, RawClusterBuilderTemplate, as developed by Sasha Bazilevsky
 

Macro Definition Documentation

#define MACRO_G4HCALINREF_C

Definition at line 3 of file G4_HCalIn_EIC.C.

View newest version in sPHENIX GitHub at line 3 of file G4_HCalIn_EIC.C

Function Documentation

double HCalInner ( PHG4Reco g4Reco,
double  radius,
const int  crossings 
)
void HCALInner_Cells ( )

Definition at line 225 of file G4_HCalIn_EIC.C.

View newest version in sPHENIX GitHub at line 225 of file G4_HCalIn_EIC.C

References PHG4HcalCellReco::Detector(), Enable::HCALIN_VERBOSITY, Fun4AllServer::instance(), max, Fun4AllServer::registerSubsystem(), and Enable::VERBOSITY.

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HCALInner_Eval ( const std::string &  outputfile)

Definition at line 324 of file G4_HCalIn_EIC.C.

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

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

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_CEMC(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_FEMC(), Fun4All_G4_FHCAL(), Fun4All_G4_fsPHENIX(), Fun4All_G4_HCALIN(), Fun4All_G4_HCALOUT(), Fun4All_G4_LBLDetector(), and Fun4All_G4_sPHENIX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HCALInner_QA ( )

Definition at line 336 of file G4_HCalIn_EIC.C.

View newest version in sPHENIX GitHub at line 336 of file G4_HCalIn_EIC.C

References Enable::HCALIN_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 HCalInner_SupportRing ( PHG4Reco g4Reco)

A rough version of the inner HCal support ring, from Richie's CAD drawing. - Jin.

Definition at line 179 of file G4_HCalIn_EIC.C.

View newest version in sPHENIX GitHub at line 179 of file G4_HCalIn_EIC.C

References G4HCALIN::dz, Enable::HCALIN_SUPPORT, G4HCALIN::inner_hcal_eic, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_int_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), Enable::SUPPORT, G4HCALIN::support_ring_outer_radius, G4HCALIN::support_ring_z_ring2, and G4HCALIN::SETTING::USECEMCGeo.

Referenced by HCalInner().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HCALInner_Towers ( )

Definition at line 247 of file G4_HCalIn_EIC.C.

View newest version in sPHENIX GitHub at line 247 of file G4_HCalIn_EIC.C

References HcalRawTowerBuilder::Detector(), RawTowerDigitizer::Detector(), RawTowerCalibration::Detector(), Acts::UnitConstants::e, Enable::HCALIN_VERBOSITY, G4HCALIN::inner_hcal_material_Al, 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(), HcalRawTowerBuilder::set_sim_tower_node_prefix(), RawTowerDigitizer::set_zero_suppression_ADC(), G4HCALIN::TowerDigi, Enable::VERBOSITY, and Fun4AllBase::Verbosity().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HCalInnerInit ( const int  iflag = 0)

Definition at line 89 of file G4_HCalIn_EIC.C.

View newest version in sPHENIX GitHub at line 89 of file G4_HCalIn_EIC.C

References G4HCALIN::dz, G4HCALIN::inner_hcal_eic, G4HCALIN::inner_hcal_material_Al, max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, BlackHoleGeometry::min_z, G4HCALIN::support_ring_outer_radius, G4HCALIN::support_ring_z_ring2, and G4HCALIN::SETTING::USECEMCGeo.

Referenced by G4Init().

+ Here is the caller graph for this function: