Changeset 8389
- Timestamp:
- 04/03/07 15:37:57 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8387 r8389 19 19 -*-*- END OF LINE -*-*- 20 20 21 2007/04/03 Thomas Bretz 22 23 * mjobs/MDataSet.cc: 24 - added processing of RunTime and Name resource 25 26 27 21 28 2007/03/29 Thomas Bretz 22 29 -
trunk/MagicSoft/Mars/mjobs/MDataSet.cc
r8282 r8389 194 194 MDataSet::MDataSet(const char *fname, TString sequences, TString data) 195 195 { 196 fName 196 fName = fname; 197 197 198 198 fSequencesOn.SetOwner(); 199 199 fSequencesOff.SetOwner(); 200 200 201 const char *expname = gSystem->ExpandPathName(fname); 202 203 fTitle = Form("Dataset contained in file %s", expname); 201 TString expname(fname); 202 gSystem->ExpandPathName(expname); 204 203 205 204 const Bool_t access = !gSystem->AccessPathName(expname, kFileExists); … … 208 207 209 208 MEnv env(expname); 210 delete [] expname; 211 212 f NumAnalysis = env.GetValue("AnalysisNumber", -1);209 210 fNumAnalysis = env.GetValue("AnalysisNumber", -1); 211 fTitle = env.GetValue("Name", expname); 213 212 214 213 TString str; … … 235 234 fCatalog = fCatalog.Strip(TString::kBoth); 236 235 236 // --- Now "touch" resources which are not yet stored in MDataSet --- 237 env.Touch("RunTime"); 238 239 // --- Print "untouch" resources --- 237 240 if (env.GetNumUntouched()>0) 238 241 { … … 268 271 } 269 272 gLog << "AnalysisNumber: " << fNumAnalysis << endl << endl; 273 274 if (!fTitle.IsNull()) 275 gLog << "Name: " << fTitle << endl << endl; 276 270 277 gLog << "SequencesOn: "; 271 278 for (int i=0; i<fNumSequencesOn.GetSize(); i++) … … 282 289 gLog << "WobbleMode: " << (fIsWobbleMode?"On":"Off") << endl << endl; 283 290 291 292 284 293 gLog << "Comment: " << fComment << endl; 285 294
Note:
See TracChangeset
for help on using the changeset viewer.