11#include <framework/datastore/RelationsObject.h>
12#include <Math/Vector3D.h>
13#include <Math/Point3D.h>
51 ROOT::Math::XYZPoint emissionPoint,
52 ROOT::Math::XYZVector emissionMom,
54 ROOT::Math::XYZPoint detectionPoint,
55 ROOT::Math::XYZVector detectionMom,
62 m_xe = (float) emissionPoint.X();
63 m_ye = (float) emissionPoint.Y();
64 m_ze = (float) emissionPoint.Z();
65 m_pxe = (float) emissionMom.X();
66 m_pye = (float) emissionMom.Y();
67 m_pze = (float) emissionMom.Z();
68 m_te = (float) emissionTime;
69 m_xd = (float) detectionPoint.X();
70 m_yd = (float) detectionPoint.Y();
71 m_zd = (float) detectionPoint.Z();
72 m_pxd = (float) detectionMom.X();
73 m_pyd = (float) detectionMom.Y();
74 m_pzd = (float) detectionMom.Z();
75 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.
ROOT::Math::XYZPoint getEmissionPoint() const
Returns emission point.
float m_ye
emission point, y component
float m_pxd
detection momentum (direction), x component
float m_xe
emission point, x component
float m_energy
photon energy in [eV]
double getEnergy() const
Returns photon energy.
TOPSimPhoton(int moduleID, ROOT::Math::XYZPoint emissionPoint, ROOT::Math::XYZVector emissionMom, double emissionTime, ROOT::Math::XYZPoint detectionPoint, ROOT::Math::XYZVector detectionMom, double detectionTime, double length, double energy_eV)
Full constructor.
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
ROOT::Math::XYZPoint getDetectionPoint() const
Returns detection point.
ROOT::Math::XYZVector getDetectionDir() const
Returns detection momentum direction (unit vector)
double getEmissionTime() const
Returns emission time.
float m_ze
emission point, z component
ROOT::Math::XYZVector getEmissionDir() const
Returns emission momentum direction (unit vector)
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.