public class Sensor extends Object
Modifier and Type | Field and Description |
---|---|
private IDetectorElement |
_de |
private int |
_id |
private Transformation3D |
_rotation |
private Hep3Vector |
_translation |
private SensorType |
_type |
Constructor and Description |
---|
Sensor(IDetectorElement de,
int id,
SensorType type,
Hep3Vector translation,
Transformation3D rotation) |
Modifier and Type | Method and Description |
---|---|
IDetectorElement |
getDetectorElement()
Returns
IDetectorElement object this sensor belongs to. |
int |
getID()
Returns a unique integer ID associated with this sensor.
|
Transformation3D |
getRotation()
Returns transformation from translated global to local reference frame.
|
Hep3Vector |
getTranslation()
Returns vector in global frame pointing from global to local reference frame origin.
|
SensorType |
getType()
Returns
SensorType object representing the geometry of this sensor. |
Hep3Vector |
globalToLocal(Hep3Vector point)
Converts vector coordinates from global to local reference frame.
|
SymmetricMatrix |
globalToLocal(SymmetricMatrix covMatrix)
Converts covariance matrix from global to local reference frame.
|
SymmetricMatrix |
globalToLocal(SymmetricMatrix covMatrix,
Hep3Vector position)
Converts covariance matrix from global to local reference frame.
|
Hep3Vector |
localToGlobal(Hep3Vector point)
Converts vector coordinates from local to global reference frame.
|
SymmetricMatrix |
localToGlobal(SymmetricMatrix covMatrix)
Converts covariance matrix from local to global reference frame.
|
SymmetricMatrix |
localToGlobal(SymmetricMatrix covMatrix,
Hep3Vector position)
Converts covariance matrix from local to global reference frame.
|
private IDetectorElement _de
private SensorType _type
private int _id
private Hep3Vector _translation
private Transformation3D _rotation
public Sensor(IDetectorElement de, int id, SensorType type, Hep3Vector translation, Transformation3D rotation)
public IDetectorElement getDetectorElement()
IDetectorElement
object this sensor belongs to.public SensorType getType()
SensorType
object representing the geometry of this sensor.public int getID()
public Hep3Vector getTranslation()
public Transformation3D getRotation()
public Hep3Vector localToGlobal(Hep3Vector point)
public Hep3Vector globalToLocal(Hep3Vector point)
public SymmetricMatrix localToGlobal(SymmetricMatrix covMatrix)
public SymmetricMatrix globalToLocal(SymmetricMatrix covMatrix)
public SymmetricMatrix localToGlobal(SymmetricMatrix covMatrix, Hep3Vector position)
public SymmetricMatrix globalToLocal(SymmetricMatrix covMatrix, Hep3Vector position)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.