- Timestamp:
- 03/19/01 19:31:34 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.cxx
r677 r692 78 78 79 79 for ( i =0 ; i <CAMERA_PIXELS ; i++ ) { 80 pedestal[i] = 0 ;80 pedestal[i] = 0.0 ; 81 81 } 82 82 … … 153 153 154 154 for ( i =0 ; i <CAMERA_PIXELS ; i++ ) { 155 pedestal[i] = 0 ;155 pedestal[i] = 0.0 ; 156 156 } 157 157 … … 327 327 328 328 for(i=0;i<CAMERA_PIXELS;i++){ 329 pedestal[i]= ( UChar_t)(ped* GenElec->Rndm());330 } 331 } 332 333 void MFadc::SetPedestals( UChar_t ped[CAMERA_PIXELS]) {329 pedestal[i]= (Float_t)(ped* GenElec->Rndm()); 330 } 331 } 332 333 void MFadc::SetPedestals( Float_t ped[CAMERA_PIXELS]) { 334 334 // It sets pedestal for each pixel from ped array 335 335 … … 525 525 } 526 526 527 void MFadc::GetPedestals( UChar_t *offset) {527 void MFadc::GetPedestals( Float_t *offset) { 528 528 // ============================================================ 529 529 // 530 // puts the standard response function into the array resp530 // puts the pedestal values into the array offset 531 531 532 532 for ( Int_t i=0; i< CAMERA_PIXELS; i++ ) {
Note:
See TracChangeset
for help on using the changeset viewer.