return kTRUE ;
}
}
- tree->Delete();
-
+ //We can't delete three if gAlice points to it... To be redisigned somehow???!!!
+ if(!fToSplit){
+ if(name.Contains("TreeS"))
+ if(tree!=gAlice->TreeS())
+ tree->Delete();
+ if(name.Contains("TreeD"))
+ if(tree!=gAlice->TreeD())
+ tree->Delete();
+ if(name.Contains("TreeR"))
+ if(tree!=gAlice->TreeR())
+ tree->Delete();
+ }
return kFALSE ;
}
return kTRUE ;
}
}
- tree->Delete();
-
+ //We can't delete three if gAlice points to it... To be redisigned somehow???!!!
+ if(!fToSplit){
+ if(name.Contains("TreeS"))
+ if(tree!=gAlice->TreeS())
+ tree->Delete();
+ if(name.Contains("TreeD"))
+ if(tree!=gAlice->TreeD())
+ tree->Delete();
+ if(name.Contains("TreeR"))
+ if(tree!=gAlice->TreeR())
+ tree->Delete();
+ }
return kFALSE ;
}