Changeset 1215 for trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.cc
- Timestamp:
- 01/23/02 19:37:56 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.cc
r1214 r1215 26 26 ////////////////////////////////////////////////////////////////////////////// 27 27 // // 28 // MHTimeDiffTime //28 // MHTimeDiffTime // 29 29 // // 30 30 // // … … 98 98 // FIXME: ProjectionX,Y is not const within root 99 99 // 100 TH1 *h; 101 100 102 c->cd(1); 101 ((TH2*)&fHist)->ProjectionX("ProX", -1, 9999, "E")->DrawCopy(opt); 103 h = ((TH2*)&fHist)->ProjectionX("ProX", -1, 9999, "E"); 104 h->Draw(opt); 105 h->SetBit(kCanDelete); 102 106 gPad->SetLogy(); 103 107 104 108 c->cd(2); 105 ((TH2*)&fHist)->ProjectionY("ProY", -1, 9999, "E")->DrawCopy(opt); 109 h = ((TH2*)&fHist)->ProjectionY("ProY", -1, 9999, "E"); 110 h->Draw(opt); 111 h->SetBit(kCanDelete); 106 112 107 113 c->cd(3); … … 121 127 gPad->Divide(2,2); 122 128 129 TH1 *h; 130 123 131 gPad->cd(1); 124 fHist.ProjectionX("ProX", -1, 9999, "E")->DrawCopy(opt); 132 h = fHist.ProjectionX("ProX", -1, 9999, "E"); 133 h->Draw(opt); 134 h->SetBit(kCanDelete); 125 135 gPad->SetLogy(); 126 136 127 137 gPad->cd(2); 128 fHist.ProjectionY("ProY", -1, 9999, "E")->DrawCopy(opt); 138 h = fHist.ProjectionY("ProY", -1, 9999, "E"); 139 h->Draw(opt); 140 h->SetBit(kCanDelete); 129 141 130 142 gPad->cd(3);
Note:
See TracChangeset
for help on using the changeset viewer.