Changeset 2207 for trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
- Timestamp:
- 06/23/03 11:19:04 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r2200 r2207 64 64 #include "MArrayS.h" 65 65 #include "MArrayB.h" 66 #include "MGeomCam.h" 66 67 #include "MRawRunHeader.h" 67 68 #include "MRawEvtPixelIter.h" … … 472 473 } 473 474 474 Bool_t MRawEvtData::GetPixelContent( Float_t &val, Int_t idx, Float_t ratio, Int_t type) const475 Bool_t MRawEvtData::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const 475 476 { 476 477 MRawEvtPixelIter Next(const_cast<MRawEvtData*>(this)); … … 478 479 return kFALSE; 479 480 480 val = Next.GetSumHiGainSamples(); 481 val = Next.GetSumHiGainSamples()-(float)GetNumHiGainSamples()*fHiGainFadcSamples->GetArray()[0]; 482 val *= cam.GetPixRatio(idx); 483 481 484 return kTRUE; 482 485 }
Note:
See TracChangeset
for help on using the changeset viewer.