Changeset 8964
- Timestamp:
- 06/16/08 01:49:34 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8962 r8964 74 74 - UpdatePSHeader not long needed in root >=5.12 75 75 - reorganized header file 76 - Changed backround color to white (_not_ kWhite) 77 - made a sunken border around the canvas 78 79 * mreport/MReportCC.[h,cc]: 80 - removed obsolete fRecTemp 81 - call Copy() in the correct direction 82 83 * mreport/MReportFileRead.[h,cc]: 84 - use a C++ cast instead of a C-cast 85 - add containers to parameter list _before_ calling SetupReading 86 - removed some obsolete comments in the header 87 88 * mjobs/MJStar.cc: 89 - we need to read the new "Rec" tree 90 - and we need to fill from the Rec _and_ CC tree (could give a bias 91 if the rate on both trees would once be identical anymore) 92 93 * mhist/MHCamEvent.cc: 94 - allocate fSum in constructor to allow filling from two different 95 tasks 76 96 77 97 -
trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
r8423 r8964 94 94 { 95 95 Init(name, title); 96 97 fSum = new MHCamera; 96 98 } 97 99 … … 105 107 { 106 108 Init(name, title); 109 110 fSum = new MHCamera; 107 111 } 108 112 … … 144 148 } 145 149 146 // Delete a possible old histogram from a previous loop147 if (fSum)148 delete (fSum);149 150 150 // combine name 151 151 const TString name = fNameEvt.IsNull() ? fName : fNameEvt; 152 152 153 // create and setup MHCamera 154 fSum = new MHCamera(*cam, name+";avg"); 153 fSum->Reset(); 154 fSum->SetGeometry(*cam, name+";avg"); 155 155 156 if (fTitle!=gsDefTitle) 156 157 fSum->SetTitle(fTitle); -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r8940 r8964 187 187 readreal.AddTree("Currents", MReadReports::kRequired); 188 188 readreal.AddTree("CC"); 189 readreal.AddTree("Rec"); 189 190 readreal.AddTree("Trigger"); 190 191 readreal.AddTree("Pyrometer"); … … 263 264 fsum.DenySumTrigger(); 264 265 fsum.AllowTriggerLvl1(); 266 //fsum.RequireTriggerLvl1(); 265 267 fill9.SetFilter(&fsum); 266 268 … … 481 483 482 484 // instantiate camera histogram containers 483 MHCamEvent evtdt(0, "DT", "Discriminator Threshold;;DT [au]"); 485 MHCamEvent evtdt(0, "Thresholds", "Average Discriminator Thresholds;;DT [au]"); 486 plist.AddToList(&evtdt); 484 487 485 488 // instantiate fill tasks 486 MFillH filldt(&evtdt, "MCameraTH", "FillDT"); 489 MFillH filldt1("Thresholds", "MCameraTH", "FillDT-CC"); 490 MFillH filldt2("Thresholds", "MCameraTH", "FillDT-Rec"); 491 filldt1.SetNameTab("DT"); 492 filldt2.SetBit(MFillH::kDoNotDisplay); 493 filldt2.SetBit(MFillH::kCanSkip); 487 494 488 495 MHSectorVsTime histipr; … … 515 522 tlist.AddToList(&filldc, "Currents"); 516 523 tlist.AddToList(&fillipr, "Trigger"); 517 tlist.AddToList(&filldt, "CC"); 524 tlist.AddToList(&filldt1, "CC"); // Old files: Receiver information in CC-Tree (Mars<=2.0) 525 tlist.AddToList(&filldt2, "Rec"); // New files: Receiver information in Rec-Tree (Mars >2.0) 518 526 } 519 527 if (!HasNullOut())
Note:
See TracChangeset
for help on using the changeset viewer.