Ignore:
Timestamp:
02/17/05 17:09:00 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
4 edited

Legend:

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

    r4838 r6569  
    420420    *fLog << warn << "MCameraData::DrawPixelContent - not available." << endl;
    421421}
     422
     423void MCameraData::Print(Option_t *o) const
     424{
     425    MParContainer::Print(o);
     426    *fLog << "Size = " << fData.GetSize() << endl;
     427    for (int i=0; i<fData.GetSize(); i++)
     428        cout << i << ": " << fData[i] << endl;
     429}
  • trunk/MagicSoft/Mars/manalysis/MCameraData.h

    r4838 r6569  
    5252    Double_t operator[](int i) { return fData[i]; }
    5353
     54    void Print(Option_t *o="") const;
     55
    5456    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    5557    void DrawPixelContent(Int_t num) const;
  • trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.cc

    r3538 r6569  
    3131//
    3232//  Input Containers:
    33 //   MRawEvtData, MPedPhotCam
     33//   MRawEvtData, MPedestalCam
    3434//
    3535//  Output Containers:
     
    4848#include "MRawEvtData.h"       // MRawEvtData::GetNumPixels
    4949#include "MCerPhotEvt.h"
    50 #include "MPedPhotPix.h"
    51 #include "MPedPhotCam.h"
     50#include "MPedestalPix.h"
     51#include "MPedestalCam.h"
    5252#include "MRawEvtPixelIter.h"
    5353
     
    7878//  - MRawRunHeader
    7979//  - MRawEvtData
    80 //  - MPedPhotCam
     80//  - MPestalCam
    8181//
    8282// The following output containers are also searched and created if
     
    124124    }
    125125
    126     fPedestals = (MPedPhotCam*)pList->FindCreateObj("MPedPhotCam");
     126    fPedestals = (MPedestalCam*)pList->FindCreateObj("MPedestalCam");
    127127    if (runheader && !fPedestals)
    128128        return kFALSE;
     
    263263
    264264        Int_t idx = pixel.GetPixelId();
    265         fCerPhotEvt->AddPixel(idx, s, sigs);
     265//        fCerPhotEvt->AddPixel(idx, s, sigs);
    266266
    267267        // Preliminary: Do not overwrite pedestals calculated by
     
    271271    }
    272272
    273     fCerPhotEvt->FixSize();
    274     fCerPhotEvt->SetReadyToSave();
     273//    fCerPhotEvt->FixSize();
     274//    fCerPhotEvt->SetReadyToSave();
    275275
    276276    if (fPedestals)
  • trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.h

    r3389 r6569  
    1616
    1717class MRawEvtData;
    18 class MPedPhotCam;
     18class MPedestalCam;
    1919class MCerPhotEvt;
    2020class MRawRunHeader;
     
    2323{
    2424private:
    25     MPedPhotCam   *fPedestals;  // Pedestals of all pixels in the camera
     25    MPedestalCam  *fPedestals;  // Pedestals of all pixels in the camera
    2626    MRawEvtData   *fRawEvt;     // raw event data (time slices)
    2727    MCerPhotEvt   *fCerPhotEvt; // Cerenkov Photon Event used for calculation
Note: See TracChangeset for help on using the changeset viewer.