ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#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>
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 |
#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
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().
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().
double TrackingServiceCone | ( | ServiceProperties * | object, |
PHG4Reco * | g4Reco, | ||
double | radius | ||
) |
Definition at line 146 of file G4_TrackingSupport.C.
View newest version in sPHENIX GitHub at line 146 of file G4_TrackingSupport.C
References kdfinder::abs(), Enable::ABSORBER, ServiceProperties::get_name(), get_thickness(), ServiceProperties::get_z_north(), ServiceProperties::get_z_south(), G4TrackingService::GlobalOffset, BTOF::length, G4TrackingService::materials, max, G4TrackingService::nMaterials, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::SetActive(), PHG4ConeSubsystem::SetMaterial(), PHG4ConeSubsystem::SetPlaceZ(), PHG4ConeSubsystem::SetR1(), PHG4ConeSubsystem::SetR2(), PHG4ConeSubsystem::SetZlength(), G4TrackingService::subsysID, PHG4DetectorSubsystem::SuperDetector(), Enable::TrackingService_ABSORBER, Enable::TrackingService_OVERLAPCHECK, Enable::TrackingService_VERBOSITY, Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Referenced by TrackingService().
double TrackingServiceCylinder | ( | ServiceProperties * | object, |
PHG4Reco * | g4Reco, | ||
double | radius | ||
) |
Definition at line 182 of file G4_TrackingSupport.C.
View newest version in sPHENIX GitHub at line 182 of file G4_TrackingSupport.C
References kdfinder::abs(), Enable::ABSORBER, ServiceProperties::get_name(), get_thickness(), ServiceProperties::get_z_north(), ServiceProperties::get_z_south(), G4TrackingService::GlobalOffset, BTOF::length, G4TrackingService::materials, max, G4TrackingService::nMaterials, Enable::OVERLAPCHECK, PHG4DetectorSubsystem::OverlapCheck(), radius, PHG4Reco::registerSubsystem(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), G4TrackingService::subsysID, PHG4DetectorSubsystem::SuperDetector(), Enable::TrackingService_ABSORBER, Enable::TrackingService_OVERLAPCHECK, Enable::TrackingService_VERBOSITY, Enable::VERBOSITY, and Fun4AllBase::Verbosity().
Referenced by TrackingService().
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().