Author: [log in to unmask] Date: Wed Jan 7 18:11:18 2015 New Revision: 3485 Log: Implement method added to API. Modified: projects/lcsim/trunk/cal-recon/src/main/java/org/lcsim/recon/cluster/util/FixedConeClusterPropertyCalculator.java Modified: projects/lcsim/trunk/cal-recon/src/main/java/org/lcsim/recon/cluster/util/FixedConeClusterPropertyCalculator.java ============================================================================= --- projects/lcsim/trunk/cal-recon/src/main/java/org/lcsim/recon/cluster/util/FixedConeClusterPropertyCalculator.java (original) +++ projects/lcsim/trunk/cal-recon/src/main/java/org/lcsim/recon/cluster/util/FixedConeClusterPropertyCalculator.java Wed Jan 7 18:11:18 2015 @@ -6,6 +6,7 @@ import org.lcsim.geometry.IDDecoder; import org.lcsim.util.fourvec.Lorentz4Vector; import org.lcsim.util.fourvec.Momentum4Vector; +import org.lcsim.event.Cluster; import org.lcsim.event.base.ClusterPropertyCalculator; /** @@ -42,6 +43,11 @@ { layers = 100; } + + public void calculateProperties(Cluster cluster) { + calculateProperties(cluster.getCalorimeterHits()); + } + public void calculateProperties(List<CalorimeterHit> hits) { _vec = calculateVec(hits); ######################################################################## 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