Changeset 4698
- Timestamp:
- 08/23/04 09:06:37 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4695 r4698 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/08/23: Thomas Bretz 23 24 * mbadpixels/MBadPixelsTreat.[h,cc]: 25 - changed missleading ProcessRMS to ProcessPedestal 26 27 * mfileio/MReadTree.h: 28 - added AddFiles(MDirIter&) which is overloaded by another function 29 which resulted in some trouble 30 31 * mfileio/MWriteRootFile.[h,cc]: 32 - added cd() member function 33 34 21 35 22 36 2004/08/20: Thomas Bretz -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r4635 r4698 537 537 // -------------------------------------------------------------------------- 538 538 // 539 // Interpolate Pedestals if kProcess RMSnot set539 // Interpolate Pedestals if kProcessPedestal not set 540 540 // 541 541 Bool_t MBadPixelsTreat::ReInit(MParList *pList) 542 542 { 543 if (!TESTBIT(fFlags, kProcess RMS))543 if (!TESTBIT(fFlags, kProcessPedestal)) 544 544 InterpolatePedestals(); 545 545 return kTRUE; … … 555 555 { 556 556 InterpolateSignal(); 557 if (TESTBIT(fFlags, kProcess RMS))557 if (TESTBIT(fFlags, kProcessPedestal)) 558 558 InterpolatePedestals(); 559 559 } … … 580 580 if (TESTBIT(fFlags, kUseCentralPixel)) 581 581 out << " " << GetUniqueName() << ".SetUseCentralPixel();" << endl; 582 if (TESTBIT(fFlags, kProcess RMS))583 out << " " << GetUniqueName() << ".SetProcess RMS();" << endl;582 if (TESTBIT(fFlags, kProcessPedestal)) 583 out << " " << GetUniqueName() << ".SetProcessPedestal();" << endl; 584 584 if (TESTBIT(fFlags, kHardTreatment)) 585 585 out << " " << GetUniqueName() << ".SetHardTreatment();" << endl; … … 594 594 // MBadPixelsTreat.UseCentralPixel: no 595 595 // MBadPixelsTreat.HardTreatment: no 596 // MBadPixelsTreat.Process RMS:no596 // MBadPixelsTreat.ProcessPedestal: no 597 597 // MBadPixelsTreat.NumMinNeighbors: 3 598 598 // … … 615 615 SetHardTreatment(GetEnvValue(env, prefix, "HardTreatment", IsHardTreatment())); 616 616 } 617 if (IsEnvDefined(env, prefix, "Process RMS", print))617 if (IsEnvDefined(env, prefix, "ProcessPedestal", print)) 618 618 { 619 619 rc = kTRUE; 620 SetProcess RMS(GetEnvValue(env, prefix, "ProcessRMS", IsProcessRMS()));620 SetProcessPedestal(GetEnvValue(env, prefix, "ProcessPedestal", IsProcessPedestal())); 621 621 } 622 622 if (IsEnvDefined(env, prefix, "NumMinNeighbors", print)) -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h
r4633 r4698 27 27 kUseInterpolation = 1, 28 28 kUseCentralPixel = 2, 29 kProcess RMS= 3,29 kProcessPedestal = 3, 30 30 kHardTreatment = 4 31 31 }; … … 56 56 b ? SETBIT(fFlags, kUseCentralPixel) : CLRBIT(fFlags, kUseCentralPixel); 57 57 } 58 void SetProcess RMS(Bool_t b=kTRUE)58 void SetProcessPedestal(Bool_t b=kTRUE) 59 59 { 60 b ? SETBIT(fFlags, kProcess RMS) : CLRBIT(fFlags, kProcessRMS);60 b ? SETBIT(fFlags, kProcessPedestal) : CLRBIT(fFlags, kProcessPedestal); 61 61 } 62 62 void SetHardTreatment(Bool_t b=kTRUE) … … 66 66 67 67 Bool_t IsHardTreatment() const { return TESTBIT(fFlags, kHardTreatment); } 68 Bool_t IsProcess RMS() const { return TESTBIT(fFlags, kProcessRMS); }68 Bool_t IsProcessPedestal() const { return TESTBIT(fFlags, kProcessPedestal); } 69 69 Bool_t IsUseCentralPixel() const { return TESTBIT(fFlags, kUseCentralPixel); } 70 70 Bool_t IsUseInterpolation() const { return TESTBIT(fFlags, kUseInterpolation); } -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r3682 r4698 71 71 virtual Int_t AddFile(const char *fname, Int_t entries=-1); 72 72 virtual Int_t AddFiles(const MReadTree &read); 73 Int_t AddFiles(MDirIter &dir) { return MRead::AddFiles(dir); } 73 74 74 75 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r4694 r4698 775 775 // -------------------------------------------------------------------------- 776 776 // 777 // cd into file. See TFile::cd() 778 // 779 Bool_t MWriteRootFile::cd(const char *path) 780 { 781 return fOut->cd(path); 782 } 783 784 // -------------------------------------------------------------------------- 785 // 777 786 // Implementation of SavePrimitive. Used to write the call to a constructor 778 787 // to a macro. In the original root implementation it is used to write -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.h
r4694 r4698 128 128 void Print(Option_t *t=NULL) const; 129 129 130 Bool_t cd(const char *path=0); 131 130 132 ClassDef(MWriteRootFile, 1) // Task to write data into a root file 131 133 };
Note:
See TracChangeset
for help on using the changeset viewer.