Linear Collider Forum



Home » Software Tools » org.lcsim » LCRelation
Re: LCRelation [message #1479 is a reply to message #1477] Tue, 03 June 2008 12:08 Go to previous messageGo to previous message
bjasper
Messages: 33
Registered: March 2007
Location: University of Regina
List<LCRelation> TracksToMC = event.get(LCRelation.class,"TracksToMCP");

for(LCRelatiom TtoMC: TracksToMC){
   Object FastTrack = TtoMC.getFrom();
   Object MCP = TtoMC.getTo();
}


So the "From" column is a list of references to FastMCTracks and the "To" column is a list of references to MCParticles, but LCRelation returns them as objects
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Cluster analysis
Next Topic:java.lang.OutOfMemoryError:
Goto Forum:
  


Current Time: Mon Jul 16 07:45:56 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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