Ignore:
Timestamp:
02/18/04 16:40:50 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3202 r3231  
    5858
    5959    fArray = new TClonesArray("MPedestalPix", 1);
    60    
    6160}
    6261
     
    6766MPedestalCam::~MPedestalCam()
    6867{
    69   delete fArray;
     68    delete fArray;
    7069}
    7170
     
    8685// Get the size of the MPedestalCam
    8786//
    88 UInt_t MPedestalCam::GetSize() const
    89 {
    90   return fArray->GetEntriesFast();
     87Int_t MPedestalCam::GetSize() const
     88{
     89    return fArray->GetEntriesFast();
    9190}
    9291
     
    9796MPedestalPix &MPedestalCam::operator[](Int_t i)
    9897{
    99   return *static_cast<MPedestalPix*>(fArray->UncheckedAt(i));
     98    return *static_cast<MPedestalPix*>(fArray->UncheckedAt(i));
    10099}
    101100
     
    106105const MPedestalPix &MPedestalCam::operator[](Int_t i) const
    107106{
    108   return *static_cast<MPedestalPix*>(fArray->UncheckedAt(i));
     107    return *static_cast<MPedestalPix*>(fArray->UncheckedAt(i));
    109108}
    110109
     
    113112void MPedestalCam::Clear(Option_t *o)
    114113{
    115 
    116114    fArray->ForEach(TObject, Clear)();
    117115
    118     fTotalEntries     = 0;
    119 }
    120 
    121 
     116    fTotalEntries = 0;
     117}
    122118
    123119void MPedestalCam::Print(Option_t *o) const
Note: See TracChangeset for help on using the changeset viewer.