public abstract class ReconCluster extends Object implements Cluster
Modifier and Type | Field and Description |
---|---|
protected double |
a |
protected double |
b |
protected double |
c |
protected double |
d |
protected double |
energy |
protected double |
energyError |
protected Particle |
mcp |
protected double |
neg_energy |
protected ClusterResolutionTables |
parm |
protected double |
phi |
protected double |
radius |
protected double |
sigma |
protected double |
theta |
protected double |
transDist |
Constructor and Description |
---|
ReconCluster(ClusterResolutionTables parm,
Random rand,
Particle mcp,
boolean hist) |
Modifier and Type | Method and Description |
---|---|
void |
adjustEnergy(double neg_energy_total,
double pos_energy_weight_total) |
List |
getCalorimeterHits()
The hits that have been combined to this cluster.
|
List |
getClusters()
The clusters that have been combined to this cluster.
|
double[] |
getDirectionError()
Covariance matrix of the direction (3 Parameters)
|
double |
getEnergy()
Best estimate for total energy of cluster
|
double |
getEnergyError()
Energy error of the cluster.
|
double[] |
getHitContributions()
Returns the energy contribution of the hits
Runs parallel to the CalorimeterHitVec from getCalorimeterHits()
|
double |
getIPhi()
Intrinsic direction of cluster at position: Phi.
|
double |
getITheta()
Intrinsic direction of cluster at position: Theta.
|
Particle |
getMCParticle() |
double |
getNegEnergy() |
int |
getParticleId() |
double[] |
getParticleType() |
double[] |
getPosition()
Position of the cluster.
|
double[] |
getPositionError()
Covariance matrix of the position (6 Parameters)
|
double[] |
getShape()
Shape parameters (6 Parameters) - TO DO: definition
|
double |
getSigma() |
int |
getSize()
Number of hits in cluster.
|
double[] |
getSubdetectorEnergies()
A vector that holds the energy observed in a particular subdetectors.
|
int |
getType()
Flagword that defines the type of cluster.
|
void |
setEnergyError(double energyError) |
protected void |
smear(Random rand,
boolean hist) |
protected void |
smearEnergy(Random rand,
double E,
boolean hist) |
protected void |
smearPosition(Random rand) |
(package private) abstract void |
smearPosition(Random rand,
double E,
boolean hist) |
protected ClusterResolutionTables parm
protected Particle mcp
protected double a
protected double b
protected double c
protected double d
protected double energy
protected double energyError
protected double neg_energy
protected double sigma
protected double phi
protected double radius
protected double theta
protected double transDist
ReconCluster(ClusterResolutionTables parm, Random rand, Particle mcp, boolean hist)
public double getEnergy()
public double getEnergyError()
Cluster
getEnergyError
in interface Cluster
public void setEnergyError(double energyError)
public double getNegEnergy()
public double getSigma()
public void adjustEnergy(double neg_energy_total, double pos_energy_weight_total)
protected void smear(Random rand, boolean hist)
protected void smearEnergy(Random rand, double E, boolean hist)
protected void smearPosition(Random rand)
public Particle getMCParticle()
abstract void smearPosition(Random rand, double E, boolean hist)
public double[] getHitContributions()
Cluster
getHitContributions
in interface Cluster
public List getClusters()
Cluster
getClusters
in interface Cluster
public double[] getSubdetectorEnergies()
Cluster
getSubdetectorEnergies
in interface Cluster
public double[] getPositionError()
Cluster
getPositionError
in interface Cluster
public int getType()
Cluster
public double getITheta()
Cluster
public double getIPhi()
Cluster
public double[] getDirectionError()
Cluster
getDirectionError
in interface Cluster
public List getCalorimeterHits()
Cluster
getCalorimeterHits
in interface Cluster
CalorimeterHit
public double[] getShape()
Cluster
public double[] getPosition()
Cluster
getPosition
in interface Cluster
public double[] getParticleType()
public int getParticleId()
getParticleId
in interface Cluster
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.