Changeset 9153 for trunk/MagicSoft/Mars/mhvstime
- Timestamp:
- 11/11/08 11:49:49 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mhvstime
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.cc
r8907 r9153 169 169 // Fill the histograms with data from a MPixVsTime-Container. 170 170 // 171 Bool_t MHPixVsTime::Fill(const MParContainer *par, const Stat_t w)171 Int_t MHPixVsTime::Fill(const MParContainer *par, const Stat_t w) 172 172 { 173 173 const MCamEvent *evt = par ? dynamic_cast<const MCamEvent*>(par) : fEvt; … … 175 175 { 176 176 *fLog << err << dbginf << "No MCamEvent found..." << endl; 177 return k FALSE;177 return kERROR; 178 178 } 179 179 … … 182 182 evt->GetPixelContent(val, fIndex, *fCam, fType); 183 183 if (!TMath::Finite(val)) 184 return k CONTINUE;184 return kTRUE; // Use kCONTINUE with extreme care! 185 185 186 186 Double_t t = 0; … … 196 196 evt->GetPixelContent(rms, fIndex, *fCam, fTypeErr); 197 197 if (!TMath::Finite(rms)) 198 return k CONTINUE;198 return kTRUE; // Use kCONTINUE with extreme care! 199 199 } 200 200 -
trunk/MagicSoft/Mars/mhvstime/MHPixVsTime.h
r6977 r9153 39 39 40 40 Bool_t SetupFill(const MParList *pList); 41 Bool_tFill(const MParContainer *par, const Stat_t w=1);41 Int_t Fill(const MParContainer *par, const Stat_t w=1); 42 42 43 43 public: -
trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.cc
r8281 r9153 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.cc,v 1.1 3 2007-02-01 11:24:19tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.cc,v 1.14 2008-11-11 11:42:16 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 214 214 // Fill the histograms with data from a MCamEvent 215 215 // 216 Bool_t MHSectorVsTime::Fill(const MParContainer *par, const Stat_t w)216 Int_t MHSectorVsTime::Fill(const MParContainer *par, const Stat_t w) 217 217 { 218 218 const MCamEvent *evt = par ? dynamic_cast<const MCamEvent*>(par) : fEvt; … … 220 220 { 221 221 *fLog << err << dbginf << "No MCamEvent found..." << endl; 222 return k FALSE;222 return kERROR; 223 223 } 224 224 -
trunk/MagicSoft/Mars/mhvstime/MHSectorVsTime.h
r8281 r9153 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.h,v 1. 7 2007-02-01 11:24:19tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHSectorVsTime.h,v 1.8 2008-11-11 11:42:16 tbretz Exp $ 3 3 \* ======================================================================== */ 4 4 #ifndef MARS_MHSectorVsTime … … 57 57 // MH 58 58 Bool_t SetupFill(const MParList *pList); 59 Bool_tFill(const MParContainer *par, const Stat_t w=1);59 Int_t Fill(const MParContainer *par, const Stat_t w=1); 60 60 Bool_t Finalize(); 61 61 -
trunk/MagicSoft/Mars/mhvstime/MHVsTime.cc
r8907 r9153 205 205 // Set the next data point. If the graph exceeds fMaxPts remove the first 206 206 // 207 Bool_t MHVsTime::Fill(const MParContainer *par, const Stat_t w)207 Int_t MHVsTime::Fill(const MParContainer *par, const Stat_t w) 208 208 { 209 209 Double_t t = 0; … … 219 219 { 220 220 *fLog << err << dbginf << "No MTime found..." << endl; 221 return k FALSE;221 return kERROR; 222 222 } 223 223 // If the time is not valid skip this entry -
trunk/MagicSoft/Mars/mhvstime/MHVsTime.h
r8478 r9153 65 65 66 66 Bool_t SetupFill(const MParList *pList); 67 Bool_tFill(const MParContainer *par, const Stat_t w=1);67 Int_t Fill(const MParContainer *par, const Stat_t w=1); 68 68 69 69 TString GetDataMember() const;
Note:
See TracChangeset
for help on using the changeset viewer.