Linear Collider Forum



Home » Software Tools » LCIO » Error Using LCIOWriter
Re: Error Using LCIOWriter [message #1926 is a reply to message #1925] Mon, 05 April 2010 16:45 Go to previous message
alex.bogert
Messages: 3
Registered: December 2008
I am organizing the MCParticles in each event into BHadrons and their primary decay products. Then using a covariance matrix to calculate the Impact Parameter Significance of each BHadron. Recently I was informed the vertexing code I will be using is written in C++. For convenience I though I could save the organisation I had already accomplished in a lcio formatted file. I was trying to add the list of BHadrons to the EventHeader:
event.put("BHadron", bhMCPList);
lcWriter.addWriteOnly("BHadron");
lcWriter.write(event);

Again this worked for majority of the events. Except random events are being reported as NullPointerExceptions when I read the lcio file in jas3. I was also planning to save the Significance of each BHadron in MetaData but haven't got around to trying that. Hope this is clear.

Alex
 
Read Message
Read Message
Read Message
Previous Topic:Segmentation violation when copying ParticleIDs of ReconstructedParticle
Next Topic:LCIO install error
Goto Forum:
  


Current Time: Wed Aug 15 10:06:10 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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