Changeset 700 for trunk/MagicSoft


Ignore:
Timestamp:
03/22/01 12:57:54 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 added
3 edited

Legend:

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

    r698 r700  
    1818    // that you don't choos a wrong geometry by chance
    1919    //
    20     MGeomCamMagic camct1;
    21     plist->AddToList(&camct1);
     20    MGeomCamCT1 geomcam;
     21    plist->AddToList(&geomcam);
    2222
    2323    //
     
    3737    //  4) fill the hillas into the histograms
    3838    //
    39     MCT1ReadAscii readct1("CT1_99_on1.dat") ;
     39    MCT1ReadAscii read("CT1_99_on1.dat") ;
    4040    MImgCleanStd  clean;
    4141    MHillasCalc   hcalc;
    4242    MFillHHillas  hfill;
    4343
    44     tlist.AddToList(&readct1);
     44    tlist.AddToList(&read);
    4545    tlist.AddToList(&clean);
    4646    tlist.AddToList(&hcalc);
  • trunk/MagicSoft/Mars/macros/readCT1.C

    r698 r700  
    33    MParList plist;
    44
    5     MGeomCamCT1 camct1;
     5    MGeomCamCT1 geomcam;
    66    MHillas     hillas;
    77    MTaskList   tlist;
    88
    9     plist->AddToList(&camct1);
     9    plist->AddToList(&geomcam);
    1010    plist->AddToList(&hillas);
    1111    plist->AddToList(&tlist);
    1212
    13     MCT1ReadAscii readct1("CT1_99_on1.dat") ;
     13    MCT1ReadAscii read("CT1_99_on1.dat") ;
    1414    MImgCleanStd  clean;
    1515    MHillasCalc   hcalc;
    1616
    17     tlist.AddToList(&readct1);
     17    tlist.AddToList(&read);
    1818    tlist.AddToList(&clean);
    1919    tlist.AddToList(&hcalc);
     
    2828
    2929    Int_t icount = 0 ;
    30     MCamDisplay display(&camct1) ;
     30    MCamDisplay display(&geomcam) ;
    3131
    32     while (readct1.Process())
     32    while (read.Process())
    3333    {
    3434        cout << "Event: " << icount++  << endl  ;
  • trunk/MagicSoft/Mars/mgui/MGeomCamCT1.cc

    r699 r700  
    7575                                  diameter);
    7676
    77         cout << pixnum << " " << ring << endl;
    78 
    7977        for (int i=0; i<ring; i++)
    8078            (*this)[pixnum++].Set((-ring-i)*0.5*diameter,
Note: See TracChangeset for help on using the changeset viewer.