11 #include <framework/datastore/RelationsObject.h>
49 TVector3 emissionPoint,
52 TVector3 detectionPoint,
53 TVector3 detectionMom,
60 m_xe = (float) emissionPoint.x();
61 m_ye = (float) emissionPoint.y();
62 m_ze = (float) emissionPoint.z();
63 m_pxe = (float) emissionMom.x();
64 m_pye = (float) emissionMom.y();
65 m_pze = (float) emissionMom.z();
66 m_te = (float) emissionTime;
67 m_xd = (float) detectionPoint.x();
68 m_yd = (float) detectionPoint.y();
69 m_zd = (float) detectionPoint.z();
70 m_pxd = (float) detectionMom.x();
71 m_pyd = (float) detectionMom.y();
72 m_pzd = (float) detectionMom.z();
73 m_td = (float) detectionTime;
Defines interface for accessing relations of objects in StoreArray.
Class to store Cherenkov photons at emission and at detection relation to TOPSimHit filled in top/sim...
float m_zd
detection point, z component
double getDetectionTime() const
Returns detection time.
TVector3 getEmissionPoint() const
Returns emission point.
TVector3 getDetectionDir() const
Returns detection momentum direction (unit vector)
float m_ye
emission point, y component
float m_pxd
detection momentum (direction), x component
TVector3 getEmissionDir() const
Returns emission momentum direction (unit vector)
float m_xe
emission point, x component
float m_energy
photon energy in [eV]
TOPSimPhoton(int moduleID, TVector3 emissionPoint, TVector3 emissionMom, double emissionTime, TVector3 detectionPoint, TVector3 detectionMom, double detectionTime, double length, double energy_eV)
Full constructor.
double getEnergy() const
Returns photon energy.
TVector3 getDetectionPoint() const
Returns detection point.
float m_pze
emission momentum (direction), z component
int m_moduleID
TOP module ID.
ClassDef(TOPSimPhoton, 2)
ClassDef.
float m_pzd
detection momentum (direction), z component
int getModuleID() const
Returns module ID.
TOPSimPhoton()
Default constructor.
float m_pye
emission momentum (direction), y component
float m_pyd
detection momentum (direction), y component
float m_yd
detection point, y component
double getEmissionTime() const
Returns emission time.
float m_ze
emission point, z component
float m_xd
detection point, x component
float m_length
propagation length
float m_pxe
emission momentum (direction), x component
double getLength() const
Returns propagation length.
Abstract base class for different kinds of events.