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

Go to the source code of this file.

Namespaces

namespace  Enable
 
namespace  G4CEMC
 

Macros

#define MACRO_G4CEMCSPACAL_C
 

Enumerations

enum  G4CEMC::enu_Cemc_clusterizer {
  G4CEMC::kCemcGraphClusterizer, G4CEMC::kCemcTemplateClusterizer, G4CEMC::kCemcGraphClusterizer, G4CEMC::kCemcTemplateClusterizer,
  G4CEMC::kCemcGraphClusterizer, G4CEMC::kCemcTemplateClusterizer
}
 

Functions

double CEmc_1DProjectiveSpacal (PHG4Reco *g4Reco, double radius, const int crossings)
 EMCal setup macro - 1D azimuthal projective SPACAL.
 
double CEmc_2DProjectiveSpacal (PHG4Reco *g4Reco, double radius, const int crossings)
 2D full projective SPACAL
 
void CEmcInit (const int i=0)
 
double CEmc (PHG4Reco *g4Reco, double radius, const int crossings)
 EMCal main setup macro.
 
void CEMC_Cells ()
 
void CEMC_Towers ()
 
void CEMC_Clusters ()
 
void CEMC_Eval (const std::string &outputfile)
 
void CEMC_QA ()
 

Variables

bool Enable::CEMC_QA = false
 
int G4CEMC::Min_cemc_layer = 1
 
int G4CEMC::Max_cemc_layer = 1
 
int G4CEMC::Cemc_spacal_configuration = PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal
 

Macro Definition Documentation

#define MACRO_G4CEMCSPACAL_C

Definition at line 2 of file G4_CEmc_Spacal.C.

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

Function Documentation

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

EMCal main setup macro.

Definition at line 96 of file G4_CEmc_Spacal.C.

View newest version in sPHENIX GitHub at line 96 of file G4_CEmc_Spacal.C

References CEmc_1DProjectiveSpacal(), CEmc_2DProjectiveSpacal(), G4CEMC::Cemc_spacal_configuration, exit(), PHG4CylinderGeom_Spacalv1::k1DProjectiveSpacal, and PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal.

+ Here is the call graph for this function:

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

EMCal setup macro - 1D azimuthal projective SPACAL.

Definition at line 118 of file G4_CEmc_Spacal.C.

View newest version in sPHENIX GitHub at line 118 of file G4_CEmc_Spacal.C

References Enable::ABSORBER, cemc, Enable::CEMC_ABSORBER, Enable::CEMC_OVERLAPCHECK, exit(), max, G4CEMC::Max_cemc_layer, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, G4CEMC::Min_cemc_layer, BlackHoleGeometry::min_z, no_overlapp, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), G4BECAL::radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetAbsorberActive(), PHG4DetectorSubsystem::SetActive(), and PHG4DetectorSubsystem::SuperDetector().

Referenced by CEmc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double CEmc_2DProjectiveSpacal ( PHG4Reco g4Reco,
double  radius,
const int  crossings 
)
void CEMC_Eval ( const std::string &  outputfile)

Definition at line 468 of file G4_CEmc_Spacal.C.

View newest version in sPHENIX GitHub at line 468 of file G4_CEmc_Spacal.C

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

+ Here is the call graph for this function:

void CEMC_QA ( )

Definition at line 481 of file G4_CEmc_Spacal.C.

View newest version in sPHENIX GitHub at line 481 of file G4_CEmc_Spacal.C

References Enable::CEMC_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 CEmcInit ( const int  i = 0)

Definition at line 90 of file G4_CEmc_Spacal.C.

View newest version in sPHENIX GitHub at line 90 of file G4_CEmc_Spacal.C