CMS 3D CMS Logo

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