Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:18:22

0001 
0002 #ifndef _PFRICH_SHARE_
0003 #define _PFRICH_SHARE_
0004 
0005 // Can be overriden by a '-s' cmd line switch;
0006 #define _STATISTICS_DEFAULT_                  (1000)
0007 
0008 // May want to suppress secondaries;
0009 #define _DISABLE_SECONDARIES_
0010 
0011 // May want to disable parasitic sources of photons during G4 stepping;
0012 #define _DISABLE_GAS_VOLUME_PHOTONS_
0013 //#define _DISABLE_AEROGEL_PHOTONS_
0014 #define _DISABLE_ACRYLIC_PHOTONS_
0015 #define _DISABLE_HRPPD_WINDOW_PHOTONS_
0016 
0017 // Call /geometry/test/run if uncommented; activated in '-m' (visualization) mode only;
0018 #define _GEOMETRY_CHECK_
0019 
0020 // To the rear side of the gas volume; 5cm should be sufficient for EICROC configuration;
0021 #define _SENSOR_AREA_LENGTH_                (5.0*cm)
0022 
0023 // -- Mirrors ---------------------------------------------------------------------------------
0024 //
0025 // If true, optional funneling mirrors around the HRPPD sensors are installed in 
0026 // ePIC configuration and in a 2x2 box in FTBF configuration; 
0027 #define _USE_PYRAMIDS_                          true
0028 
0029 // May still want to disable the funneling optics in IRT;
0030 #define _USE_PYRAMID_OPTICS_                    true
0031 
0032 // Some "standard" value applied to all mirrors;
0033 #define _MIRROR_REFLECTIVITY_                 (0.90)
0034 // --------------------------------------------------------------------------------------------
0035 
0036 // All geometry (and optics!) defined for the hadron-going endcap, for historical reasons;
0037 static const bool flip = true;
0038 static const double sign = flip ? -1.0 : 1.0;
0039 
0040 class G4RunManager;
0041 class CherenkovDetectorCollection;
0042 
0043 void setup(G4RunManager *runManager, CherenkovDetectorCollection *geometry, const char *infile);
0044 
0045 #endif