00001 // 00002 // SiStripTemplateDefs.h (v2.1) 00003 // 00004 // V2.0 - Expand the x dimensions to accommodate strip clusters to size 10.8 00005 // V2.1 - Change to strip specific names and remove un-necessary definitions 00006 // 00007 // Created by Morris Swartz on 10/11/10. 00008 // Copyright 2010 __TheJohnsHopkinsUniversity__. All rights reserved. 00009 // 00010 // 00011 00012 // Define template buffer size parameters 00013 00014 #ifndef SiStripTemplateDefs_h 00015 #define SiStripTemplateDefs_h 1 00016 00017 // Switch to use boost multiarrays to store the template entries (instead of plain c arrays). 00018 // It adds real time re-sizing and bounds checking at a cost in time (10%?). 00019 00020 //#define SI_STRIP_TEMPLATE_USE_BOOST 1 00021 00022 #define TSXSIZE 17 00023 #define TSHX 8 // = TSXSIZE/2 00024 #define TSHXP1 TSHX+1 00025 #define BSXSIZE TSXSIZE+4 00026 #define BSHX 10 // = BSXSIZE/2 00027 #define BSXM1 TSXSIZE+3 00028 #define BSXM2 TSXSIZE+2 00029 #define BSXM3 TSXSIZE+1 00030 00031 #endif