ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_HcalIn_ref.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 <eiccaloreco/RawClusterBuilderkV3.h>
#include <eiccaloreco/RawClusterBuilderHelper.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_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  G4HCALIN
 

Macros

#define MACRO_G4HCALINREF_C
 

Enumerations

enum  G4HCALIN::enu_HCalIn_clusterizer { 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
 
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 = 1
 
RawTowerDigitizer::enu_digi_algorithm G4HCALIN::TowerDigi = RawTowerDigitizer::kSimple_photon_digitization
 
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_ref.C.

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

Function Documentation

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

Definition at line 99 of file G4_HcalIn_ref.C.

View newest version in sPHENIX GitHub at line 99 of file G4_HcalIn_ref.C

References Enable::ABSORBER, G4HCALIN::dz, PHG4DetectorSubsystem::get_double_param(), Enable::HCALIN_ABSORBER, Enable::HCALIN_OVERLAPCHECK, Enable::HCALIN_VERBOSITY, HCalInner_SupportRing(), G4HCALIN::inner_hcal_material_Al, BTOF::length, max, no_overlapp, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_int_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), G4HCALIN::support_ring_z_ring2, Enable::VERBOSITY, ETOF::z_end, and ETOF::z_start.

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HCALInner_Cells ( )

Definition at line 249 of file G4_HcalIn_ref.C.

View newest version in sPHENIX GitHub at line 249 of file G4_HcalIn_ref.C

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

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_ECCEModular(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), and Fun4All_G4_sPHENIX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HCALInner_Clusters ( )

Definition at line 318 of file G4_HcalIn_ref.C.

View newest version in sPHENIX GitHub at line 318 of file G4_HcalIn_ref.C

References RawClusterBuilderGraph::Detector(), RawClusterBuilderHelper::Detector(), g4zmq::exit(), G4HCALIN::HCalIn_clusterizer, Enable::HCALIN_VERBOSITY, Fun4AllServer::instance(), G4HCALIN::kHCalInGraphClusterizer, G4HCALIN::kHCalInTemplateClusterizer, max, Fun4AllServer::registerSubsystem(), RawClusterBuilderHelper::set_agg_e(), RawClusterBuilderHelper::set_seed_e(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().

Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_ECCEModular(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), 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 354 of file G4_HcalIn_ref.C.

View newest version in sPHENIX GitHub at line 354 of file G4_HcalIn_ref.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_ECCEModular(), Fun4All_G4_EICDetector(), Fun4All_G4_EICDetector_AnaTutorial(), Fun4All_G4_sPHENIX(), and Fun4All_runEvaluators().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HCALInner_QA ( )

Definition at line 366 of file G4_HcalIn_ref.C.

View newest version in sPHENIX GitHub at line 366 of file G4_HcalIn_ref.C

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

Referenced by Fun4All_AnaTutorial_sPHENIX(), and Fun4All_AnaTutorial_sPHENIX_Jets().

+ 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 211 of file G4_HcalIn_ref.C.

View newest version in sPHENIX GitHub at line 211 of file G4_HcalIn_ref.C

References Enable::ABSORBER, G4HCALIN::dz, Enable::HCALIN_ABSORBER, G4HCALIN::inner_hcal_eic, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_int_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), G4HCALIN::support_ring_outer_radius, and G4HCALIN::support_ring_z_ring2.

Referenced by HCalInner().

+ 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 86 of file G4_HcalIn_ref.C.

View newest version in sPHENIX GitHub at line 86 of file G4_HcalIn_ref.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, and G4HCALIN::support_ring_z_ring2.

Referenced by G4Init().

+ Here is the caller graph for this function: