Changeset 5083 for trunk/MagicSoft
- Timestamp:
- 09/16/04 17:23:07 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5080 r5083 100 100 * mimage/MHillasSrc.[h,cc]: 101 101 - fixed a bug in the output of DCA (wrong units) 102 103 * mhcalib/MHCalibrationChargeBlindCam.[h,cc], 104 mhcalib/MHCalibrationChargeBlindPix.cc, 105 mhcalib/MHCalibrationChargeCam.[h,cc], 106 mhcalib/MHCalibrationChargePINDiode.[h,cc], 107 mhcalib/MHCalibrationRelTimeCam.[h,cc], 108 mhcalib/MHGausEvents.[h,cc]: 109 - took out the Clone-functions. Everything here seems to be 110 a lot more stable without. I guess it is due to the change 111 away from the TClonesArrays which makes the automatic 112 streamed cloning work fine. 113 - moved the removing of TF1 from the destructor to the 114 allocation of the objects. It seems that already before the 115 destructor can remove the objects from these list 'shit happens' 102 116 103 117 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.cc
r5050 r5083 414 414 // Deletes the TObjArray's and Clones them individually 415 415 // 416 #if 0 416 417 TObject *MHCalibrationChargeBlindCam::Clone(const char *name) const 417 418 { … … 442 443 return cam; 443 444 } 445 #endif 444 446 445 447 // ----------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindCam.h
r5050 r5083 48 48 49 49 // Clone 50 TObject *Clone(const char *name="") const;50 //TObject *Clone(const char *name="") const; 51 51 52 52 // Draw -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeBlindPix.cc
r5071 r5083 154 154 155 155 if (fSinglePheFit) 156 {157 gROOT->GetListOfFunctions()->Remove(fSinglePheFit);158 156 delete fSinglePheFit; 159 }160 157 161 158 if (fFitLegend) … … 556 553 return kFALSE; 557 554 } 555 556 gROOT->GetListOfFunctions()->Remove(fSinglePheFit); 558 557 559 558 const Double_t mu_0_guess = 13.5; -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r5029 r5083 1284 1284 // - (*cam)[100].DrawClone() 1285 1285 // 1286 #if 0 1286 1287 TObject *MHCalibrationChargeCam::Clone(const char *name) const 1287 1288 { … … 1338 1339 1339 1340 } 1341 #endif 1340 1342 1341 1343 // ----------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.h
r5014 r5083 105 105 ~MHCalibrationChargeCam() {} 106 106 107 TObject *Clone(const char *name="") const;107 //TObject *Clone(const char *name="") const; 108 108 109 109 void SetLoGainNbins ( const Int_t i ) { fLoGainNbins = i; } -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc
r4950 r5083 200 200 // the rest of the data members. 201 201 // 202 #if 0 202 203 TObject *MHCalibrationChargePINDiode::Clone(const char *name) const 203 204 { … … 221 222 return &pix; 222 223 } 223 224 #endif 224 225 225 226 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.h
r4950 r5083 66 66 ~MHCalibrationChargePINDiode(){} 67 67 68 TObject *Clone(const char* name="") const; 68 // TObject *Clone(const char* name="") const; 69 69 70 70 Bool_t SetupFill(const MParList *pList); -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r5014 r5083 175 175 // Creates new MHCalibrationRelTimeCam 176 176 // 177 #if 0 177 178 TObject *MHCalibrationRelTimeCam::Clone(const char *name) const 178 179 { … … 223 224 224 225 } 226 #endif 225 227 226 228 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.h
r4963 r5083 55 55 ~MHCalibrationRelTimeCam() {} 56 56 57 TObject *Clone(const char *name="") const;57 //TObject *Clone(const char *name="") const; 58 58 59 59 UInt_t GetReferencePixel() const { return fReferencePixel; } -
trunk/MagicSoft/Mars/mhcalib/MHGausEvents.cc
r5070 r5083 185 185 // delete fits 186 186 if (fFGausFit) 187 {188 gROOT->GetListOfFunctions()->Remove(fFGausFit);189 187 delete fFGausFit; 190 }191 188 192 189 if (fFExpFit) 193 {194 gROOT->GetListOfFunctions()->Remove(fFExpFit);195 190 delete fFExpFit; 196 }197 191 198 192 // delete arrays … … 282 276 // data members. 283 277 // 278 #if 0 284 279 TObject *MHGausEvents::Clone(const char *name) const 285 280 { … … 329 324 return &pix; 330 325 } 331 326 #endif 332 327 333 328 // ----------------------------------------------------------------------------- … … 416 411 const Double_t offset_guess = slope_guess*xmax; 417 412 413 gROOT->GetListOfFunctions()->Remove(fFExpFit); 418 414 fFExpFit->SetParameters(offset_guess, slope_guess); 419 415 fFExpFit->SetParNames("Offset","Slope"); … … 723 719 } 724 720 721 gROOT->GetListOfFunctions()->Remove(fFGausFit); 725 722 fFGausFit->SetParameters(area_guess,mu_guess,sigma_guess); 726 723 fFGausFit->SetParNames("Area","#mu","#sigma"); -
trunk/MagicSoft/Mars/mhcalib/MHGausEvents.h
r4994 r5083 76 76 ~MHGausEvents(); 77 77 78 TObject *Clone(const char* name="") const;78 //TObject *Clone(const char* name="") const; 79 79 80 80 void Clear(Option_t *o="");
Note:
See TracChangeset
for help on using the changeset viewer.