Changeset 2829 for trunk/MagicSoft/Mars
- Timestamp:
- 01/16/04 14:14:18 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2828 r2829 11 11 12 12 * mcalib/MHCalibrationBlindPixel.[h,cc] 13 * mcalib/MCalibrationBlindPix.h, 13 14 - incorporate Fit functions 14 15 - fixed a bug due to which DrawClone crashed when class was used -
trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.cc
r2822 r2829 37 37 #include "MHCalibrationBlindPixel.h" 38 38 #include "MHCalibrationConfig.h" 39 #include "MCalibrationFits.h"40 39 41 40 #include <TStyle.h> … … 71 70 fChisquare(0.), fProb(0.), fNdf(0), 72 71 fMeanTime(0.), fMeanTimeErr(0.), fSigmaTime(0.), fSigmaTimeErr(0.), 73 fLambdaCheck(0.), fLambdaCheckErr(0.) 72 fLambdaCheck(0.), fLambdaCheckErr(0.), 73 fgSinglePheFitFunc(&gfKto4),fgSinglePheFitNPar(6) 74 74 75 { 75 76 … … 109 110 fHBlindPixelChargevsN->SetDirectory(NULL); 110 111 111 fgSinglePheFitFunc = &gfKto4;112 fgSinglePheFitNPar = 6;113 112 } 114 113 … … 199 198 { 200 199 201 //TVirtualPad *pad = gROOT->GetSelectedPad(); 202 TVirtualPad *padsav = gPad; 203 //if (pad) pad->cd(); 204 205 TObject *newobj = Clone(); 206 207 if (!newobj) 208 return 0; 209 210 newobj->Draw(opt); 211 212 if (padsav) 213 padsav->cd(); 214 215 return newobj; 200 gROOT->SetSelectedPad(NULL); 201 202 TObject *newobj = Clone(); 203 newobj->SetBit(kCanDelete); 204 205 if (!newobj) 206 return 0; 207 208 newobj->Draw(opt); 209 return newobj; 216 210 } 217 211
Note:
See TracChangeset
for help on using the changeset viewer.