10#ifndef VXD_DATAOBJECTS_VXDTRUEHIT_H
11#define VXD_DATAOBJECTS_VXDTRUEHIT_H
13#include <vxd/dataobjects/VxdID.h>
14#include <framework/datastore/RelationsObject.h>
15#include <Math/Vector3D.h>
57 VxdID sensorID,
float* posEntry,
float* posMidPoint,
float* posExit,
58 float* momEntry,
float* momMidPoint,
float* momExit,
float energyDep,
float globalTime):
Defines interface for accessing relations of objects in StoreArray.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Class VXDTrueHit - Records of tracks that either enter or leave the sensitive volume.
ROOT::Math::XYZVector getExitMomentum() const
Return momentum at the endpoint of the track.
float m_globalTime
time when the midpoint of the track was reached
float getV() const
Return local v coordinate of hit.
float getGlobalTime() const
Return the time when the track reached its midpoint.
float m_positionExit[3]
local coordinates of the end of the track inside the volume
float getEntryU() const
Return local u coordinate of hit when entering silicon.
float m_energyDep
energy deposited by the track in the sensor volume
float getEnergyDep() const
Return energy deposited during traversal of sensor.
float m_momentumMidPoint[3]
local momentum of the midpoint of the track inside the volume
virtual void shiftInTime(float delta)
Shift the TrueHit in time (for backgorund mixing)
float getExitW() const
Return local w coordinate of hit at the endpoint of the track.
float m_positionMidPoint[3]
local coordinates of the midpoint of the track inside the volume
VXDTrueHit()
Default constructor for ROOT IO.
float m_momentumExit[3]
local momentum of the end of the track inside the volume
unsigned int getRawSensorID() const
Return raw Sensor ID.
float m_momentumEntry[3]
local momentum of the start of the track inside the volume
float m_positionEntry[3]
local coordinates of the start of the track inside the volume
float getEntryW() const
Return local w coordinate of the start point of the track.
VXDTrueHit(VxdID sensorID, float *posEntry, float *posMidPoint, float *posExit, float *momEntry, float *momMidPoint, float *momExit, float energyDep, float globalTime)
Constructor.
float getW() const
Return local w coordinate of hit.
int m_sensorID
ID of the sensor.
ROOT::Math::XYZVector getEntryMomentum() const
Return momentum at the start point of the track.
VxdID getSensorID() const
Return the Sensor ID.
ROOT::Math::XYZVector getMomentum() const
Return momentum at the midpoint of the track.
float getU() const
Return local u coordinate of hit.
float getExitU() const
Return local u coordinate of hit at the endpoint of the track.
float getExitV() const
Return local v coordinate of hit at the endpoint of the track.
float getEntryV() const
Return local v coordinate of the start point of the track.
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.