CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/RecoLocalTracker/SiPixelRecHits/interface/SiPixelTemplateDefs.h

Go to the documentation of this file.
00001 //
00002 //  SiPixelTemplateDefs.h (v1.10)
00003 //
00004 // Created by Morris Swartz on 12/01/09.
00005 // Copyright 2009 __TheJohnsHopkinsUniversity__. All rights reserved.
00006 //
00007 //
00008  
00009 // Define template buffer size parameters 
00010 
00011 #ifndef SiPixelTemplateDefs_h
00012 #define SiPixelTemplateDefs_h 1
00013 
00014 // Switch to use boost multiarrays to store the template entries (instead of plain c arrays).  
00015 // It adds real time re-sizing and bounds checking at a cost in time (10%?).
00016 
00017 //#define SI_PIXEL_TEMPLATE_USE_BOOST 1
00018 
00019 #define TYSIZE 21
00020 #define THY 10 // = TYSIZE/2
00021 #define THYP1 THY+1
00022 #define TYTEN 210 // = 10*TYSIZE
00023 #define BYSIZE TYSIZE+4
00024 #define BHY 12 // = BYSIZE/2
00025 #define BYM1 TYSIZE+3
00026 #define BYM2 TYSIZE+2
00027 #define BYM3 TYSIZE+1
00028 #define TXSIZE 13
00029 #define THX 6 // = TXSIZE/2
00030 #define THXP1 THX+1
00031 #define BXSIZE TXSIZE+4
00032 #define BHX 8 // = BXSIZE/2
00033 #define BXM1 TXSIZE+3
00034 #define BXM2 TXSIZE+2
00035 #define BXM3 TXSIZE+1
00036 #define T2YSIZE 13
00037 #define T2XSIZE 7
00038 #define T2HY 6  // = T2YSIZE/2
00039 #define T2HX 3  // = T2XSIZE/2
00040 
00041 #endif