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

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4FEMC
 

Macros

#define MACRO_G4FEMC_C
 

Enumerations

enum  G4FEMC::enu_Femc_clusterizer { G4FEMC::kFemcGraphClusterizer, G4FEMC::kFemcTemplateClusterizer, G4FEMC::kFemcGraphClusterizer, G4FEMC::kFemcTemplateClusterizer }
 

Functions

void FEMCInit ()
 
void FEMCSetup (PHG4Reco *g4Reco, const int absorberactive=0)
 
void FEMC_Cells ()
 
void FEMC_Towers ()
 
void FEMC_Clusters ()
 
void FEMC_Eval (std::string outputfile)
 

Variables

bool Enable::FEMC = false
 
bool Enable::FEMC_ABSORBER = false
 
bool Enable::FEMC_CELL = false
 
bool Enable::FEMC_TOWER = false
 
bool Enable::FEMC_CLUSTER = false
 
bool Enable::FEMC_EVAL = false
 
bool Enable::FEMC_OVERLAPCHECK = false
 
int Enable::FEMC_VERBOSITY = 0
 
double G4FEMC::Gz0 = 305.
 
double G4FEMC::Gdz = 40.
 
double G4FEMC::outer_radius = 180.
 
string G4FEMC::calibfile = "/ForwardEcal/mapping/towerMap_FEMC_fsPHENIX_v004.txt"
 
enu_Femc_clusterizer G4FEMC::Femc_clusterizer = kFemcTemplateClusterizer
 

Macro Definition Documentation

#define MACRO_G4FEMC_C

Definition at line 2 of file G4_FEMC.C.

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

Function Documentation

void FEMC_Cells ( )

Definition at line 93 of file G4_FEMC.C.

View newest version in sPHENIX GitHub at line 93 of file G4_FEMC.C

Referenced by Fun4All_G4_sPHENIX().

+ Here is the caller graph for this function:

void FEMC_Clusters ( )

Definition at line 218 of file G4_FEMC.C.

View newest version in sPHENIX GitHub at line 218 of file G4_FEMC.C

References RawClusterBuilderFwd::Detector(), RawClusterBuilderHelper::Detector(), g4zmq::exit(), G4FEMC::Femc_clusterizer, Enable::FEMC_VERBOSITY, Fun4AllServer::instance(), G4FEMC::kFemcGraphClusterizer, G4FEMC::kFemcTemplateClusterizer, max, Fun4AllServer::registerSubsystem(), RawClusterBuilderHelper::set_agg_e(), RawClusterBuilderHelper::set_seed_e(), RawClusterBuilderFwd::set_threshold_energy(), 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 FEMC_Eval ( std::string  outputfile)

Definition at line 260 of file G4_FEMC.C.

View newest version in sPHENIX GitHub at line 260 of file G4_FEMC.C

References Enable::FEMC_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 FEMCInit ( )

Definition at line 61 of file G4_FEMC.C.

View newest version in sPHENIX GitHub at line 61 of file G4_FEMC.C

References G4FEMC::Gdz, G4FEMC::Gz0, max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, and G4FEMC::outer_radius.

Referenced by G4Init().

+ Here is the caller graph for this function:

void FEMCSetup ( PHG4Reco g4Reco,
const int  absorberactive = 0 
)

Use dedicated FEMC module

Definition at line 67 of file G4_FEMC.C.

View newest version in sPHENIX GitHub at line 67 of file G4_FEMC.C

References Enable::ABSORBER, G4FEMC::calibfile, Enable::FEMC_ABSORBER, Enable::FEMC_OVERLAPCHECK, Fun4AllServer::instance(), Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), PHG4ForwardEcalSubsystem::SetfsPHENIXDetector(), PHG4ForwardEcalSubsystem::SetTowerMappingFile(), and PHG4DetectorSubsystem::SuperDetector().

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: