Changeset 11555 for trunk/Mars/mraw/MRawEvtData.cc
- Timestamp:
- 07/24/11 11:04:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mraw/MRawEvtData.cc
r11489 r11555 50 50 // ------------------ 51 51 // + MArrayS *fStartCell 52 // + Bool_t fIsSigned 52 53 // 53 54 // Version 7 … … 113 114 // 114 115 MRawEvtData::MRawEvtData(const char *name, const char *title) 115 : fRunHeader(0), fNumBytesPerSample(1) 116 : fRunHeader(0), fNumBytesPerSample(1), fIsSigned(false) 116 117 { 117 118 fName = name ? name : "MRawEvtData"; … … 288 289 name += pix.GetPixelId(); 289 290 291 fIsSigned = kTRUE; 290 292 291 293 Bool_t same = str.Contains("same"); 294 295 cout << "MIN/MAX=" << fNumBytesPerSample << " " << GetMin() << " " << GetMax() << endl; 292 296 293 297 if (str.BeginsWith("graph")) … … 304 308 305 309 graphhi->SetMaximum(GetMax()+0.5); 306 graphhi->SetMinimum( 0);310 graphhi->SetMinimum(GetMin()); 307 311 308 312 graphhi->SetBit(kCanDelete); … … 310 314 311 315 TH1F *histhi = graphhi->GetHistogram(); 312 histhi->SetMinimum( 0);316 histhi->SetMinimum(GetMin()); 313 317 histhi->SetMaximum(GetMax()+0.5); 314 318 … … 325 329 326 330 TH1F *histh = new TH1F(name, "FADC Samples", nh+nl, -0.5, nh+nl-.5); 327 histh->SetMinimum( 0);331 histh->SetMinimum(GetMin()); 328 332 histh->SetMaximum(GetMax()+0.5); 329 333 histh->SetXTitle("Time [FADC Slices]");
Note:
See TracChangeset
for help on using the changeset viewer.