public abstract class AbstractClusterPropertyCalculator extends Object implements ClusterPropertyCalculator
ClusterPropertyCalculator
.Modifier and Type | Field and Description |
---|---|
protected double[] |
directionError |
protected double |
iphi |
protected double |
itheta |
protected double[] |
position |
protected double[] |
positionError |
protected double[] |
shapeParameters |
Constructor and Description |
---|
AbstractClusterPropertyCalculator() |
Modifier and Type | Method and Description |
---|---|
void |
calculateProperties(Cluster cluster)
Calculate properties from a cluster.
|
void |
calculateProperties(List<CalorimeterHit> hits)
Calculate properties from a CalorimeterHit list.
|
double[] |
getDirectionError()
Return direction error
|
double |
getIPhi()
Return phi direction
|
double |
getITheta()
Return theta direction
|
double[] |
getPosition()
Return position
|
double[] |
getPositionError()
Return position error
|
double[] |
getShapeParameters()
Return shape parameters
|
protected void |
reset() |
protected double[] position
protected double[] positionError
protected double iphi
protected double itheta
protected double[] directionError
protected double[] shapeParameters
public void calculateProperties(List<CalorimeterHit> hits)
ClusterPropertyCalculator
calculateProperties
in interface ClusterPropertyCalculator
public void calculateProperties(Cluster cluster)
ClusterPropertyCalculator
calculateProperties
in interface ClusterPropertyCalculator
protected void reset()
public double[] getPosition()
ClusterPropertyCalculator
getPosition
in interface ClusterPropertyCalculator
public double[] getPositionError()
ClusterPropertyCalculator
getPositionError
in interface ClusterPropertyCalculator
public double getIPhi()
ClusterPropertyCalculator
getIPhi
in interface ClusterPropertyCalculator
public double getITheta()
ClusterPropertyCalculator
getITheta
in interface ClusterPropertyCalculator
public double[] getDirectionError()
ClusterPropertyCalculator
getDirectionError
in interface ClusterPropertyCalculator
public double[] getShapeParameters()
ClusterPropertyCalculator
getShapeParameters
in interface ClusterPropertyCalculator
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.