public abstract class TrackerHitAdapter extends Object implements TrackerHit
TrackerHit
interface.
Methods returning position and covariance matrix in global frame are defined using
methods returning position and covariance matrix in local frame, and vice versa.Modifier and Type | Field and Description |
---|---|
protected TrackerCluster |
_cluster |
protected double |
_signal |
protected double |
_time |
Modifier | Constructor and Description |
---|---|
protected |
TrackerHitAdapter(TrackerCluster cluster) |
protected |
TrackerHitAdapter(TrackerCluster cluster,
double signal,
double time) |
Modifier and Type | Method and Description |
---|---|
TrackerCluster |
getCluster()
Points back to TrackerCluster that produced this hit.
|
SymmetricMatrix |
getCovMatrix()
Returns covariance matrix of the hit in global reference frame.
|
double |
getLength()
Returns length of the segment defining the hit.
|
SymmetricMatrix |
getLocalCovMatrix()
Returns covariance matrix in local frame.
|
Hep3Vector |
getLocalPosition()
Returns position of the hit in local reference frame of the
Sensor . |
SpacePointVector |
getLocalSegment()
Returns SpacePointVector pointing from start to end of the segment
defining the hit in the local reference frame.
|
Hep3Vector |
getPosition()
Returns position of the hit in global reference frame.
|
SpacePointVector |
getSegment()
Returns SpacePointVector pointing from start to end of the segment
defining the hit in the global reference frame.
|
Sensor |
getSensor()
Returns
Sensor object for this hit. |
double |
getSignal()
Returns signal amplitude associated with this hit.
|
double |
getTime()
Returns time associated with this hit.
|
void |
setSignal(double signal)
Set signal value associated with this hit.
|
void |
setTime(double time)
Set time associated with this hit.
|
protected TrackerCluster _cluster
protected double _signal
protected double _time
protected TrackerHitAdapter(TrackerCluster cluster)
protected TrackerHitAdapter(TrackerCluster cluster, double signal, double time)
public Hep3Vector getLocalPosition()
Sensor
.
For a segment-like hit, this is the center of the segment.
Default implementation relies on getPosition()
method.getLocalPosition
in interface TrackerHit
public SymmetricMatrix getLocalCovMatrix()
getCovMatrix()
method.getLocalCovMatrix
in interface TrackerHit
public SpacePointVector getLocalSegment()
getSegment()
method.getLocalSegment
in interface TrackerHit
public Hep3Vector getPosition()
getLocalPosition()
method.getPosition
in interface TrackerHit
public SymmetricMatrix getCovMatrix()
getLocalCovMatrix()
method.getCovMatrix
in interface TrackerHit
public SpacePointVector getSegment()
getLocalSegment()
method.getSegment
in interface TrackerHit
public double getLength()
getSegment()
method.getLength
in interface TrackerHit
public double getSignal()
getSignal
in interface TrackerHit
public void setSignal(double signal)
public double getTime()
getTime
in interface TrackerHit
public void setTime(double time)
public Sensor getSensor()
Sensor
object for this hit.getSensor
in interface TrackerHit
public TrackerCluster getCluster()
getCluster
in interface TrackerHit
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.