Changeset 3231 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
02/18/04 16:40:50 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3230 r3231  
    1212        variables (more readable).
    1313
     14
     15
    1416 2004/02/18: Hendrik Bartko
    1517
     
    1921     - removed the files SignalCint.*
    2022
     23    * mgui/MHexagon.cc
     24      - added comment explaining the algorithm.
     25
     26
    2127
    2228 2004/01/18: Thomas Bretz
    2329
    24    * manalysis/MPedestalCam.h
     30   * manalysis/MPedestalCam.[h,cc]:
    2531     - Changed order of derivements - seems to be VERY important!
     32     - changed GetSize from UInt_t to Int_t which is the type
     33       of TClonesArray::GetSize() !
    2634
    2735   * mfileio/MReadReports.cc:
  • 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.