ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_TrackingSupport.C File Reference
#include <GlobalVariables.C>
#include <QA.C>
#include <g4detectors/PHG4ConeSubsystem.h>
#include <g4detectors/PHG4CylinderSubsystem.h>
#include <g4main/PHG4Reco.h>
#include <qa_modules/QAG4SimulationMvtx.h>
#include <fun4all/Fun4AllServer.h>
#include <cmath>
#include <vector>
+ Include dependency graph for G4_TrackingSupport.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ServiceProperties
 

Namespaces

namespace  Enable
 
namespace  G4TrackingService
 

Macros

#define MACRO_G4TrackingService_C
 

Functions

vector< double > get_thickness (ServiceProperties *object)
 
void TrackingServiceInit ()
 
double TrackingServiceCone (ServiceProperties *object, PHG4Reco *g4Reco, double radius)
 
double TrackingServiceCylinder (ServiceProperties *object, PHG4Reco *g4Reco, double radius)
 
double TrackingService (PHG4Reco *g4Reco, double radius)
 

Variables

bool Enable::TrackingService = false
 
bool Enable::TrackingService_ABSORBER = false
 
bool Enable::TrackingService_OVERLAPCHECK = false
 
int Enable::TrackingService_VERBOSITY = 0
 
const int G4TrackingService::nMaterials = 6
 
pair< string, double > G4TrackingService::materials [nMaterials]
 
double G4TrackingService::GlobalOffset = 0.0
 
double G4TrackingService::ShellThickness = 0.3
 
int G4TrackingService::subsysID = 0
 

Macro Definition Documentation

#define MACRO_G4TrackingService_C

Definition at line 2 of file G4_TrackingSupport.C.

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

Function Documentation

vector<double> get_thickness ( ServiceProperties object)

Definition at line 128 of file G4_TrackingSupport.C.

View newest version in sPHENIX GitHub at line 128 of file G4_TrackingSupport.C

References ServiceProperties::get_rad_len_aluminum(), ServiceProperties::get_rad_len_carbon(), ServiceProperties::get_rad_len_iron(), ServiceProperties::get_rad_len_plastic(), ServiceProperties::get_rad_len_water(), G4TrackingService::materials, second, and thickness.

Referenced by PHG4TpcDigitizer::CalculateCylinderCellADCScale(), PHG4InttDigitizer::CalculateLadderCellADCScale(), InttClusterizer::CalculateLadderThresholds(), PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), PHG4FullProjSpacalDetector::Construct_AzimuthalSeg(), TrackingServiceCone(), and TrackingServiceCylinder().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double TrackingService ( PHG4Reco g4Reco,
double  radius 
)

Definition at line 216 of file G4_TrackingSupport.C.

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

References BlackHoleGeometry::gap, G4TrackingService::materials, radius, G4TrackingService::ShellThickness, TrackingServiceCone(), and TrackingServiceCylinder().

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double TrackingServiceCylinder ( ServiceProperties object,
PHG4Reco g4Reco,
double  radius 
)
void TrackingServiceInit ( )

Definition at line 139 of file G4_TrackingSupport.C.

View newest version in sPHENIX GitHub at line 139 of file G4_TrackingSupport.C

References max, BlackHoleGeometry::max_radius, min, and BlackHoleGeometry::min_z.

Referenced by G4Init().

+ Here is the caller graph for this function: