Author: [log in to unmask] Date: Mon Mar 23 17:15:44 2015 New Revision: 3573 Log: Add setting of collection parameters to public API. Modified: projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/EventHeader.java projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/base/BaseLCSimEvent.java Modified: projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/EventHeader.java ============================================================================= --- projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/EventHeader.java (original) +++ projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/EventHeader.java Mon Mar 23 17:15:44 2015 @@ -89,6 +89,18 @@ * @param readoutName The name of the readout to be used to decode hits in this collection */ void put(String name, List collection, Class type, int flags, String readoutName); + + /** + * + * @param name + * @param collection + * @param type + * @param flags + * @param intMap + * @param floatMap + * @param stringMap + */ + public void put(String name, List collection, Class type, int flags, Map intMap, Map floatMap, Map stringMap); /** * Removes an item from the event Modified: projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/base/BaseLCSimEvent.java ============================================================================= --- projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/base/BaseLCSimEvent.java (original) +++ projects/lcsim/trunk/event-model/src/main/java/org/lcsim/event/base/BaseLCSimEvent.java Mon Mar 23 17:15:44 2015 @@ -14,13 +14,9 @@ import org.lcsim.conditions.ConditionsManager; import org.lcsim.conditions.ConditionsManager.ConditionsNotFoundException; -import org.lcsim.event.Cluster; import org.lcsim.event.EventHeader; import org.lcsim.event.Hit; import org.lcsim.event.MCParticle; -import org.lcsim.event.SimCalorimeterHit; -import org.lcsim.event.SimTrackerHit; -import org.lcsim.event.Track; import org.lcsim.geometry.Detector; import org.lcsim.geometry.IDDecoder; import org.lcsim.geometry.util.BaseIDDecoder; @@ -152,7 +148,7 @@ } } - protected void put(String name, List collection, Class type, int flags, Map intMap, Map floatMap, Map stringMap) { + public void put(String name, List collection, Class type, int flags, Map intMap, Map floatMap, Map stringMap) { super.put(name, collection); LCMetaData meta = new MetaData(name, type, flags, intMap, floatMap, stringMap); metaDataMap.put(collection, meta); ######################################################################## 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