Ignore:
Timestamp:
06/23/03 11:19:04 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawEvtData.cc

    r2200 r2207  
    6464#include "MArrayS.h"
    6565#include "MArrayB.h"
     66#include "MGeomCam.h"
    6667#include "MRawRunHeader.h"
    6768#include "MRawEvtPixelIter.h"
     
    472473}
    473474
    474 Bool_t MRawEvtData::GetPixelContent(Float_t &val, Int_t idx, Float_t ratio, Int_t type) const
     475Bool_t MRawEvtData::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const
    475476{
    476477    MRawEvtPixelIter Next(const_cast<MRawEvtData*>(this));
     
    478479        return kFALSE;
    479480
    480     val = Next.GetSumHiGainSamples();
     481    val = Next.GetSumHiGainSamples()-(float)GetNumHiGainSamples()*fHiGainFadcSamples->GetArray()[0];
     482    val *= cam.GetPixRatio(idx);
     483
    481484    return kTRUE;
    482485}
Note: See TracChangeset for help on using the changeset viewer.