Changeset 1800 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 02/27/03 14:56:53 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc
r1783 r1800 330 330 331 331 // 332 // Add the histograms to the paramater list. 332 // Set for each MHMcRate object the trigger condition number in the 333 // camera file (for the case of camera files with several conditions, 334 // produced with the trigger_loop option. 335 // 336 337 if (dim < 0) 338 ((MHMcRate*)(hists[0]))->SetTriggerCondNum((Short_t)(-dim)); 339 else if (dim > 0) 340 for (Short_t i = from ; i <= to; i++) 341 ((MHMcRate*)(hists[i-1]))->SetTriggerCondNum(i); 342 343 // 344 // Add the histograms to the parameter list. 333 345 // 334 346 plist.AddToList(&hists); … … 353 365 354 366 // We calculate only shower rate (not including NSB-only triggers) 355 Float_t* BgR = new Float_t[ dim];367 Float_t* BgR = new Float_t[num]; 356 368 memset(BgR, 0, num*sizeof(Float_t)); 357 369
Note:
See TracChangeset
for help on using the changeset viewer.