Changeset 4437 for trunk/MagicSoft
- Timestamp:
- 07/30/04 16:24:34 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mpisa/macros/AnalCurrents.C
r4436 r4437 90 90 Double_t val[gsNpix]; // array for managing the averaging of gsNpix 91 91 // DC values over NSteps events 92 92 93 // Initialize to 0 array val 93 94 for(Int_t i=0; i<gsNpix; i++) 94 95 val[i] = 0.0; … … 107 108 { 108 109 val[i] += dccam.GetCurrent(i); 109 if(i==27) 110 cout << "pixID #27 curr=" << dccam.GetCurrent(i) << endl; 111 //dcevt.AddPixel(i,dccam.GetCurrent(i)/geomcam.GetPixRatio(i),0); 110 112 111 if( (count%NSteps) == 0 ) 113 112 { 114 113 dcevt.AddPixel(i,val[i]/(Double_t)NSteps,0); 115 114 dcevt.GetPixelContent(val[i],i,geomcam,0); 116 //cout << "Pixel #" << i << " current=" << val[i] << endl;117 115 val[i] = 0.0; 118 116 } … … 132 130 // of last count events 133 131 if(count!=0) 134 {135 132 for(Int_t i=0; i<gsNpix; i++) 136 {137 133 dcevt.AddPixel(i,val[i]/(Double_t)count,0); 138 dcevt.GetPixelContent(val[i],i,geomcam,0);139 //cout << "Pixel #" << i << " current=" << val[i] << endl;140 }141 }142 134 143 135 cout << "Calling test_findstar function" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.