Changeset 6948
- Timestamp:
- 04/18/05 10:17:03 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6941 r6948 21 21 22 22 -*-*- END OF LINE -*-*- 23 24 2005/04/18 Thomas Bretz 25 26 * manalysis/MCompProbCalc.cc, mbadpixels/MBadPixelsCalc.cc, 27 mbadpixels/MBadPixelsTreat.cc: 28 - some fixes to documentation (THtml complained about missing 29 classes) 30 31 * mbase/MStatusArray.[h,cc]: 32 - implemented some functions to print contents of StatusArray 33 and/or tab/canvas. 34 35 * mhbase/MFillH.cc: 36 - remove fH from ListOfPrimitives before adding Clone in 37 PostProcess 38 39 * mhbase/MH.[h,cc]: 40 - implemented new member function RemoveFromPad (necessary 41 if a class should support same-option) 42 43 * mimage/MHHillas.cc, mimage/MHHillasExt.cc, mimage/MHHillasSrc.cc, 44 mimage/MHImagePar.cc, mimage/MHNewImagePar.cc, mimage/MHVsSize.cc: 45 - fixed naming in case of same-option in Draw 46 - remove previous histograms from pad in case of same-option 47 48 * mjobs/MJCut.[h,cc]: 49 - write all binnings in WriteResult 50 - write MHillasExt to output 51 - BinningWidth, BinningLength and BinningDist added 52 53 * mjobs/MJOptimize.[h,cc]: 54 - fixed a typo in output 55 - allow to exchange Test-/Train-Sample 56 57 23 58 24 59 2005/04/14 Thomas Bretz -
trunk/MagicSoft/Mars/NEWS
r6945 r6948 55 55 56 56 - fixed some slowdown in calibrating data with interleaved events from 57 Jan and Dec. 57 Jan and Dec. As a workaround made the pretty palette the default. 58 The inverse Deep Blue Sea has a bug which slows down long calibration 59 runs a lot. 58 60 59 61 - implemented new values from new starguider report as defined … … 64 66 you'll get the correct units (arcmin) but a different result 65 67 than with old versions (wrong units)) 66 67 - As a workaround made the pretty palette the default. The inverse68 Deep Blue Sea has a bug which slows down long calibration runs a lot.69 68 70 69 - Now the status display can also write PNG, JPEG and XPM (other file -
trunk/MagicSoft/Mars/manalysis/MCompProbCalc.cc
r6892 r6948 79 79 // - MHCompProb 80 80 // - all data values which were used to build the MHCompProb 81 // - MHadronness82 81 // 83 82 Int_t MCompProbCalc::PreProcess(MParList *plist) … … 138 137 // - For all data members multiply the probabilities. 139 138 // - For normalization take the n-th root of the result. 140 // - This is the hadroness stored in the MHadronness container139 // - This is the hadroness stored in the Hadronness container 141 140 // 142 141 Int_t MCompProbCalc::Process() -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc
r6905 r6948 68 68 #include "MGeomPix.h" 69 69 70 //#include "MSigmabar.h"71 72 70 #include "MPedPhotCam.h" 73 71 #include "MPedPhotPix.h" -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r6858 r6948 88 88 #include "MBadPixelsCam.h" 89 89 90 //#include "MArrivalTime.h"91 92 90 ClassImp(MBadPixelsTreat); 93 91 -
trunk/MagicSoft/Mars/mbase/MStatusArray.cc
r6932 r6948 198 198 return FindObjectInCanvas(object, object, 0); 199 199 } 200 201 // -------------------------------------------------------------------------- 202 // 203 // Print recursively all objects in this and sub-pads 204 // 205 void MStatusArray::PrintObjectsInPad(const TCollection *list, const TString &name, Int_t lvl) const 206 { 207 TIter Next(list); 208 TObject *o=0; 209 while ((o=Next())) 210 { 211 const Bool_t print = name.IsNull() || name==(TString)o->GetName(); 212 if (print) 213 { 214 if (lvl>0) 215 gLog << setw(lvl) << ' '; 216 gLog << o->ClassName() << ": " << o->GetName() << " <" << Next.GetOption() << "> (" << o << ")" << endl; 217 } 218 219 if (o->InheritsFrom(TVirtualPad::Class())) 220 PrintObjectsInPad(((TVirtualPad*)o)->GetListOfPrimitives(), print?"":name, lvl+1); 221 } 222 } 223 224 // -------------------------------------------------------------------------- 225 // 226 // Print recursively all objects in this and sub-pads. If !option.IsNull() 227 // only objects in the corresponding pad are printed. 228 // 229 void MStatusArray::Print(Option_t *option) const 230 { 231 const TString opt(option); 232 233 PrintObjectsInPad(this, opt); 234 } -
trunk/MagicSoft/Mars/mbase/MStatusArray.h
r6932 r6948 15 15 { 16 16 private: 17 void PrintObjectsInPad(const TCollection *list, const TString &name, Int_t lvl=0) const; 17 18 TObject *FindObjectInPad(TVirtualPad *pad, const char *object, TClass *base) const; 18 19 TClass *GetClass(const char *name) const; … … 28 29 TObject *FindObjectInCanvas(const char *object, const char *canvas) const; 29 30 31 void Print(Option_t *o="") const; 32 30 33 TObject *FindObject(const char *object, const char *base) const; 31 34 TObject *FindObject(const char *object) const; -
trunk/MagicSoft/Mars/mhbase/MH.cc
r6890 r6948 191 191 // -------------------------------------------------------------------------- 192 192 // 193 // Search in gPad for all objects with the name name and remove all of them 194 // (TList::Remove) 195 // 196 void MH::RemoveFromPad(const char *name) 197 { 198 if (!gPad) 199 return; 200 201 TList *list = gPad->GetListOfPrimitives(); 202 if (!list) 203 return; 204 205 TObject *obj = 0; 206 while ((obj = gPad->FindObject(name))) 207 list->Remove(obj); 208 } 209 210 // -------------------------------------------------------------------------- 211 // 193 212 // Applies a given binning to a 1D-histogram 194 213 // … … 572 591 // Tries to find a MBinning container with the name "Binning"+name 573 592 // in the given parameter list. If it was found it is applied to the 574 // given histogram. This is only valid for 1D-histograms 593 // given histogram. This is only valid for 1D-histograms. 594 // If the binning is found, but it IsDefault() kTRUE is returned, but 595 // no binning is applied. 575 596 // 576 597 Bool_t MH::ApplyBinning(const MParList &plist, TString name, TH1 *h) … … 588 609 return kFALSE; 589 610 } 611 612 if (bins->IsDefault()) 613 return kTRUE; 590 614 591 615 SetBinning(h, bins); -
trunk/MagicSoft/Mars/mhbase/MH.h
r5994 r6948 57 57 UInt_t w=625, UInt_t h=440, 58 58 Bool_t usescreenfactor=kFALSE); 59 60 static void RemoveFromPad(const char *name); 59 61 60 62 // FIXME: * --> & !!! -
trunk/MagicSoft/Mars/mimage/MHHillas.cc
r6890 r6948 303 303 else 304 304 { 305 fLength->SetName("LengthSame"); 306 fWidth->SetName("WidthSame"); 307 fDistC->SetName("DistCSame"); 308 fDelta->SetName("DeltaSame"); 309 fSize->SetName("SizeSame"); 310 fCenter->SetName("CenterSame"); 311 305 312 fDistC->SetLineColor(kGreen); 306 313 fSize->SetLineColor(kGreen); 307 314 fDelta->SetLineColor(kGreen); 308 309 315 fWidth->SetLineColor(kMagenta); 310 316 fLength->SetLineColor(kCyan); … … 313 319 pad->cd(1); 314 320 gPad->SetBorderMode(0); 321 RemoveFromPad("WidthSame"); 322 RemoveFromPad("LengthSame"); 315 323 MH::DrawSame(*fWidth, *fLength, "Width'n'Length", same); 316 324 317 325 pad->cd(2); 318 326 gPad->SetBorderMode(0); 327 RemoveFromPad("DistCSame"); 319 328 fDistC->Draw(same?"same":""); 320 329 … … 323 332 gPad->SetLogx(); 324 333 gPad->SetLogy(); 334 RemoveFromPad("SizeSame"); 325 335 fSize->Draw(same?"same":""); 326 336 … … 339 349 h->SetMarkerColor(kBlack); 340 350 }*/ 351 RemoveFromPad("CenterSame"); 341 352 fCenter->SetMarkerColor(kGreen); 342 353 fCenter->Draw("same"); … … 357 368 pad->cd(5); 358 369 gPad->SetBorderMode(0); 370 RemoveFromPad("DeltaSame"); 359 371 fDelta->Draw(same?"same":""); 360 372 … … 363 375 delete gPad; 364 376 365 pad->Modified();366 pad->Update();377 //pad->Modified(); 378 //pad->Update(); 367 379 } 368 380 -
trunk/MagicSoft/Mars/mimage/MHHillasExt.cc
r6907 r6948 83 83 84 84 fHAsym.SetName("Asymmetry"); 85 fHM3Long.SetName(" 3rd Mom Long");86 fHM3Trans.SetName(" 3rd Mom Trans");87 fHMaxDist.SetName("Max 85 fHM3Long.SetName("M3l"); 86 fHM3Trans.SetName("M3t"); 87 fHMaxDist.SetName("MaxDist"); 88 88 89 89 fHAsym.SetTitle("Asymmetry"); … … 259 259 else 260 260 { 261 fHAsym.SetName("AsymmetrySame"); 262 fHM3Long.SetName("M3lSame"); 263 fHM3Trans.SetName("M3tSame"); 264 fHMaxDist.SetName("MaxDistSame"); 261 265 fHM3Long.SetLineColor(kMagenta); 262 266 fHM3Trans.SetLineColor(kCyan); 263 264 267 fHAsym.SetLineColor(kBlue); 265 268 fHMaxDist.SetLineColor(kBlue); … … 268 271 pad->cd(1); 269 272 gPad->SetBorderMode(0); 273 RemoveFromPad("M3lSame"); 274 RemoveFromPad("M3tSame"); 270 275 MH::DrawSame(fHM3Long, fHM3Trans, "3^{rd} Moments", same); 271 276 272 277 pad->cd(3); 273 278 gPad->SetBorderMode(0); 279 RemoveFromPad("AsymmetrySame"); 274 280 fHAsym.Draw(same?"same":""); 275 281 276 282 pad->cd(2); 277 283 gPad->SetBorderMode(0); 284 RemoveFromPad("MaxDistSame"); 278 285 fHMaxDist.Draw(same?"same":""); 279 286 -
trunk/MagicSoft/Mars/mimage/MHHillasSrc.cc
r6907 r6948 156 156 fCosDA->Fill(h.GetCosDeltaAlpha(), w); 157 157 fDCA ->Fill(fUseMmScale ? h.GetDCA() : fMm2Deg*h.GetDCA(), w); 158 fDCADelta 158 fDCADelta->Fill(h.GetDCADelta(), w); 159 159 160 160 return kTRUE; … … 231 231 else 232 232 { 233 fAlpha->SetName("AlphaSame"); 234 fDist ->SetName("DistSame"); 235 fCosDA->SetName("CosDASame"); 236 fDCA ->SetName("DCASame"); 237 fDCADelta->SetName("DCADeltaSame"); 233 238 fAlpha->SetLineColor(kGreen); 234 239 fDist->SetLineColor(kGreen); … … 240 245 pad->cd(1); 241 246 gPad->SetBorderMode(0); 247 RemoveFromPad("AlphaSame"); 242 248 fAlpha->Draw(same?"same":""); 243 249 244 250 pad->cd(2); 245 251 gPad->SetBorderMode(0); 252 RemoveFromPad("DistSame"); 246 253 fDist->Draw(same?"same":""); 247 254 248 255 pad->cd(3); 249 256 gPad->SetBorderMode(0); 257 RemoveFromPad("DCASame"); 250 258 fDCA->Draw(same?"same":""); 251 259 … … 258 266 p->cd(1); 259 267 gPad->SetBorderMode(0); 268 RemoveFromPad("CosDASame"); 260 269 fCosDA->Draw(same?"same":""); 261 270 262 271 p->cd(2); 263 272 gPad->SetBorderMode(0); 273 RemoveFromPad("DCADeltaSame"); 264 274 fDCADelta->Draw(same?"same":""); 265 275 } -
trunk/MagicSoft/Mars/mimage/MHImagePar.cc
r6907 r6948 232 232 else 233 233 { 234 fHistSatHi.SetName("SatHiSame"); 235 fHistSatLo.SetName("SatLoSame"); 236 fHistIslands.SetName("IslandsSame"); 237 fHistSizeSubIslands.SetName("SizeSubSame"); 238 fHistSizeMainIsland.SetName("SizeMainSame"); 239 fHistNumSP.SetName("NumSPSame"); 240 fHistSizeSP.SetName("SizeSPSame"); 241 234 242 fHistSatHi.SetLineColor(kMagenta); 235 243 fHistSatLo.SetLineColor(kCyan); 236 237 244 fHistSizeMainIsland.SetLineColor(kMagenta); 238 245 fHistSizeSubIslands.SetLineColor(kCyan); 239 240 246 fHistIslands.SetLineColor(kGreen); 241 247 fHistNumSP.SetLineColor(kGreen); … … 245 251 pad->cd(1); 246 252 gPad->SetBorderMode(0); 253 RemoveFromPad("SatHiSame"); 254 RemoveFromPad("SatLoSame"); 247 255 MH::DrawSame(fHistSatHi, fHistSatLo, "Saturating Pixels", same); 248 256 fHistSatHi.SetMinimum(); // switch off to allow log-scale … … 252 260 pad->cd(4); 253 261 gPad->SetBorderMode(0); 262 RemoveFromPad("SizeSubSame"); 263 RemoveFromPad("SizeMainSame"); 254 264 MH::DrawSame(fHistSizeMainIsland, fHistSizeSubIslands, "Sizes...", same); 255 265 fHistSizeMainIsland.SetMinimum(); // switch off to allow log-scale … … 265 275 pad->GetPad(2)->cd(1); 266 276 gPad->SetBorderMode(0); 277 RemoveFromPad("NumSPSame"); 267 278 fHistNumSP.Draw(same?"same":""); 268 279 pad->GetPad(2)->cd(2); 269 280 gPad->SetBorderMode(0); 281 RemoveFromPad("SizeSPSame"); 270 282 fHistSizeSP.Draw(same?"same":""); 271 283 } … … 273 285 pad->cd(3); 274 286 gPad->SetBorderMode(0); 287 RemoveFromPad("IslandsSame"); 275 288 fHistIslands.Draw(same?"same":""); 276 289 } -
trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc
r6907 r6948 309 309 else 310 310 { 311 fHistLeakage1.SetName("Leakage1Same"); 312 fHistLeakage2.SetName("Leakage2Same"); 313 fHistUsedPix.SetName("UsedPixSame"); 314 fHistCorePix.SetName("CorePixSame"); 315 fHistUsedArea.SetName("UsedAreaSame"); 316 fHistCoreArea.SetName("CoreAreaSame"); 317 fHistConc1.SetName("Conc1Same"); 318 fHistConc.SetName("Conc2Same"); 319 311 320 fHistLeakage1.SetLineColor(kMagenta); 312 321 fHistLeakage1.SetLineColor(kCyan); 313 314 322 fHistCorePix.SetLineColor(kMagenta); 315 323 fHistUsedPix.SetLineColor(kCyan); 316 317 324 fHistConc1.SetLineColor(kMagenta); 318 325 fHistConc.SetLineColor(kCyan); 319 320 326 fHistCoreArea.SetLineColor(kMagenta); 321 327 fHistUsedArea.SetLineColor(kCyan); … … 326 332 TAxis &x = *fHistLeakage1.GetXaxis(); 327 333 x.SetRangeUser(0.0, x.GetXmax()); 334 RemoveFromPad("Leakage1Same"); 335 RemoveFromPad("Leakage2Same"); 328 336 MH::DrawSame(fHistLeakage1, fHistLeakage2, "Leakage1 and Leakage2", same); 329 337 fHistLeakage1.SetMinimum(); … … 333 341 pad->cd(2); 334 342 gPad->SetBorderMode(0); 343 RemoveFromPad("UsedPixSame"); 344 RemoveFromPad("CorePixSame"); 335 345 MH::DrawSame(fHistCorePix, fHistUsedPix, "Number of core/used Pixels", same); 336 346 337 347 pad->cd(3); 338 348 gPad->SetBorderMode(0); 349 RemoveFromPad("Conc1Same"); 350 RemoveFromPad("Conc2Same"); 339 351 MH::DrawSame(fHistConc1, fHistConc, "Concentrations", same); 340 352 341 353 pad->cd(4); 342 354 gPad->SetBorderMode(0); 355 RemoveFromPad("CoreAreaSame"); 356 RemoveFromPad("UsedAreaSame"); 343 357 MH::DrawSame(fHistCoreArea, fHistUsedArea, "Area of core/used Pixels", same); 344 358 } -
trunk/MagicSoft/Mars/mimage/MHVsSize.cc
r6890 r6948 269 269 else 270 270 { 271 fLength.SetName("LengthSame"); 272 fWidth.SetName("WidthSame"); 273 fDist.SetName("DistSame"); 274 fConc1.SetName("Conc1Same"); 271 275 fDist.SetMarkerColor(kBlue); 272 276 fConc1.SetMarkerColor(kBlue); … … 278 282 gPad->SetBorderMode(0); 279 283 gPad->SetLogx(); 284 RemoveFromPad("LengthSame"); 280 285 fLength.Draw(same?"same":""); 281 286 … … 283 288 gPad->SetBorderMode(0); 284 289 gPad->SetLogx(); 290 RemoveFromPad("WidthSame"); 285 291 fWidth.Draw(same?"same":""); 286 292 … … 288 294 gPad->SetBorderMode(0); 289 295 gPad->SetLogx(); 296 RemoveFromPad("DistSame"); 290 297 fDist.Draw(same?"same":""); 291 298 … … 294 301 gPad->SetLogx(); 295 302 gPad->SetLogy(); 303 RemoveFromPad("Conc1Same"); 296 304 fConc1.Draw(same?"same":""); 297 305 } -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r6941 r6948 227 227 // analysis number num, see GetOutputFile() 228 228 // 229 Bool_t MJCut::WriteResult( UInt_t num) const229 Bool_t MJCut::WriteResult(const MParList &plist, UInt_t num) const 230 230 { 231 231 TObjArray arr; 232 233 TIter Next(plist); 234 TObject *o=0; 235 while ((o=Next())) 236 if (o->InheritsFrom(MBinning::Class())) 237 arr.Add(o); 238 232 239 return WriteContainer(arr, GetOutputFile(num), "UPDATE"); 233 240 } … … 278 285 write->AddContainer("MHillas", "Events"); 279 286 write->AddContainer("MHillasSrc", "Events"); 287 write->AddContainer("MHillasExt", "Events"); 280 288 write->AddContainer("MPointingPos", "Events"); 281 289 write->AddContainer("MHillasSrcAnti", "Events", kFALSE); … … 293 301 } 294 302 303 void MJCut::DisplayResult(const MParList &plist) const 304 { 305 /* 306 TObject *h1 = plist.FindObject("MHHillasOffPre", "MHHillas"); 307 TObject *h2 = plist.FindObject("MHHillasOffPost", "MHHillas"); 308 TObject *h3 = plist.FindObject("MHVsSizeOffPost", "MHVsSize"); 309 TObject *h4 = plist.FindObject("MHHilExtOffPost", "MHHillasExt"); 310 TObject *h5 = plist.FindObject("MHHilSrcOffPost", "MHHillasSrc"); 311 TObject *h6 = plist.FindObject("MHImgParOffPost", "MHImagePar"); 312 TObject *h7 = plist.FindObject("MHNewParOffPost", "MHNewImagePar"); 313 */ 314 } 315 295 316 Bool_t MJCut::ProcessFile(const MDataSet &set) 296 317 { … … 342 363 MBinning bins3(50, 0, 60, "BinningTheta", "cos"); 343 364 MBinning bins4("BinningFalseSource"); 344 //MBinning bins5("BinningWidth"); 345 //MBinning bins6("BinningLength"); 346 //MBinning bins7("BinningDist"); 365 MBinning bins5("BinningWidth"); 366 MBinning bins6("BinningLength"); 367 MBinning bins7("BinningDist"); 368 MBinning bins8("BinningMaxDist"); 347 369 plist.AddToList(&bins1); 348 370 plist.AddToList(&bins2); 349 371 plist.AddToList(&bins3); 350 372 plist.AddToList(&bins4); 351 //plist.AddToList(&bins5); 352 //plist.AddToList(&bins6); 353 //plist.AddToList(&bins7); 373 plist.AddToList(&bins5); 374 plist.AddToList(&bins6); 375 plist.AddToList(&bins7); 376 plist.AddToList(&bins8); 354 377 355 378 // -------------------------------------------------------------------------------- … … 623 646 tlist.PrintStatistics(); 624 647 648 DisplayResult(plist); 649 625 650 // FIXME: Perform fit and plot energy dependant alpha plots 626 651 // and fit result to new tabs! 627 if (!WriteResult( set.GetNumAnalysis()))652 if (!WriteResult(plist, set.GetNumAnalysis())) 628 653 return kFALSE; 629 654 -
trunk/MagicSoft/Mars/mjobs/MJCut.h
r6907 r6948 8 8 class MTask; 9 9 class MDataSet; 10 class MParList; 10 11 class MWriteRootFile; 11 12 … … 18 19 Bool_t fIsWobble; 19 20 Bool_t fFullDisplay; 21 //Bool_t fSubstraction; 20 22 21 23 TString fNameSummary; … … 30 32 void SetupWriter(MWriteRootFile *write, const char *name) const; 31 33 Bool_t WriteTasks(UInt_t num, TObjArray &cont) const; 32 Bool_t WriteResult(UInt_t num) const; 34 Bool_t WriteResult(const MParList &plist, UInt_t num) const; 35 void DisplayResult(const MParList &plist) const; 33 36 34 37 Bool_t CanStoreSummary() const { return !fPathOut.IsNull() && fStoreSummary; } … … 46 49 void EnableWobbleMode(Bool_t b=kTRUE) { fIsWobble = b; } 47 50 void EnableFullDisplay(Bool_t b=kTRUE) { fFullDisplay = b; } 51 //void EnableSubstraction(Bool_t b=kTRUE) { fSubstraction = b; } 48 52 49 53 void SetNameSummaryFile(const char *name=""); -
trunk/MagicSoft/Mars/mjobs/MJOptimize.cc
r6939 r6948 228 228 } 229 229 230 MJOptimize::MJOptimize() : fDebug(-1), fNumEvents(0), fType(kSimplex), fNumMaxCalls(0), fTolerance(0), fTestTrain( kFALSE)230 MJOptimize::MJOptimize() : fDebug(-1), fNumEvents(0), fType(kSimplex), fNumMaxCalls(0), fTolerance(0), fTestTrain(0) 231 231 { 232 232 fRules.SetOwner(); … … 661 661 case kMigrad: txt += "Migrad"; break; 662 662 case kMinimize: txt += "Minimize"; break; 663 case kMinos: txt += "Mino t"; break;663 case kMinos: txt += "Minos"; break; 664 664 case kImprove: txt += "Improve"; break; 665 665 case kSimplex: txt += "Simplex"; break; … … 682 682 // In case the reader is the matrix loop and testrain is enabled 683 683 // switch on even mode... 684 if (loop && fTestTrain)685 loop->SetOperationMode( MMatrixLoop::kEven);684 if (loop && TMath::Abs(fTestTrain)>0) 685 loop->SetOperationMode(fTestTrain>0?MMatrixLoop::kEven:MMatrixLoop::kOdd); 686 686 687 687 if (!Optimize(evtloop)) … … 696 696 // In case the reader is the matrix loop and testrain is enabled 697 697 // switch on odd mode... 698 if (!loop || !fTestTrain)698 if (!loop || fTestTrain==0) 699 699 return kTRUE; 700 700 701 loop->SetOperationMode( MMatrixLoop::kOdd);701 loop->SetOperationMode(fTestTrain<0?MMatrixLoop::kEven:MMatrixLoop::kOdd); 702 702 703 703 // Done already in Fcn -
trunk/MagicSoft/Mars/mjobs/MJOptimize.h
r6932 r6948 84 84 UInt_t fNumMaxCalls; 85 85 Float_t fTolerance; 86 Bool_tfTestTrain;86 Int_t fTestTrain; 87 87 88 88 Bool_t Optimize(MEvtLoop &evtloop); … … 110 110 void SetNumMaxCalls(UInt_t num=0) { fNumMaxCalls=num; } 111 111 void SetTolerance(Float_t tol=0) { fTolerance=tol; } 112 void EnableTestTrain( Bool_t b=kTRUE){ fTestTrain=b; }112 void EnableTestTrain(Int_t b=2) { fTestTrain=b; } 113 113 114 114 // Parameter access
Note:
See TracChangeset
for help on using the changeset viewer.