CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelTemplateDefs.h
Go to the documentation of this file.
1 //
2 // SiPixelTemplateDefs.h (v1.10)
3 //
4 // Created by Morris Swartz on 12/01/09.
5 // 2009 __TheJohnsHopkinsUniversity__.
6 //
7 //
8 
9 // Define template buffer size parameters
10 
11 #ifndef SiPixelTemplateDefs_h
12 #define SiPixelTemplateDefs_h 1
13 
14 // Switch to use boost multiarrays to store the template entries (instead of plain c arrays).
15 // It adds real time re-sizing and bounds checking at a cost in time (10%?).
16 
17 //#define SI_PIXEL_TEMPLATE_USE_BOOST 1
18 
19 #define TYSIZE 21
20 #define THY 10 // = TYSIZE/2
21 #define THYP1 THY+1
22 #define TYTEN 210 // = 10*TYSIZE
23 #define BYSIZE TYSIZE+4
24 #define BHY 12 // = BYSIZE/2
25 #define BYM1 TYSIZE+3
26 #define BYM2 TYSIZE+2
27 #define BYM3 TYSIZE+1
28 #define TXSIZE 13
29 #define THX 6 // = TXSIZE/2
30 #define THXP1 THX+1
31 #define BXSIZE TXSIZE+4
32 #define BHX 8 // = BXSIZE/2
33 #define BXM1 TXSIZE+3
34 #define BXM2 TXSIZE+2
35 #define BXM3 TXSIZE+1
36 #define T2YSIZE 13
37 #define T2XSIZE 7
38 #define T2HY 6 // = T2YSIZE/2
39 #define T2HX 3 // = T2XSIZE/2
40 
41 #endif