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

Go to the source code of this file.

Namespaces

namespace  mySim
 

Macros

#define MACRO_G4_Disk_C
 

Functions

double etaToR (double eta, double z)
 
void DiskInit ()
 
double Disk (PHG4Reco *g4Reco, double max_radius)
 

Variables

double mySim::dRICH_width = 80
 
pair< double, double > mySim::dRICH_eta_coverage = {1, 4}
 
double mySim::dRICH_z = 240
 
int mySim::nLayers = 100
 

Macro Definition Documentation

#define MACRO_G4_Disk_C

Definition at line 2 of file G4_Disk.C.

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

Function Documentation

double Disk ( PHG4Reco g4Reco,
double  max_radius 
)

Definition at line 43 of file G4_Disk.C.

View newest version in sPHENIX GitHub at line 43 of file G4_Disk.C

References mySim::dRICH_eta_coverage, mySim::dRICH_width, mySim::dRICH_z, etaToR(), mySim::nLayers, PHG4DetectorSubsystem::OverlapCheck(), PHG4Reco::registerSubsystem(), PHG4CylinderSubsystem::set_color(), PHG4DetectorSubsystem::set_double_param(), PHG4DetectorSubsystem::set_string_param(), PHG4DetectorSubsystem::SetActive(), PHG4DetectorSubsystem::SuperDetector(), Enable::VERBOSITY, and Fun4AllBase::Verbosity().

Referenced by G4Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DiskInit ( )

Definition at line 36 of file G4_Disk.C.

View newest version in sPHENIX GitHub at line 36 of file G4_Disk.C

References mySim::dRICH_eta_coverage, mySim::dRICH_width, mySim::dRICH_z, etaToR(), max, BlackHoleGeometry::max_radius, BlackHoleGeometry::max_z, min, and BlackHoleGeometry::min_z.

Referenced by G4Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double etaToR ( double  eta,
double  z 
)

Definition at line 30 of file G4_Disk.C.

View newest version in sPHENIX GitHub at line 30 of file G4_Disk.C

References radius.

Referenced by Disk(), and DiskInit().

+ Here is the caller graph for this function: