Changeset 1574 for trunk/MagicSoft/Mars/mdata/MDataList.cc
- Timestamp:
- 11/04/02 10:06:08 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdata/MDataList.cc
r1481 r1574 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 04/2002 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 04/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2002 … … 182 182 } 183 183 184 // -------------------------------------------------------------------------- 185 // 186 // PreProcesses all members in the list 187 // 184 188 Bool_t MDataList::PreProcess(const MParList *plist) 185 189 { … … 259 263 */ 260 264 265 // -------------------------------------------------------------------------- 266 // 267 // Builds a rule from all the list members. This is a rule which could 268 // be used to rebuild the list using the constructor of a MDataChain 269 // 261 270 TString MDataList::GetRule() const 262 271 { … … 306 315 return str; 307 316 } 317 318 // -------------------------------------------------------------------------- 319 // 320 // Return a comma seperated list of all data members used in the chain. 321 // This is mainly used in MTask::AddToBranchList 322 // 323 TString MDataList::GetDataMember() const 324 { 325 TString str; 326 327 TIter Next(&fMembers); 328 329 MData *member=(MData*)Next(); 330 331 if (!member->GetDataMember().IsNull()) 332 str += member->GetDataMember(); 333 334 while ((member=(MData*)Next())) 335 { 336 if (!member->GetDataMember().IsNull()) 337 { 338 str += ","; 339 str += member->GetDataMember(); 340 } 341 } 342 343 return str; 344 }
Note:
See TracChangeset
for help on using the changeset viewer.