Changeset 5143 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 09/28/04 12:25:50 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r5035 r5143 306 306 MBadPixelsTreat treat; 307 307 308 MHCamEvent evt0("PedestalFLG"); 309 MHCamEvent evt1("Extra'd"); 310 MHCamEvent evt2("PedPhot"); 311 MHCamEvent evt3("Interp'd"); 312 MHCamEvent evt4("Unsuitable"); 313 MHCamEvent evt5("Times"); 314 evt0.SetType(0); 315 evt1.SetType(0); 316 evt2.SetType(0); 317 evt3.SetType(0); 318 evt4.SetType(2); 319 evt5.SetType(0); 308 MHCamEvent evt0(0, "PedestalFLG", "Pedestal from Lo Gain;;P [fadc/sl]"); 309 MHCamEvent evt1(0, "Extra'd", "Extracted Signal;;S [fadc/sl]"); 310 MHCamEvent evt2(0, "PedPhot", "Calibrated Pedestal;;P [\\gamma]"); 311 MHCamEvent evt3(1, "PedRMS", "Calibrated Pedestal RMS;;\\sigma_{p} [\\gamma]"); 312 MHCamEvent evt4(0, "Interp'd", "Interpolated Signal;;S [\\gamma]"); 313 MHCamEvent evt5(2, "Unsuitable", "Unsuitable event ratio;;%"); 314 MHCamEvent evt6(0, "Times", "Arrival Time;;T [slice]"); 315 320 316 MFillH fill0(&evt0, "MPedestalCam", "FillPedestalFLG"); 321 317 MFillH fill1(&evt1, "MExtractedSignalCam", "FillExtracted"); 322 318 MFillH fill2(&evt2, "MPedPhotCam", "FillPedPhot"); 323 MFillH fill3(&evt3, "MCerPhotEvt", "FillInterpolated"); 324 MFillH fill4(&evt4, "MBadPixelsCam", "FillUnsuitable"); 325 MFillH fill5(&evt5, "MArrivalTime", "FillTimes"); 319 MFillH fill3(&evt3, "MPedPhotCam", "FillPedRMS"); 320 MFillH fill4(&evt4, "MCerPhotEvt", "FillInterpolated"); 321 MFillH fill5(&evt5, "MBadPixelsCam", "FillUnsuitable"); 322 MFillH fill6(&evt6, "MArrivalTime", "FillTimes"); 326 323 327 324 MWriteRootFile write(2, Form("%s{s/_D_/_Y_}", fPathOut.Data()), fOverwrite); … … 386 383 tlist2.AddToList(&fill4); 387 384 tlist2.AddToList(&fill5); 385 tlist2.AddToList(&fill6); 388 386 389 387 // Setup List for Drive-tree -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r5067 r5143 169 169 MGeomApply apply; // Only necessary to craete geometry 170 170 MEventRateCalc rate; 171 MEventRateCalc rate1; // 5min 172 rate.SetNumEvents(1200); 173 rate1.SetNumEvents(60000); 174 rate1.SetNameEventRate("MEventRate2"); 175 rate1.SetNameTimeRate("MTimeRate2"); 171 176 /* 172 177 MEventRateCalc rate10000; … … 179 184 180 185 // ------------------ Setup histograms and fill tasks ---------------- 181 MHCamEvent evt0("Cleaned" );186 MHCamEvent evt0("Cleaned", "Signal after Cleaning;;S [\\gamma]"); 182 187 evt0.SetType(0); 183 188 184 189 MH3 h1("MEventRate.fRate"); 185 190 h1.SetName("MHEventRate"); 191 h1.SetTitle("Event Rate distribution;R [Hz];Counts"); 186 192 h1.SetLogy(); 187 193 /* … … 194 200 plist.AddToList(&b1); 195 201 196 MFillH fill0(&evt0, "MCerPhotEvt", "FillCerPhotEvt"); 202 MHVsTime hvs("MEventRate.fRate"); 203 hvs.SetTitle("Rate per 500 events;R [Hz];Counts"); 204 hvs.SetNumEvents(500); 205 206 MContinue cont1("MEventRate2.fRate/MEventRate.fRate>1.1"); 207 MContinue cont2("MEventRate.fRate/MEventRate2.fRate>1.1"); 208 209 MFillH fillvs(&hvs, "MTime", "FillEventRate10s"); 210 211 MFillH fill0(&evt0, "MCerPhotEvt", "FillCerPhotEvt"); 197 212 MFillH fill1("MHHillas", "MHillas", "FillHillas"); 198 213 MFillH fill2("MHHillasExt", "", "FillHillasExt"); … … 257 272 tlist2.AddToList(&cont); 258 273 tlist2.AddToList(&rate); 259 //tlist2.AddToList(&rate10000); 274 tlist2.AddToList(&rate1); 275 tlist2.AddToList(&fillvs); 276 tlist2.AddToList(&cont1); 277 tlist2.AddToList(&cont2); 260 278 tlist2.AddToList(&fill8); 261 279 tlist2.AddToList(&fill9);
Note:
See TracChangeset
for help on using the changeset viewer.