Linear Collider Forum



Home » Software Tools » LCIO » Daughter Collections
Daughter Collections [message #1710] Thu, 19 March 2009 04:04 Go to previous message
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?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:easier way to test if an object is in an collection?
Next Topic:lsh: this event does not exist
Goto Forum:
  


Current Time: Wed Aug 15 15:56:46 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software