Changeset 1344 for trunk/MagicSoft/Mars
- Timestamp:
- 06/04/02 11:50:06 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MReadTree.cc
r1340 r1344 152 152 MReadTree::~MReadTree() 153 153 { 154 // 155 // Delete all the pointers to pointers to the objects where the 156 // branche data gets stored. 157 // 158 TIter Next(fChain->GetStatus()); 159 160 TChainElement *element = NULL; 161 while ((element=(TChainElement*)Next())) 162 delete (MParContainer**)element->GetBaddress(); 163 164 // 165 // Delete the chain and the veto list 166 // 154 167 #if ROOT_VERSION_CODE < ROOT_VERSION(3,03,00) 155 168 if (fChain->GetFile()) 156 169 delete fChain->GetFile(); 157 170 #endif 158 //159 // Delete all the pointers to pointers to the objects where the160 // branche data gets stored.161 //162 TIter Next(fChain->GetStatus());163 164 TChainElement *element = NULL;165 while ((element=(TChainElement*)Next()))166 delete (MParContainer**)element->GetBaddress();167 168 //169 // Delete the chain and the veto list170 //171 171 delete fChain; 172 172 173 delete fNotify; 173 174 delete fVetoList; … … 288 289 // 289 290 // Remove trailing '.' if one and try to enable the subbranch without 290 // the master b arnch name. This is to be compatible with older mars291 // the master branch name. This is to be compatible with older mars 291 292 // and camera files. 292 293 //
Note:
See TracChangeset
for help on using the changeset viewer.