Ignore:
Timestamp:
02/18/04 16:40:50 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
2 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
  • trunk/MagicSoft/Mars/manalysis/MPedestalCam.h

    r3223 r3231  
    3535
    3636    // Getters
    37     UInt_t  GetSize()         const;
     37    Int_t  GetSize()         const;
    3838    ULong_t GetTotalEntries() const { return fTotalEntries; }
    3939
Note: See TracChangeset for help on using the changeset viewer.