Author: [log in to unmask]
Date: Thu Sep 3 14:29:18 2015
New Revision: 3656
Log:
Fix problem where MCParticle collection from LCIO event source was not saved to output. SLIC-250
Modified:
projects/slic/trunk/src/TrackManager.cc
Modified: projects/slic/trunk/src/TrackManager.cc
=============================================================================
--- projects/slic/trunk/src/TrackManager.cc (original)
+++ projects/slic/trunk/src/TrackManager.cc Thu Sep 3 14:29:18 2015
@@ -101,6 +101,9 @@
}
}
+ /* Set flag so it is saved. */
+ mcpVec->setFlag(0xe0000000);
+
/* Save the MCParticle collection into the event. */
lcEvent->addCollection((LCCollection*)mcpVec, "MCParticle");
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1
|