11#include <Math/Vector3D.h>
13#include <simulation/dataobjects/SimHitBase.h>
37 ROOT::Math::XYZVector posIn,
38 ROOT::Math::XYZVector momIn,
39 ROOT::Math::XYZVector posOut,
40 ROOT::Math::XYZVector momOut,
43 const std::string& Volname
56 void setposIn(ROOT::Math::XYZVector posIn);
57 void setmomIn(ROOT::Math::XYZVector momIn);
58 void setposOut(ROOT::Math::XYZVector posOut);
59 void setmomOut(ROOT::Math::XYZVector momOut);
Class for saving raw hit data of the IR.
void setdepEnergy(float depEnergy)
Set PDF code.
ROOT::Math::XYZVector m_posIn
return volume name
ROOT::Math::XYZVector m_posOut
End point of energy deposition in local coordinates.
ROOT::Math::XYZVector m_momIn
Momentum of particle at start of energy deposition.
float getdepEnergy()
return PDG code
ClassDef(IRSimHit, 2)
ROOT Macro.
ROOT::Math::XYZVector getmomOut()
return position at end point
ROOT::Math::XYZVector getmomIn()
return position at start point
std::string getVolname()
return deposited energy
std::string m_Volname
Volume name.
int getPDGcode()
return momentum at end point
ROOT::Math::XYZVector getposIn()
Set volume name.
void setPDGcode(int PDGcode)
Set momentum at end point.
void setmomIn(ROOT::Math::XYZVector momIn)
Set position at start point.
void setVolname(const std::string &Volname)
Set deposited energy.
void setmomOut(ROOT::Math::XYZVector momOut)
Set position at end point.
int m_PDGcode
PDG code of the particle producing hit.
float m_depEnergy
Deposited energy.
IRSimHit(ROOT::Math::XYZVector posIn, ROOT::Math::XYZVector momIn, ROOT::Math::XYZVector posOut, ROOT::Math::XYZVector momOut, int PDGcode, float depEnergy, const std::string &Volname)
Full Constructor.
void setposIn(ROOT::Math::XYZVector posIn)
The method to set.
ROOT::Math::XYZVector getposOut()
return momentum at start point
void setposOut(ROOT::Math::XYZVector posOut)
Set momentum at start point.
IRSimHit()
Empty constructor for ROOT IO.
ROOT::Math::XYZVector m_momOut
Momentum of particle at end of energy deposition.
Class SimHitBase - A common base for subdetector SimHits.
Abstract base class for different kinds of events.