Changeset 1633 for trunk/MagicSoft


Ignore:
Timestamp:
11/18/02 11:35:20 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1632 r1633  
    22
    33 2002/11/18: Thomas Bretz
     4
     5   * macros/CT1Hillas.C:
     6     - changed MWRiteRootFile to write the histograms only
     7     - renamed HillasSource to MHillasSrc
     8
     9   * macros/MagicHillas.C:
     10     - removed all anti source stuff (corresponding to star.C)
     11     - changed MWRiteRootFile to write the histograms only
     12     - renamed HillasSource to MHillasSrc
     13
     14   * macros/estfit.C, macros/estimate.C:
     15     - renamed HillasSource to MHillasSrc
     16
     17   * multidimdist.C:
     18     - added Theta
     19     - added Alpha
     20
     21   * macros/star.C
     22     - removed wrong HillasSource
     23     - added MSrcPosCam
     24
     25   * starplot.C:
     26     - removed all anti source stuff (corresponding to star.C)
     27     - renamed HillasSource to MHillasSrc
    428
    529   * macros/multidimdist2.C:
  • trunk/MagicSoft/Mars/macros/CT1Hillas.C

    r1543 r1633  
    127127
    128128    MWriteRootFile write("hillas.root");
    129     write.AddContainer("HillasSource",  "Hillas");
    130129    write.AddContainer("MHStarMap");
    131     write.AddContainer("MMcEvt","Hillas");
    132     write.AddContainer("Source","RunHeaders");
     130    write.AddContainer("MHHillas");
     131    write.AddContainer("MHHillasExt");
     132    write.AddContainer("HistSource");
     133    write.AddContainer("HistExtSource");
    133134
    134135    tlist.AddToList(&read);
  • trunk/MagicSoft/Mars/macros/MagicHillas.C

    r1546 r1633  
    7272    // For real data the containers will be filled by a task.
    7373    //
    74     MSrcPosCam source("Source")
    75     source.SetXY(0, 0);
    76 
    77     MSrcPosCam antisrc("AntiSrc");
    78     antisrc.SetXY(240, 0);
    79 
     74    MSrcPosCam source;
     75    source.SetReadyToSave();
    8076    plist.AddToList(&source);
    81     plist.AddToList(&antisrc);
    8277
    8378    //
     
    115110    //
    116111    MHillasCalc    hcalc;
    117     MHillasSrcCalc csrc1("Source",  "HillasSource");
    118     MHillasSrcCalc csrc2("AntiSrc", "HillasAntiSrc");
     112    MHillasSrcCalc csrc1;
    119113
    120114    //
     
    127121    MFillH hfill2("MHHillasExt");
    128122    MFillH hfill3("MHStarMap", "MHillas");
    129     MFillH hfill4("HistExtSource [MHHillasExt]", "HillasSource");
    130     MFillH hfill5("HistExtAntiSrc [MHHillasExt]", "HillasAntiSrc");
    131     MFillH hfill6("HistSource [MHHillasSrc]", "HillasSource");
    132     MFillH hfill7("HistAntiSrc [MHHillasSrc]", "HillasAntiSrc");
     123    MFillH hfill4("HistExtSource [MHHillasExt]", "MHillasSrc");
     124    MFillH hfill5("HistSource [MHHillasSrc]", "MHillasSrc");
    133125
    134126    MWriteRootFile write("hillas.root");
    135     write.AddContainer("HillasSource",  "Hillas");
    136     write.AddContainer("HillasAntiSrc", "Hillas");
    137127    write.AddContainer("MHStarMap");
    138     write.AddContainer("MMcEvt","Hillas");
    139     write.AddContainer("Source","RunHeaders");
    140     write.AddContainer("AntiSrc","RunHeaders");
     128    write.AddContainer("MHHillas");
     129    write.AddContainer("MHHillasExt");
     130    write.AddContainer("HistSource");
     131    write.AddContainer("HistExtSource");
    141132
    142133    tlist.AddToList(&read);
     
    156147    tlist.AddToList(&hfill4);
    157148    tlist.AddToList(&hfill5);
    158     tlist.AddToList(&hfill6);
    159     tlist.AddToList(&hfill7);
    160149    tlist.AddToList(&write);
    161150
     
    183172    plist.FindObject("MHStarMap")->DrawClone();
    184173    plist.FindObject("HistSource")->DrawClone();
    185     plist.FindObject("HistAntiSrc")->DrawClone();
    186174    plist.FindObject("HistExtSource")->DrawClone();
    187     plist.FindObject("HistExtAntiSrc")->DrawClone();
    188175}
    189176
  • trunk/MagicSoft/Mars/macros/estfit.C

    r1574 r1633  
    178178
    179179    MEnergyEstParam eest;
    180     eest.Add("HillasSource");
     180    eest.Add("MHillasSrc");
    181181    eest.InitMapping(&matrix);
    182182
  • trunk/MagicSoft/Mars/macros/estimate.C

    r1574 r1633  
    6060
    6161    MEnergyEstParam eest;
    62     eest.Add("HillasSource");
     62    eest.Add("MHillasSrc");
    6363
    6464    TArrayD fA(5);
  • trunk/MagicSoft/Mars/macros/multidimdist.C

    r1609 r1633  
    104104    matrix.AddColumn("MHillasSrc.fDist");
    105105    matrix.AddColumn("log10(MHillas.fSize)");
     106    matrix.AddColumn("MHillasSrc.fAlpha");
     107    matrix.AddColumn("MMcEvt.fTheta");
    106108    plist.AddToList(&matrix);
    107109
  • trunk/MagicSoft/Mars/macros/star.C

    r1608 r1633  
    4848
    4949    MSrcPosCam src;
     50    src.SetReadyToSave();
    5051    plist.AddToList(&src);
    5152
     
    8990    MWriteRootFile write("data/star_protons.root");
    9091    write.AddContainer("MHillas",       "Events");
    91     write.AddContainer("HillasSource",  "Events");
    9292    write.AddContainer("MMcEvt",        "Events");
    9393    write.AddContainer("MHillasSrc",    "Events");
    9494    write.AddContainer("MRawRunHeader", "RunHeaders");
    9595    write.AddContainer("MMcRunHeader",  "RunHeaders");
     96    write.AddContainer("MSrcPosCam",    "RunHeaders");
    9697
    9798    tlist.AddToList(&read);
  • trunk/MagicSoft/Mars/macros/starplot.C

    r1543 r1633  
    8282    MFillH hfill2("MHHillasExt");
    8383    MFillH hfill3("MHStarMap", "MHillas");
    84     MFillH hfill4("HistExtSource [MHHillasExt]", "HillasSource");
    85     MFillH hfill5("HistExtAntiSource [MHHillasExt]", "HillasAntiSource");
    86     MFillH hfill6("HistSource [MHHillasSrc]", "HillasSource");
    87     MFillH hfill7("HistAntiSrc [MHHillasSrc]", "HillasAntiSrc");
     84    MFillH hfill4("HistExtSource [MHHillasExt]", "MHillasSrc");
     85    MFillH hfill5("HistSource [MHHillasSrc]", "MHillasSrc");
    8886
    8987    tlist.AddToList(&read);
     
    9391    tlist.AddToList(&hfill4);
    9492    tlist.AddToList(&hfill5);
    95     tlist.AddToList(&hfill6);
    96     tlist.AddToList(&hfill7);
    9793
    9894    //
     
    119115    plist.FindObject("MHStarMap")->DrawClone();
    120116    plist.FindObject("HistSource")->DrawClone();
    121     plist.FindObject("HistAntiSource")->DrawClone();
    122117    plist.FindObject("HistExtSource")->DrawClone();
    123     plist.FindObject("HistExtAntiSource")->DrawClone();
    124118}
    125119
Note: See TracChangeset for help on using the changeset viewer.