EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_TrackingService.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 <boost/format.hpp>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
+ Include dependency graph for G4_TrackingService.C:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ServiceStructure
 

Namespaces

namespace  Enable
 
namespace  G4TrackingService
 

Macros

#define MACRO_G4TrackingService_C
 

Functions

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

Variables

bool Enable::TrackingService = false
 
bool Enable::TrackingService_ABSORBER = false
 
bool Enable::TrackingService_OVERLAPCHECK = false
 
int Enable::TrackingService_VERBOSITY = 0
 
string G4TrackingService::materials [] = {"G4_Cu", "G4_WATER", "G4_POLYETHYLENE", "PEEK"}
 
const int G4TrackingService::nMaterials = sizeof(materials)/sizeof(materials[0])
 
float G4TrackingService::GlobalOffset = -15.0
 
float G4TrackingService::BarrelOffset = 18.679
 
float G4TrackingService::BarrelRadius = 10.33
 
float G4TrackingService::BarrelThickness = 0.436
 
float G4TrackingService::BarrelLength = 121.24
 
float G4TrackingService::LayerThickness = 0.1
 
float G4TrackingService::CYSSConeThickness = 0.216
 
float G4TrackingService::CYSSRibThickness = 0.170
 
int G4TrackingService::subsysID = 0
 
std::vector< float > G4TrackingService::grey = {0.4, 0.4, 0.4}
 

Macro Definition Documentation

#define MACRO_G4TrackingService_C

Definition at line 2 of file G4_TrackingService.C.

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

Function Documentation

vector<float> get_thickness ( ServiceStructure object)

Definition at line 123 of file G4_TrackingService.C.

View newest version in sPHENIX GitHub at line 123 of file G4_TrackingService.C

References thickness.

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

+ Here is the caller graph for this function:

float TrackingService ( PHG4Reco g4Reco,
float  radius 
)

Definition at line 214 of file G4_TrackingService.C.

View newest version in sPHENIX GitHub at line 214 of file G4_TrackingService.C

References G4TrackingService::BarrelLength, G4TrackingService::BarrelOffset, G4TrackingService::BarrelRadius, G4TrackingService::BarrelThickness, G4TrackingService::CYSSConeThickness, G4TrackingService::CYSSRibThickness, G4TrackingService::LayerThickness, G4BECAL::radius, TrackingServiceCone(), and TrackingServiceCylinder().

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TrackingServiceInit ( )

Definition at line 132 of file G4_TrackingService.C.

View newest version in sPHENIX GitHub at line 132 of file G4_TrackingService.C

References G4TrackingService::BarrelLength, G4TrackingService::BarrelOffset, G4TrackingService::BarrelRadius, G4TrackingService::BarrelThickness, G4TrackingService::GlobalOffset, max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, and BlackHoleGeometry::min_z.

Referenced by G4Init().

+ Here is the caller graph for this function: