Changeset 2659 for trunk/MagicSoft


Ignore:
Timestamp:
12/11/03 20:33:02 (21 years ago)
Author:
raducci
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MArrivalTimeCalc.cc

    r2638 r2659  
    3737//
    3838// Output Containers:
    39 //   MArrivalTime
    40 //
     39//   //MArrivalTime
     40//   MRawEvtData
    4141//////////////////////////////////////////////////////////////////////////////
    4242
    43 #include "MArrivalTime.h"
     43//#include "MArrivalTime.h"
    4444#include "MArrivalTimeCalc.h"
    4545
     
    8282//  - MRawRunHeader
    8383//  - MRawEvtData
    84 //  - MArrivalTime
     84//  //- MArrivalTime
    8585//  - MGeomCam
    8686//
    8787// The following output containers are also searched and created if
    8888// they were not found:
    89 //  - MArrivalTime
     89//  //- MArrivalTime
     90//  - MRawEvtData
    9091//
     92
    9193Int_t MArrivalTimeCalc::PreProcess(MParList *pList)
    9294{
     
    112114    }
    113115
    114     fArrTime = (MArrivalTime*)pList->FindCreateObj(AddSerialNumber("MArrivalTime"));
     116/*    fArrTime = (MArrivalTime*)pList->FindCreateObj(AddSerialNumber("MArrivalTime"));
    115117    if (!fArrTime)
    116118        return kFALSE;
    117 
     119*/
    118120    return kTRUE;
    119121}
     
    128130    MRawEvtPixelIter pixel(fRawEvt);
    129131
    130     fArrTime->Calc((const MRawEvtData&) *fRawEvt,(const MGeomCam&) *fGeom);
     132  //fArrTime->Calc((const MRawEvtData&) *fRawEvt,(const MGeomCam&) *fGeom);
     133  //fArrTime->SetReadyToSave();
    131134
    132     fArrTime->SetReadyToSave();
    133 
     135  //while (pixel.Next()){;}
     136   
    134137    return kTRUE;
    135138}
  • trunk/MagicSoft/Mars/manalysis/MArrivalTimeCalc.h

    r2638 r2659  
    2727    MRawRunHeader  *fRunHeader;  // RunHeader information
    2828    MGeomCam       *fGeom;       // Geometry information
    29     MArrivalTime   *fArrTime;    // Container with the photons arrival times
     29//  MArrivalTime   *fArrTime;    // Container with the photons arrival times
    3030
    3131    Bool_t          fEnableFix;  // fix for a bug in files from older camera versions (<=40)
  • trunk/MagicSoft/Mars/mhist/MHEvent.cc

    r2657 r2659  
    152152        fHist->SetName("Arrival Time");
    153153        fHist->SetYTitle("t [slice id]");
     154        fHist->SetPrettyPalette();
    154155        break;
    155156    }
     
    172173    {
    173174    case kEvtSignal:
    174     case kEvtArrTime:
    175175    case kEvtPedestal:
    176176        fHist->SetCamContent(*(MCamEvent*)par, 0);
     
    191191        }
    192192        break;
     193    case kEvtArrTime:
     194        fHist->SetCamContent(*(MCamEvent*)par, 5);
     195        break;
     196   
    193197    }
    194198
  • trunk/MagicSoft/Mars/mmain/MEventDisplay.cc

    r2657 r2659  
    8181#include "MHCamera.h"            // MHCamera
    8282#include "MRawEvtData.h"         // MRawEvtData
    83 #include "MArrivalTime.h"        // MArrivalTime
     83//#include "MArrivalTime.h"        // MArrivalTime
    8484
    8585
     
    208208    MHillasSrcCalc    *scalc = new MHillasSrcCalc;
    209209    MArrivalTimeCalc  *tcalc = new MArrivalTimeCalc;
    210     MFillH            *fill7 = new MFillH(evt7, "MArrivalTime",  "MFillH7");
     210    MFillH            *fill7 = new MFillH(evt7, "MRawEvtData",  "MFillH7");
    211211
    212212
Note: See TracChangeset for help on using the changeset viewer.