EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_HcalOut_ref.C File Reference
#include <GlobalVariables.C>
#include <QA.C>
#include <g4calo/HcalRawTowerBuilder.h>
#include <g4calo/RawTowerDigitizer.h>
#include <g4detectors/PHG4HcalCellReco.h>
#include <g4detectors/PHG4OuterHcalSubsystem.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_HcalOut_ref.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4HCALOUT
 

Macros

#define MACRO_G4HCALOUTREF_C
 

Enumerations

enum  G4HCALOUT::enu_HCalOut_clusterizer { G4HCALOUT::kHCalOutGraphClusterizer, G4HCALOUT::kHCalOutTemplateClusterizer, G4HCALOUT::kHCalOutGraphClusterizer, G4HCALOUT::kHCalOutTemplateClusterizer }
 

Functions

void HCalOuterInit ()
 
double HCalOuter (PHG4Reco *g4Reco, double radius, const int crossings)
 
void HCALOuter_Cells ()
 
void HCALOuter_Towers ()
 
void HCALOuter_Clusters ()
 
void HCALOuter_Eval (const std::string &outputfile)
 
void HCALOuter_QA ()
 

Variables

bool Enable::HCALOUT = false
 
bool Enable::HCALOUT_ABSORBER = false
 
bool Enable::HCALOUT_OVERLAPCHECK = false
 
bool Enable::HCALOUT_CELL = false
 
bool Enable::HCALOUT_TOWER = false
 
bool Enable::HCALOUT_CLUSTER = false
 
bool Enable::HCALOUT_EVAL = false
 
bool Enable::HCALOUT_QA = false
 
int Enable::HCALOUT_VERBOSITY = 0
 
double G4HCALOUT::outer_radius = 264.71
 
double G4HCALOUT::size_z = 304.91 * 2
 
RawTowerDigitizer::enu_digi_algorithm G4HCALOUT::TowerDigi = RawTowerDigitizer::kSimple_photon_digitization
 
enu_HCalOut_clusterizer G4HCALOUT::HCalOut_clusterizer = kHCalOutTemplateClusterizer
 template clusterizer, RawClusterBuilderTemplate, as developed by Sasha Bazilevsky
 

Macro Definition Documentation

#define MACRO_G4HCALOUTREF_C

Definition at line 2 of file G4_HcalOut_ref.C.

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

Function Documentation

double HCalOuter ( PHG4Reco g4Reco,
double  radius,
const int  crossings 
)

Definition at line 77 of file G4_HcalOut_ref.C.

View newest version in sPHENIX GitHub at line 77 of file G4_HcalOut_ref.C

References Enable::ABSORBER, PHG4DetectorSubsystem::get_double_param(), hcal(), Enable::HCALOUT_ABSORBER, Enable::HCALOUT_OVERLAPCHECK, Enable::HCALOUT_VERBOSITY, max, no_overlapp, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), G4BECAL::radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), and Enable::VERBOSITY.

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HCALOuter_Cells ( )

Definition at line 139 of file G4_HcalOut_ref.C.

View newest version in sPHENIX GitHub at line 139 of file G4_HcalOut_ref.C

References PHG4HcalCellReco::Detector(), Enable::HCALOUT_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 HCALOuter_Eval ( const std::string &  outputfile)

Definition at line 246 of file G4_HcalOut_ref.C.

View newest version in sPHENIX GitHub at line 246 of file G4_HcalOut_ref.C

References Enable::HCALOUT_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 HCALOuter_QA ( )

Definition at line 259 of file G4_HcalOut_ref.C.

View newest version in sPHENIX GitHub at line 259 of file G4_HcalOut_ref.C

References Enable::HCALOUT_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 HCALOuter_Towers ( )

Definition at line 163 of file G4_HcalOut_ref.C.

View newest version in sPHENIX GitHub at line 163 of file G4_HcalOut_ref.C

References HcalRawTowerBuilder::Detector(), RawTowerDigitizer::Detector(), RawTowerCalibration::Detector(), Acts::UnitConstants::e, Enable::HCALOUT_VERBOSITY, 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(), G4HCALOUT::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 HCalOuterInit ( )

Definition at line 70 of file G4_HcalOut_ref.C.

View newest version in sPHENIX GitHub at line 70 of file G4_HcalOut_ref.C

References max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, BlackHoleGeometry::min_z, G4HCALOUT::outer_radius, and G4HCALOUT::size_z.

Referenced by G4Init().

+ Here is the caller graph for this function: