Changeset 7838
- Timestamp:
- 08/03/06 14:45:12 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7837 r7838 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2006/08/03 Thomas Bretz 22 23 * mbase/MTask.cc: 24 - do not print number of executions if it is (UInt_t)-1 25 26 * mfileio/MReadReports.cc: 27 - do not allocate a MTime container anymore. This can be done 28 by root automatically which has the advantage that we don't 29 have to care about its deletion 30 - added some more debug output, just in case... 31 32 * mfileio/MReadTree.cc: 33 - fixed a typo in a comment 34 35 20 36 21 37 2006/08/02 Markus Meyer -
trunk/MagicSoft/Mars/NEWS
r7832 r7838 23 23 24 24 - merpp: didn't recognize files with the extension .raw.gz - fixed. 25 26 - callisto: Updated absolute calibration constants (muon calibration) 25 27 26 28 - callisto: Fixed a bug regarding the use of the QE which doesn't -
trunk/MagicSoft/Mars/mbase/MTask.cc
r7808 r7838 440 440 if (HasStreamId()) 441 441 *fLog << GetStreamId() << ":"; 442 *fLog << GetDescriptor() << "\t" << dec << GetNumExecutions(); 442 *fLog << GetDescriptor(); 443 444 if (GetNumExecutions()!=(UInt_t)-1) 445 *fLog << "\t" << dec << GetNumExecutions(); 443 446 444 447 if (fFilter) -
trunk/MagicSoft/Mars/mfileio/MReadReports.cc
r7115 r7838 18 18 ! Author(s): Thomas Bretz, 11/2003 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 320 ! Copyright: MAGIC Software Development, 2000-2006 21 21 ! 22 22 ! … … 104 104 TIter NextC(fChains); 105 105 while ((o=NextC())) 106 {107 106 delete *GetTime((TChain*)o); 108 delete GetTime((TChain*)o);109 }110 107 111 108 delete fTrees; … … 297 294 // 298 295 MTime **tx = new MTime*; 299 *tx = new MTime;296 *tx = 0;//new MTime; 300 297 301 298 TChain *c=new TChain(tree->GetName()); 299 302 300 c->SetBranchStatus("*", 0); 303 301 c->SetBranchAddress(tn, tx); 304 tn+="*";305 c->SetBranchStatus(tn, 1); 302 c->SetBranchStatus(tn2, 1); 303 306 304 c->Add((TChain*)tree->fChain); 307 305 c->GetEntry(0); … … 436 434 } 437 435 438 *fLog << dbg << "Removing chain " << chain->GetName() << " from list ." << endl;436 *fLog << dbg << "Removing chain " << chain->GetName() << " from list" << flush; 439 437 440 438 delete *GetTime(chain); // Delete MTime* 441 delete GetTime(chain); // Delete MTime-instance439 *fLog << "." << flush; 442 440 delete fChains->Remove(chain); // Remove chain from TList 441 *fLog << "." << flush; 443 442 444 443 // FIXME: Maybe MTaskList should have a member function to … … 448 447 // corresponds to the correct task in the list. 449 448 const_cast<TList*>(fTrees->GetList())->Remove(task); 449 *fLog << "." << flush; 450 450 const_cast<TList*>(fTrees->GetList())->AddLast(task); 451 *fLog << "done." << endl; 451 452 } 452 453 -
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r7804 r7838 713 713 // 714 714 // It seems, that TFile and TTree are not completely independant if 715 // many times the same file is opene s(MReadReports) and some of715 // many times the same file is opened (MReadReports) and some of 716 716 // the files in the chains don't have one tree. TChain::fTreeNumber 717 717 // is already set before LoadTree from GetFile is called and
Note:
See TracChangeset
for help on using the changeset viewer.