Changeset 1076 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 11/14/01 10:03:20 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r1045 r1076 59 59 60 60 #include "MLog.h" 61 #include "MLogManip.h" 62 61 63 #include "MArrayS.h" 62 64 #include "MArrayB.h" … … 286 288 } 287 289 288 *fLog << "MRawEvtData::Draw: Warning:You must specify either 'GRAPH' or 'HIST'" << endl;290 *fLog << dbginf << "Warning - You must specify either 'GRAPH' or 'HIST'" << endl; 289 291 } 290 292 … … 296 298 void MRawEvtData::DeletePixels(Bool_t flag) 297 299 { 298 const int npix = fRunHeader->GetNumCrates()*fRunHeader->GetNumPixInCrate(); 299 300 if (fArraySize == npix && flag) 301 { 302 fPosInArray = 0; 303 return; 300 if (fRunHeader && flag) 301 { 302 const int npix = fRunHeader->GetNumCrates()*fRunHeader->GetNumPixInCrate(); 303 304 if (fArraySize == npix) 305 { 306 fPosInArray = 0; 307 return; 308 } 304 309 } 305 310 … … 327 332 void MRawEvtData::InitArrays(Bool_t flag) 328 333 { 329 if (flag )334 if (flag && fRunHeader) 330 335 { 331 336 const int npix = fRunHeader->GetNumCrates()*fRunHeader->GetNumPixInCrate();
Note:
See TracChangeset
for help on using the changeset viewer.