- Timestamp:
- 10/17/03 20:56:53 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/include-MTrigger/MTrigger.cxx
r2373 r2393 262 262 GenElec = new TRandom() ; 263 263 264 GenElec->SetSeed(0); 265 264 266 // 265 267 // Read in the lookup table for NN trigger … … 885 887 <<endl; 886 888 887 for (i=0;i< (UInt_t)(TRIGGER_TIME_SLICES*1001);i++){889 for (i=0;i<TRIGGER_TIME_SLICES*1001;i++){ 888 890 noise[i]=GenElec->Gaus(0., rausch ); 889 891 } … … 1030 1032 fclose (unit) ; 1031 1033 1032 for (int i=0;i<CAMERA_PIXELS;i++) 1034 for (int i=0;i<CAMERA_PIXELS;i++){ 1033 1035 thres[i]=thres_aux[i]; 1034 } 1036 } 1037 } 1038 1035 1039 } 1036 1040 … … 1138 1142 for ( i=0 ; i < pixnum; i++ ) { 1139 1143 if ( used [i] == TRUE ) { 1140 1144 1141 1145 for ( ii=1 ; ii<TRIGGER_TIME_SLICES; ii++ ) { 1142 1146 // … … 1144 1148 // form low to big signals 1145 1149 // 1146 1147 1150 if ( a_sig[i][ii-1] < chan_thres[i] && 1148 1151 a_sig[i][ii] >= chan_thres[i] ) { … … 1315 1318 // 1316 1319 Int_t iReturn = 0 ; 1317 1320 1318 1321 for (Int_t iS=0; iS< TRIGGER_TIME_SLICES; iS++ ) { 1319 1322 … … 1326 1329 else SlicesZero[iS] = FALSE; 1327 1330 } 1328 1329 1331 return ( iReturn ) ; 1330 1332 }
Note:
See TracChangeset
for help on using the changeset viewer.