Ignore:
Timestamp:
11/11/08 11:49:49 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhvstime
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.cc

    r8907 r9153  
    169169// Fill the histograms with data from a MPixVsTime-Container.
    170170//
    171 Bool_t MHPixVsTime::Fill(const MParContainer *par, const Stat_t w)
     171Int_t MHPixVsTime::Fill(const MParContainer *par, const Stat_t w)
    172172{
    173173    const MCamEvent *evt = par ? dynamic_cast<const MCamEvent*>(par) : fEvt;
     
    175175    {
    176176        *fLog << err << dbginf << "No MCamEvent found..." << endl;
    177         return kFALSE;
     177        return kERROR;
    178178    }
    179179
     
    182182    evt->GetPixelContent(val, fIndex, *fCam, fType);
    183183    if (!TMath::Finite(val))
    184         return kCONTINUE;
     184        return kTRUE;  // Use kCONTINUE with extreme care!
    185185
    186186    Double_t t = 0;
     
    196196        evt->GetPixelContent(rms, fIndex, *fCam, fTypeErr);
    197197        if (!TMath::Finite(rms))
    198             return kCONTINUE;
     198            return kTRUE;  // Use kCONTINUE with extreme care!
    199199    }
    200200
  • trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.h

    r6977 r9153  
    3939
    4040    Bool_t SetupFill(const MParList *pList);
    41     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     41    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    4242
    4343public:
  • trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc

    r8281 r9153  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.cc,v 1.13 2007-02-01 11:24:19 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.cc,v 1.14 2008-11-11 11:42:16 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    214214// Fill the histograms with data from a MCamEvent
    215215//
    216 Bool_t MHSectorVsTime::Fill(const MParContainer *par, const Stat_t w)
     216Int_t MHSectorVsTime::Fill(const MParContainer *par, const Stat_t w)
    217217{
    218218    const MCamEvent *evt = par ? dynamic_cast<const MCamEvent*>(par) : fEvt;
     
    220220    {
    221221        *fLog << err << dbginf << "No MCamEvent found..." << endl;
    222         return kFALSE;
     222        return kERROR;
    223223    }
    224224
  • trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.h

    r8281 r9153  
    11/* ======================================================================== *\
    2 !  $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.h,v 1.7 2007-02-01 11:24:19 tbretz Exp $
     2!  $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.h,v 1.8 2008-11-11 11:42:16 tbretz Exp $
    33\* ======================================================================== */
    44#ifndef MARS_MHSectorVsTime
     
    5757    // MH
    5858    Bool_t SetupFill(const MParList *pList);
    59     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     59    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    6060    Bool_t Finalize();
    6161
  • trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc

    r8907 r9153  
    205205// Set the next data point. If the graph exceeds fMaxPts remove the first
    206206//
    207 Bool_t MHVsTime::Fill(const MParContainer *par, const Stat_t w)
     207Int_t MHVsTime::Fill(const MParContainer *par, const Stat_t w)
    208208{
    209209    Double_t t = 0;
     
    219219        {
    220220            *fLog << err << dbginf << "No MTime found..." << endl;
    221             return kFALSE;
     221            return kERROR;
    222222        }
    223223        // If the time is not valid skip this entry
  • trunk/MagicSoft/Mars/mhvstime/MHVsTime.h

    r8478 r9153  
    6565
    6666    Bool_t SetupFill(const MParList *pList);
    67     Bool_t Fill(const MParContainer *par, const Stat_t w=1);
     67    Int_t Fill(const MParContainer *par, const Stat_t w=1);
    6868
    6969    TString GetDataMember() const;
Note: See TracChangeset for help on using the changeset viewer.