Analysis Software
Documentation for sPHENIX simulation 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, 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 = false
 
bool Enable::CEMC_ABSORBER = false
 
bool Enable::CEMC_OVERLAPCHECK = false
 
bool Enable::CEMC_CELL = false
 
bool Enable::CEMC_TOWER = false
 
bool Enable::CEMC_CLUSTER = false
 
bool Enable::CEMC_EVAL = false
 
bool Enable::CEMC_QA = false
 
int Enable::CEMC_VERBOSITY = 0
 
int G4CEMC::Min_cemc_layer = 1
 
int G4CEMC::Max_cemc_layer = 1
 
RawTowerDigitizer::enu_digi_algorithm G4CEMC::TowerDigi = RawTowerDigitizer::kSimple_photon_digitization
 
int G4CEMC::Cemc_spacal_configuration = PHG4CylinderGeom_Spacalv1::k2DProjectiveSpacal
 
enu_Cemc_clusterizer G4CEMC::Cemc_clusterizer = kCemcTemplateClusterizer
 template clusterizer, RawClusterBuilderTemplate, as developed by Sasha Bazilevsky
 

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, 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 
)
void CEMC_Clusters ( )
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(), Fun4AllServer::registerSubsystem(), verbosity, 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(), Enable::QA_VERBOSITY, Fun4AllServer::registerSubsystem(), verbosity, and Fun4AllBase::Verbosity().

+ Here is the call 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