Commit in hps-java/src/main/java/org/lcsim/hps/evio on MAIN | |||
TestRunTriggeredReconToLcio.java | +1 | -1 | 1.8 -> 1.9 |
stupid hack to make the stupid hack for filling MCParticle collections work with stdhep "empty" bunches
diff -u -r1.8 -r1.9 --- TestRunTriggeredReconToLcio.java 24 Sep 2012 23:51:46 -0000 1.8 +++ TestRunTriggeredReconToLcio.java 11 Dec 2012 03:12:51 -0000 1.9 @@ -104,7 +104,7 @@
@Override protected void process(EventHeader event) {
- if (event.hasCollection(MCParticle.class, MCEvent.MC_PARTICLES)) {
+ if (event.hasCollection(SimCalorimeterHit.class, ecalCollectionName) && !event.getSimCalorimeterHits(ecalCollectionName).isEmpty()) {
mcParticles = event.getMCParticles(); ecalHits = event.getSimCalorimeterHits(ecalCollectionName); trackerHits = event.getSimTrackerHits(trackerCollectionName);
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1