public class FixedConeClusterPropertyCalculator extends Object implements ClusterPropertyCalculator
Modifier and Type | Field and Description |
---|---|
private double[] |
_centroid |
private double |
_chisq |
private double |
_clusterEnergy |
private IDDecoder |
_decoder |
private double[] |
_directionCosines |
private double |
_highestCellEnergy |
private CalorimeterHit |
_hottestCell |
private double |
_iphi |
private boolean |
_isEndCap |
private boolean |
_isNorth |
private double |
_itheta |
private double[] |
_layerEnergy |
private double[] |
_layerWidth |
private double |
_samplingFraction |
private Lorentz4Vector |
_vec |
private double |
_width |
private int |
layers |
Constructor and Description |
---|
FixedConeClusterPropertyCalculator()
Fully qualified constructor
|
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.
|
Lorentz4Vector |
calculateVec(List<CalorimeterHit> hits)
Calculate the cluster four-momentum.
|
double[] |
centroid()
The unweighted spatial centroid (x,y,z) of the cluster line fit
|
double |
chisq() |
double |
clusterEnergy()
The cluster energy corrected for sampling fractions
|
double[] |
directionCosines()
The direction cosines of the cluster line fit
|
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
|
double |
highestCellEnergy()
The energy of the highest energy cell in this cluster
|
CalorimeterHit |
hottestCell()
The CalorimeterHit in this cluster with the highest energy
|
boolean |
isEndCap()
Returns topological position of cluster.
|
boolean |
isNorth()
Returns topological position of cluster.
|
double[] |
layerEnergies()
The cluster layer energies
|
double |
layerEnergy(int layer)
The cluster energy deposited in a specific layer
|
double |
layerWidth(int layer)
The cluster width (energy second moment) deposited in a specific layer
|
void |
setChisq(double chisq) |
Lorentz4Vector |
vector()
The cluster four-momentum
|
double |
width()
The cluster width (energy second moment).
|
private IDDecoder _decoder
private Lorentz4Vector _vec
private double _width
private double[] _layerEnergy
private double _clusterEnergy
private double[] _layerWidth
private double[] _centroid
private double[] _directionCosines
private double _samplingFraction
private CalorimeterHit _hottestCell
private double _highestCellEnergy
private boolean _isEndCap
private boolean _isNorth
private double _chisq
private int layers
private double _itheta
private double _iphi
public FixedConeClusterPropertyCalculator()
public void calculateProperties(Cluster cluster)
ClusterPropertyCalculator
calculateProperties
in interface ClusterPropertyCalculator
public void calculateProperties(List<CalorimeterHit> hits)
ClusterPropertyCalculator
calculateProperties
in interface ClusterPropertyCalculator
public Lorentz4Vector calculateVec(List<CalorimeterHit> hits)
public double width()
public Lorentz4Vector vector()
public double layerEnergy(int layer)
public double[] layerEnergies()
public double clusterEnergy()
public double highestCellEnergy()
public CalorimeterHit hottestCell()
public double layerWidth(int layer)
public double[] centroid()
public double[] directionCosines()
public boolean isEndCap()
public boolean isNorth()
public void setChisq(double chisq)
public double chisq()
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.