Changeset 4277 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 06/04/04 11:50:59 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHPedestalCam.cc
r3778 r4277 111 111 #include "MCalibrationPedCam.h" 112 112 113 #include "TH1.h" 114 113 115 ClassImp(MHPedestalCam); 114 116 … … 121 123 // - fExtractHiGainSlices to 0. 122 124 // - fExtractLoGainSlices to 0. 125 // - the event frequency to 1200 Hz. 123 126 // 124 127 MHPedestalCam::MHPedestalCam(const char *name, const char *title) … … 128 131 fTitle = title ? title : ""; 129 132 133 SetPulserFrequency(1200); 130 134 } 131 135 … … 267 271 "Average Pedestals area idx "); 268 272 269 InitPedHists((MHPedestalPix&)GetAverageHiGainArea(j),j,fExtractHiGainSlices);270 271 273 GetAverageHiGainArea(j).GetHGausHist()->SetTitle("Pedestals average Area Idx "); 272 274 GetAverageHiGainArea(j).SetNbins(fAverageNbins); 275 276 InitPedHists((MHPedestalPix&)GetAverageHiGainArea(j),j,fExtractHiGainSlices); 277 273 278 } 274 279 } … … 284 289 "Pedestals average Area idx "); 285 290 286 InitPedHists((MHPedestalPix&)GetAverageLoGainArea(j),j,fExtractLoGainSlices);287 288 291 GetAverageLoGainArea(j).GetHGausHist()->SetTitle("Pedestals average Area Idx "); 289 292 GetAverageLoGainArea(j).SetNbins(fAverageNbins); 293 294 InitPedHists((MHPedestalPix&)GetAverageLoGainArea(j),j,fExtractLoGainSlices); 295 290 296 } 291 297 } … … 301 307 "Pedestals average sector "); 302 308 303 InitPedHists((MHPedestalPix&)GetAverageHiGainSector(j),j,fExtractHiGainSlices);304 305 309 GetAverageHiGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector "); 306 310 GetAverageHiGainSector(j).SetNbins(fAverageNbins); 311 312 InitPedHists((MHPedestalPix&)GetAverageHiGainSector(j),j,fExtractHiGainSlices); 313 307 314 } 308 315 } … … 318 325 "Pedestals average sector "); 319 326 327 GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector "); 328 GetAverageLoGainSector(j).SetNbins(fAverageNbins); 329 320 330 InitPedHists((MHPedestalPix&)GetAverageLoGainSector(j),j,fExtractLoGainSlices); 321 331 322 GetAverageLoGainSector(j).GetHGausHist()->SetTitle("Pedestals average Sector ");323 GetAverageLoGainSector(j).SetNbins(fAverageNbins);324 332 } 325 333 } … … 347 355 hist.SetNSlices(nslices); 348 356 hist.SetProbLimit(0.); 349 } 350 351 352 357 358 TH1F *h = hist.GetHGausHist(); 359 h->SetTitle( Form("%s%s", h->GetTitle()," Runs: ")); 360 } 353 361 // ------------------------------------------------------------------------------- 354 362 // -
trunk/MagicSoft/Mars/manalysis/MHPedestalPix.cc
r3770 r4277 71 71 // Initializes: 72 72 // - fNSlices to 1 73 // - fProbLimit to 0.01 73 74 // 74 75 MHPedestalPix::MHPedestalPix(const char *name, const char *title) … … 82 83 SetFirst( fgChargeFirst ); 83 84 SetLast( fgChargeLast ); 85 86 SetProbLimit(0.01); 84 87 85 88 // Create a large number of bins, later we will rebin … … 111 114 if (fNSlices <= 0) 112 115 return; 113 116 114 117 const Float_t sqslices = TMath::Sqrt(fNSlices); 115 118
Note:
See TracChangeset
for help on using the changeset viewer.