- Timestamp:
- 04/14/04 18:33:39 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimeCam.cc
r3669 r3738 182 182 for (Int_t i=0; i<npixels; i++) 183 183 { 184 (*fHiGainArray)[i] = new MHCalibrationRelTimePix; 184 (*fHiGainArray)[i] = new MHCalibrationRelTimePix("MHCalibrationRelTimePixHiGain", 185 "Relative Arrival Time High Gain Pixel"); 185 186 InitHists((*this)[i],(*fBadPixels)[i],i); 186 187 } … … 192 193 for (Int_t i=0; i<npixels; i++) 193 194 { 194 (*fLoGainArray)[i] = new MHCalibrationRelTimePix; 195 (*fLoGainArray)[i] = new MHCalibrationRelTimePix("MHCalibrationRelTimePixLoGain", 196 "Relative Arrival Time Low Gain Pixel"); 195 197 InitHists((*this)(i),(*fBadPixels)[i],i); 196 198 } … … 204 206 { 205 207 (*fAverageHiGainAreas)[j] = 206 new MHCalibrationRelTimePix("AverageHiGainArea", 207 "Average Relative Arrival Times area idx "); 208 new MHCalibrationRelTimePix("MHCalibrationRelTimeAverageAreaHiGain", 209 "Average Relative Arrival Times High Gain Area Idx "); 210 211 GetAverageHiGainArea(j).GetHGausHist()->SetTitle("Relative Arrival Times HiGain Area Idx "); 212 GetAverageHiGainArea(j).SetNbins(fAverageNbins); 208 213 209 214 InitHists(GetAverageHiGainArea(j),fCam->GetAverageBadArea(j),j); 210 211 GetAverageHiGainArea(j).GetHGausHist()->SetTitle("Relative Arrival Times average Area Idx ");212 GetAverageHiGainArea(j).SetNbins(fAverageNbins);213 215 } 214 216 } … … 221 223 { 222 224 (*fAverageLoGainAreas)[j] = 223 new MHCalibrationRelTimePix("AverageLoGainArea", 224 "Relative Arrival Times average Area idx "); 225 new MHCalibrationRelTimePix("MHCalibrationRelTimeAverageAreaLoGain", 226 "Average Relative Arrival Times Low Gain Area Idx "); 227 228 GetAverageLoGainArea(j).GetHGausHist()->SetTitle("Relative Arrival Times LoGain Area Idx "); 229 GetAverageLoGainArea(j).SetNbins(fAverageNbins); 225 230 226 231 InitHists(GetAverageLoGainArea(j),fCam->GetAverageBadArea(j),j); 227 228 GetAverageLoGainArea(j).GetHGausHist()->SetTitle("Relative Arrival Times average Area Idx ");229 GetAverageLoGainArea(j).SetNbins(fAverageNbins);230 232 } 231 233 } … … 238 240 { 239 241 (*fAverageHiGainSectors)[j] = 240 new MHCalibrationRelTimePix("AverageHiGainSector", 241 "Relative Arrival Times average sector "); 242 new MHCalibrationRelTimePix("MHCalibrationRelTimeAverageSectorHiGain", 243 "Average Relative Arrival Times High Gain Sector "); 244 245 GetAverageHiGainSector(j).GetHGausHist()->SetTitle("Relative Arrival Times HiGain Sector "); 246 GetAverageHiGainSector(j).SetNbins(fAverageNbins); 242 247 243 248 InitHists(GetAverageHiGainSector(j),fCam->GetAverageBadSector(j),j); 244 245 GetAverageHiGainSector(j).GetHGausHist()->SetTitle("Relative Arrival Times average Sector ");246 GetAverageHiGainSector(j).SetNbins(fAverageNbins);247 249 } 248 250 } … … 255 257 { 256 258 (*fAverageLoGainSectors)[j] = 257 new MHCalibrationRelTimePix("AverageLoGainSector", 258 "Relative Arrival Times average sector "); 259 new MHCalibrationRelTimePix("MHCalibrationRelTimeAverageSectorLoGain", 260 "Average Relative Arrival Times Low Gain Sector "); 261 262 GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Relative Arrival Times LoGain Sector "); 263 GetAverageLoGainSector(j).SetNbins(fAverageNbins); 259 264 260 265 InitHists(GetAverageLoGainSector(j),fCam->GetAverageBadSector(j),j); 261 266 262 GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Relative Arrival Times average Sector ");263 GetAverageLoGainSector(j).SetNbins(fAverageNbins);264 267 } 265 268 } -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3737 r3738 641 641 for (Int_t aidx=0;aidx<cam->GetAverageAreas();aidx++) 642 642 { 643 cam->GetAverageHiGainArea(aidx).DrawClone(" all");644 cam->GetAverageLoGainArea(aidx).DrawClone(" all");643 cam->GetAverageHiGainArea(aidx).DrawClone("fourierevents"); 644 cam->GetAverageLoGainArea(aidx).DrawClone("fourierevents"); 645 645 } 646 646 647 647 for (Int_t sector=1;sector<cam->GetAverageSectors();sector++) 648 648 { 649 cam->GetAverageHiGainSector(sector).DrawClone(" all");650 cam->GetAverageLoGainSector(sector).DrawClone(" all");649 cam->GetAverageHiGainSector(sector).DrawClone("fourierevents"); 650 cam->GetAverageLoGainSector(sector).DrawClone("fourierevents"); 651 651 } 652 652
Note:
See TracChangeset
for help on using the changeset viewer.