CMS 3D CMS Logo

GflashNameSpace.h

Go to the documentation of this file.
00001 #ifndef GflashNameSpace_H
00002 #define GflashNameSpace_H
00003 
00004 #include "globals.hh"
00005 
00006 namespace Gflash {
00007 
00008   enum CalorimeterNumber {
00009     kNULL,
00010     kESPM,              // ECAL Barrel - ESPM
00011     kENCA,              // ECAL Endcap - ENCA
00012     kHB,                // HCAL Barrel - HB
00013     kHE,                // HCAL Endcap - HE
00014     kNumberCalorimeter
00015   };
00016   
00017   const G4String CalorimeterName[kNumberCalorimeter] = {
00018     "NULL",
00019     "ESPM",
00020     "ENCA"
00021     "HB",
00022     "HE"
00023   };
00024 
00025   //                                                 EB     EE     HB     HE
00026   const G4double Zmin[kNumberCalorimeter]   = {0.0, 0.000, 304.5, 0.000, 391.95};
00027   const G4double Zmax[kNumberCalorimeter]   = {0.0, 317.0, 390.0, 433.2, 554.10};
00028   const G4double Rmin[kNumberCalorimeter]   = {0.0, 123.8,  31.6, 177.5,  31.6};
00029   const G4double Rmax[kNumberCalorimeter]   = {0.0, 175.0, 171.1, 287.7, 263.9};
00030   const G4double EtaMin[kNumberCalorimeter] = {0.0, 0.000, 1.570, 0.000, 1.570};
00031   const G4double EtaMax[kNumberCalorimeter] = {0.0, 1.300, 3.000, 1.300, 3.000};
00032     
00033   //constants needed for GflashHadronShowerProfile
00034 
00035   //@@@approximately ScaleSensitive = 0.2 and need fine tune later 
00036   //@@@set it to 1.0 for the energy shape studies
00037   const G4double ScaleSensitive = 0.26;
00038 
00039   // number of sub-detectors (calorimeters)  
00040   const G4int NDET = 4; 
00041   
00042   const G4double FLUHAD[3][NDET] = {{0.16,.161,0.150,0.130},
00043                                     {0.,0.,0.,0.},
00044                                     {0.044,0.044,0.053,0.040}};
00045   const G4double SAMHAD[3][NDET] = {{0.12,0.35,0.18,0.23},
00046                                     {0.,0.,0.,0.},
00047                                     {0.010,0.032,0.038,0.043}};
00048   const G4double RLTHAD[NDET] = {32.7,23.7,32.7,23.7};
00049   
00050   const G4double PBYMIP[NDET] = {1.82,3.20,1.85,2.3};
00051 
00052   //utility functions
00053 
00054   // correlation matrix RHO[I][J]
00055   const G4int NRegion   = 3;
00056   const G4int NxN  = 6;
00057   const int NDim[NRegion] = {6,6,6};
00058   const G4int NStart[NRegion] = {0,21,42};
00059 
00060   const G4double rho[NRegion*NxN][NxN] = {
00061     { 1.}, 
00062     {-0.532, 1.},
00063     {-0.330, 0.581, 1.},
00064     {-0.026, 0.289, 0.192, 1.},
00065     { 0.001,-0.004,-0.009, 0.028, 1.},
00066     {-0.062,-0.031,-0.022,-0.019,-0.434, 1.},
00067     { 1.}, 
00068     {-0.593, 1.},
00069     {-0.277, 0.492, 1.},
00070     {-0.201, 0.443, 0.100, 1.},
00071     { 0.017,-0.102, 0.088,-0.079, 1.},
00072     {-0.157, 0.112, 0.031,-0.018, 0.230, 1.},
00073     { 1.}, 
00074     {-0.593, 1.},
00075     {-0.277, 0.492, 1.},
00076     {-0.201, 0.443, 0.100, 1.},
00077     { 0.017,-0.102, 0.088,-0.079, 1.},
00078     {-0.157, 0.112, 0.031,-0.018, 0.230, 1.}};
00079 }
00080 
00081 #endif

Generated on Tue Jun 9 17:47:04 2009 for CMSSW by  doxygen 1.5.4