Changeset 1030 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 11/05/01 10:35:36 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r1004 r1030 209 209 void MRawEvtData::Draw(Option_t *opt) 210 210 { 211 // ----- AppendPad(opt);212 213 //214 // FIXME: BIG MEMORY LEAK! (( How and when are the objects deleted?)215 //211 if (GetNumPixels()==0) 212 { 213 *fLog << "Sorry, no pixel to draw!" << endl; 214 return; 215 } 216 216 217 217 TString str(opt); … … 247 247 graph->Draw("AC*"); 248 248 249 TH1F *hist = graph->GetHistogram(); 250 251 hist->SetXTitle("Time/FADC Slices"); 252 hist->SetYTitle("Signal/FADC Units"); 253 249 254 return; 250 255 } … … 269 274 270 275 TH1F *hist = new TH1F(name, "Hi Gain Samples FADC", n, 0, n); 276 hist->SetXTitle("Time/FADC Slices"); 277 hist->SetYTitle("Signal/FADC Units"); 271 278 272 279 for (int i=0; i<n; i++)
Note:
See TracChangeset
for help on using the changeset viewer.