00001 // Hey Emacs this is really -*-c++-*- ! 00002 // \author Piotr A. Zolnierczuk Aug 26, 2002 00003 #ifndef EEmcGeom_EEmcDefs_h 00004 #define EEmcGeom_EEmcDefs_h 00005 /********************************************************************* 00006 * $Id: EEmcGeomDefs.h,v 1.7 2007/07/12 19:30:14 fisyak Exp $ 00007 ********************************************************************* 00008 * Descripion: 00009 * STAR Endcap Electromagnetic Calorimeter Definitions (temp file) 00010 ********************************************************************* 00011 * $Log: EEmcGeomDefs.h,v $ 00012 * Revision 1.7 2007/07/12 19:30:14 fisyak 00013 * Add includes for ROOT 5.16 00014 * 00015 * Revision 1.6 2007/01/25 22:33:11 balewski 00016 * add: 00017 * - better writeup 00018 * - new simpler to use method calculating dca fo track to strip, it is just a wrapper, some approximations were used, may fail at the sector boundary 00019 * 00020 * Revision 1.5 2003/10/15 15:28:53 wzhang 00021 * updated for the new StEEmcSmdGeom 00022 * 00023 * Revision 1.4 2003/04/04 15:35:47 wzhang 00024 * added SMD constants 00025 * 00026 * Revision 1.3 2003/03/22 22:44:57 zolnie 00027 * make it standalone library 00028 * 00029 * Revision 1.2 2003/03/06 18:54:20 zolnie 00030 * improvements for track/tower matching 00031 * 00032 * Revision 1.1 2003/02/20 21:26:58 zolnie 00033 * added simple geometry class 00034 * 00035 * Revision 1.1 2003/02/20 21:15:16 zolnie 00036 * *** empty log message *** 00037 * 00038 *********************************************************************/ 00039 00040 const int kEEmcNumDepths = 5; 00041 const int kEEmcNumSectors = 12; 00042 const int kEEmcNumSubSectors = 5; 00043 const int kEEmcNumEtas = 12; 00044 const int kEEmcNumSmdPlanes = 3; 00045 const int kEEmcNumStrips =288; 00046 const int kEEmcNumEdgeStrips =283; 00047 const int kEEmcNumSmdUVs = 2; // 2 SMD layers: U and V 00048 00049 00050 const float kEEmcZPRE1=270.190; // [cm] z preshower1 00051 const float kEEmcZPRE2=271.695; // [cm] z preshower2 00052 const float kEEmcZSMD =279.542; // [cm] z location of the EEMC SMD layer 00053 const float kEEmcZPOST=306.158; // [cm] z postshower 00054 00055 // z-shift [cm] of innermost (negative) and outermost (positve) EEMC SMD plane 00056 const float kEEmcSmdZPlaneShift = 1.215; 00057 00058 // inner-shift offset of radius [cm] of EEMC SMD layers in 3 planes 00059 const float kEEmcSmdROffset[kEEmcNumSmdPlanes]={1.850,0.925,0.0}; 00060 00061 // The value of the map matrix(3x12) indicates if a EEMC SMD layer in a plane 00062 // is U=0, V=1, or void=-1 00063 #ifndef __CINT__ 00064 00065 const int kEEmcSmdMapUV[kEEmcNumSmdPlanes][kEEmcNumSectors] = 00066 {{1,0,-1,1,0,-1,1,0,-1,1,0,-1}, 00067 {-1,1,0,-1,1,0,-1,1,0,-1,1,0}, 00068 {0,-1,1,0,-1,1,0,-1,1,0,-1,1}}; 00069 00070 // The value of the map matrix(3x12) indicates if a EEMC SMD module in a plane 00071 // is an edge module 00072 const int kEEmcSmdMapEdge[kEEmcNumSmdPlanes][kEEmcNumSectors] = 00073 {{0,0,0,1,0,0,0,0,0,1,0,0}, 00074 {0,0,1,0,0,0,0,0,1,0,0,0}, 00075 {0,0,0,0,0,0,0,0,0,0,0,0}}; 00076 #else 00077 const int **kEEmcSmdMapUV; 00078 const int **kEEmcSmdMapEdge; 00079 #endif 00080 00081 const char kEEmcSmdUVChar[kEEmcNumSmdUVs] = {'U','V'}; 00082 00083 const int kEEmcSmdSectorIdPhiCrossPi = 9; 00084 00085 /* ------------------------------------------ 00086 MEGA 1 270.19 - preshower 1 00087 MEGA 2 271.695 - preshower 2 00088 MEGA 3 273.15 00089 MEGA 4 274.555 00090 MEGA 5 275.96 00091 MEGA 6 277.365 00092 ------------------ 00093 SMD 1 278.327 00094 SMD 2 279.542 00095 SMD 3 280.757 00096 ------------------ 00097 MEGA 7 282.3630 00098 MEGA 8 283.7680 00099 MEGA 9 285.1730 00100 MEGA 10 286.5780 00101 MEGA 11 287.9830 00102 MEGA 12 289.3880 00103 MEGA 13 290.7930 00104 MEGA 14 292.1980 00105 MEGA 15 293.6030 00106 MEGA 16 295.0080 00107 MEGA 17 296.4130 00108 MEGA 18 297.8180 00109 MEGA 19 299.2230 00110 MEGA 20 300.6280 00111 MEGA 21 302.0330 00112 MEGA 22 303.4380 00113 MEGA 23 304.8430 00114 MEGA 24 306.1580 - postshower 00115 ------------------------------------------*/ 00116 #endif
1.5.9