EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_LFHCAL.C File Reference
#include <GlobalVariables.C>
#include <g4calo/RawTowerDigitizer.h>
#include <g4eiccalos/PHG4LFHcalSubsystem.h>
#include <g4eiccalos/RawTowerBuilderByHitIndexLHCal.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_LFHCAL.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4LFHCAL
 
namespace  G4LFHCAL::SETTING
 

Macros

#define MACRO_G4LFHCAL_C
 

Enumerations

enum  G4LFHCAL::enu_FHcal_clusterizer { G4LFHCAL::kFHcalGraphClusterizer, G4LFHCAL::kFHcalTemplateClusterizer }
 

Functions

TString GetMappingFile ()
 
void LFHCALInit ()
 
void LFHCALSetup (PHG4Reco *g4Reco)
 
void LFHCAL_Cells (int verbosity=0)
 
void LFHCAL_Towers ()
 
void LFHCAL_Clusters ()
 
void LFHCAL_Eval (const std::string &outputfile)
 

Variables

bool Enable::LFHCAL = false
 
bool Enable::LFHCAL_ABSORBER = false
 
bool Enable::LFHCAL_CELL = false
 
bool Enable::LFHCAL_TOWER = false
 
bool Enable::LFHCAL_CLUSTER = false
 
bool Enable::LFHCAL_EVAL = false
 
bool Enable::LFHCAL_OVERLAPCHECK = false
 
int Enable::LFHCAL_VERBOSITY = 0
 
double G4LFHCAL::Gz0 = 400.
 
double G4LFHCAL::Gdz = 100.
 
double G4LFHCAL::outer_radius = 262.
 
enu_FHcal_clusterizer G4LFHCAL::FHcal_clusterizer = kFHcalTemplateClusterizer
 
bool G4LFHCAL::SETTING::FullEtaAcc = false
 
bool G4LFHCAL::SETTING::HC2x = false
 
bool G4LFHCAL::SETTING::asymmetric = false
 
bool G4LFHCAL::SETTING::wDR = false
 
bool G4LFHCAL::SETTING::FwdSquare = false
 
bool G4LFHCAL::SETTING::FwdConfig = false
 
bool G4LFHCAL::SETTING::longer = false
 

Macro Definition Documentation

#define MACRO_G4LFHCAL_C

Definition at line 2 of file G4_LFHCAL.C.

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

Function Documentation

TString GetMappingFile ( )

Definition at line 65 of file G4_LFHCAL.C.

View newest version in sPHENIX GitHub at line 65 of file G4_LFHCAL.C

References G4LFHCAL::SETTING::asymmetric, G4LFHCAL::SETTING::FwdConfig, G4LFHCAL::SETTING::FwdSquare, G4LFHCAL::SETTING::HC2x, Enable::IP6, G4LFHCAL::SETTING::longer, and G4LFHCAL::SETTING::wDR.

Referenced by LFHCAL_Towers(), and LFHCALSetup().

+ Here is the caller graph for this function:

void LFHCAL_Cells ( int  verbosity = 0)

Definition at line 169 of file G4_LFHCAL.C.

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

void LFHCAL_Clusters ( )

Definition at line 210 of file G4_LFHCAL.C.

View newest version in sPHENIX GitHub at line 210 of file G4_LFHCAL.C

Referenced by Extract_ECCE_gdml(), and Fun4All_G4_FullDetectorModular().

+ Here is the caller graph for this function:

void LFHCAL_Eval ( const std::string &  outputfile)

Definition at line 216 of file G4_LFHCAL.C.

View newest version in sPHENIX GitHub at line 216 of file G4_LFHCAL.C

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

+ Here is the call graph for this function:

void LFHCAL_Towers ( )
void LFHCALInit ( )

Definition at line 127 of file G4_LFHCAL.C.

View newest version in sPHENIX GitHub at line 127 of file G4_LFHCAL.C

References Acts::UnitConstants::cm, G4LFHCAL::SETTING::FullEtaAcc, G4LFHCAL::Gdz, G4LFHCAL::Gz0, G4LFHCAL::SETTING::HC2x, G4LFHCAL::SETTING::longer, max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, BlackHoleGeometry::min_z, and G4LFHCAL::outer_radius.

Referenced by G4Init().

+ Here is the caller graph for this function:

void LFHCALSetup ( PHG4Reco g4Reco)

Use dedicated LFHCAL module

Definition at line 145 of file G4_LFHCAL.C.

View newest version in sPHENIX GitHub at line 145 of file G4_LFHCAL.C

References Enable::ABSORBER, GetMappingFile(), Fun4AllServer::instance(), Enable::LFHCAL_ABSORBER, Enable::LFHCAL_OVERLAPCHECK, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4LFHcalSubsystem::SetDetailed(), PHG4LFHcalSubsystem::SetTowerMappingFile(), and PHG4DetectorSubsystem::SuperDetector().

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: