19 #ifndef STETOFCONSTANTS_H
20 #define STETOFCONSTANTS_H
26 const int nSectors = 12;
27 const int nPlanes = 3;
28 const int nModules = nSectors * nPlanes;
29 const int nCounters = 3;
30 const int nStrips = 32;
33 const int sectorStart = 13;
34 const int sectorStop = 24;
35 const int zPlaneStart = 1;
36 const int zPlaneStop = 3;
37 const int counterStart = 1;
38 const int counterStop = 3;
39 const int stripStart = 1;
40 const int stripStop = 32;
41 const int sideStart = 1;
42 const int sideStop = 2;
44 const float firstStripCenter = -15.5;
45 const float stripPitch = 1.0;
46 const float stripLength = 27.0;
48 const float zplanes[ 3 ] = { 209.0 - 489.01, 209.0 - 501.01, 209.0 - 513.01 };
51 const int nCountersPerSector = nCounters * nPlanes;
52 const int nCountersInSystem = nCountersPerSector * nSectors;
55 const int nChannelsPerCounter = nStrips * nSides;
56 const int nChannelsPerModule = nChannelsPerCounter * nCounters;
57 const int nChannelsPerSector = nChannelsPerModule * nPlanes;
58 const int nChannelsInSystem = nChannelsPerSector * nSectors;
60 const int nGet4sInSystem = nChannelsInSystem / 4;
63 const double coarseClockCycle = 6.25;
64 const double bTofClockCycle = 51200.;
68 const int daqMessageSize = 8;