Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:51

0001 #ifndef __MBD_MBDDEFS_H__
0002 #define __MBD_MBDDEFS_H__
0003 
0004 #ifndef ONLINE
0005 #include <gsl/gsl_const_cgsm.h>
0006 #endif
0007 
0008 namespace MbdDefs
0009 {
0010   const double index_refract = 1.4585;        // quartz radiator index of refraction
0011   const double v_ckov = 1.0 / index_refract;  // velocity threshold for CKOV
0012 #ifndef ONLINE
0013   const double C = GSL_CONST_CGSM_SPEED_OF_LIGHT*1e-9;                // cm/ns
0014 #else
0015   const double C = 29.9792458;                // cm/ns
0016 #endif
0017 
0018   const int MBD_N_PMT = 128;
0019   const int MBD_N_FEECH = 256;
0020   const int MBD_N_ARMS = 2;
0021   const int BBC_N_PMT = 128;
0022   const int BBC_N_FEECH = 256;
0023   const int MAX_SAMPLES = 31;
0024 
0025 }  // namespace MbdDefs
0026 
0027 #endif  // __MBD_MBDDEFS_H__