Ignore:
Timestamp:
07/07/03 16:22:51 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/CT1collarea.C

    r2261 r2268  
    2424\* ======================================================================== */
    2525
     26#include "/home/magic/Mars/mhistmc/MHMcCT1CollectionArea.h"
    2627
    2728void CT1collarea(TString filename="MC_SC4.root", TString outname="")
    2829{
     30
    2931    //
    3032    // first we have to create our empty lists
     
    4749    MBinning binsx("BinningE");
    4850
    49     //    binsx.SetEdges(30,2.,5.);
    50     //    Double_t xedge[10] =
    51     //    {2.50515, 2.69897, 2.89763, 3.09691, 3.30103, 3.49969, 3.69984, 3.89982, 4.10003, 4.29994};
    52 
    53 
     51    /*
    5452    Double_t xedge[15] = {2.47712, 2.64345, 2.82607, 3., 3.17609, 3.35218, 3.52892, 3.70415, 3.88024, 4.05652, 4.23274, 4.40875, 4.58478, 4.76080, 4.90309};
    55 
    5653    const TArrayD xed;
    5754    xed.Set(15,xedge);
    5855    binsx.SetEdges(xed);
     56    collarea->SetEaxis(kLog10Energy);
     57    */
     58
     59    //
     60    // SetEaxis tells MHMcCT1CollectionArea whether the variable to histogram
     61    // is the Energy (argument is kEnergy) or its decimal logarithm
     62    // (kLog10Energy). Of course this depends on how the energy binning is
     63    // defined via the object binsx.
     64    //
     65    binsx.SetEdgesLog(14,300,1.e5);
     66    collarea->SetEaxis(kEnergy);
     67
    5968
    6069    MBinning binsy("BinningTheta");
Note: See TracChangeset for help on using the changeset viewer.