Changeset 8964


Ignore:
Timestamp:
06/16/08 01:49:34 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8962 r8964  
    7474     - UpdatePSHeader not long needed in root >=5.12
    7575     - 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
    7696
    7797
  • trunk/MagicSoft/Mars/mhist/MHCamEvent.cc

    r8423 r8964  
    9494{
    9595    Init(name, title);
     96
     97    fSum = new MHCamera;
    9698}
    9799
     
    105107{
    106108    Init(name, title);
     109
     110    fSum = new MHCamera;
    107111}
    108112
     
    144148    }
    145149
    146     // Delete a possible old histogram from a previous loop
    147     if (fSum)
    148         delete (fSum);
    149 
    150150    // combine name
    151151    const TString name = fNameEvt.IsNull() ? fName : fNameEvt;
    152152
    153     // create and setup MHCamera
    154     fSum = new MHCamera(*cam, name+";avg");
     153    fSum->Reset();
     154    fSum->SetGeometry(*cam, name+";avg");
     155
    155156    if (fTitle!=gsDefTitle)
    156157        fSum->SetTitle(fTitle);
  • trunk/MagicSoft/Mars/mjobs/MJStar.cc

    r8940 r8964  
    187187    readreal.AddTree("Currents",         MReadReports::kRequired);
    188188    readreal.AddTree("CC");
     189    readreal.AddTree("Rec");
    189190    readreal.AddTree("Trigger");
    190191    readreal.AddTree("Pyrometer");
     
    263264    fsum.DenySumTrigger();
    264265    fsum.AllowTriggerLvl1();
     266    //fsum.RequireTriggerLvl1();
    265267    fill9.SetFilter(&fsum);
    266268
     
    481483
    482484    // 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);
    484487
    485488    // 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);
    487494
    488495    MHSectorVsTime histipr;
     
    515522        tlist.AddToList(&filldc,  "Currents");
    516523        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)
    518526    }
    519527    if (!HasNullOut())
Note: See TracChangeset for help on using the changeset viewer.