Daughter Collections [message #1710] |
Thu, 19 March 2009 04:04  |
oschaefer Messages: 23 Registered: September 2007 Location: University of Rostock / D... |
|
|
|
Somebody told me about this mechanism as the one to use in lcio whenever I wished to simply split up a collection regarding certain criteria but not to modify it.
Now this case appeared: I want to make two collections of hits from the original one, sorted by wether they have contact to the padplane's edge or not. So all the contents of the collection stays the same. The very same "somebody" at that time told me that the new daughter collections only contain pointers to the original objects or so.
But how do I use this mechanism? Does it have something to do with the LCRTRelations? I searched forum and documentation but I can't figure out ...
Assume I have
LCCollectionVec AllHitsColl;
How to obtain the daughter collections?
|
|
|