String tridentCollectionName = "UnconstrainedV0Candidates";
List<ReconstructedParticle> tridentCandidates = null;
if(event.hasCollection(ReconstructedParticle.class, tridentCollectionName)) {
tridentCandidates = event.get(ReconstructedParticle.class, clusterCollectionName);
} else {
tridentCandidates = new ArrayList<ReconstructedParticle>(0);
}
for(Object o : tridentCandidates) {
System.out.println(o.getClass().getName());
}
Use REPLY-ALL to reply to list
To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1