Changeset 3180 for trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
- Timestamp:
- 02/16/04 10:58:17 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
r3174 r3180 408 408 409 409 Float_t abstime = 0.; 410 #if 0 411 Float_t reltime = 0.; 412 413 if (TESTBIT(fFlags,kUseTimes)) 414 { 415 416 // 417 // Have a look in MArrivalTime, 418 // otherwise search the position of maximum bin 419 // in MRawEvtData 420 // 421 if (fArrivalTime) 422 { 423 abstime = (*fArrivalTime)[pixid]; 424 reltime = abstime - (*fArrivalTime)[1]; 425 } 426 427 else 428 { 429 if (pixid == 1) 430 referencetime = (Float_t)pixel.GetIdxMaxHiGainSample(); 431 if (sig.IsLoGainUsed()) 432 { 433 abstime = (Float_t)pixel.GetIdxMaxLoGainSample(); 434 // reltime = abstime - referencetime; 435 } 436 else 437 { 438 abstime = (Float_t)pixel.GetIdxMaxHiGainSample(); 439 // reltime = abstime - referencetime; 440 } 441 // } 442 // } /* if Use Times */ 443 444 #endif 410 if (sig.IsLoGainUsed()) 411 abstime = (Float_t)pixel.GetIdxMaxLoGainSample(); 412 else 413 abstime = (Float_t)pixel.GetIdxMaxHiGainSample(); 414 445 415 switch(pixid) 446 416 {
Note:
See TracChangeset
for help on using the changeset viewer.