12#include <simulation/dataobjects/SimHitBase.h>
Class to store simulated hits which equate to average of CsiSimHit on crystals Input for digitization...
double getTimeAve() const
Get average time.
void setEnergyDep(double Edep)
Set deposit energy.
int getCellId() const
Get Cell ID.
void setCellId(int CellId)
Set Cell ID.
double getEnergyDep() const
Get deposit energy.
float m_Edep
deposited energy
float m_TimeAve
average time
ClassDefOverride(CsiHit, 3)
ClassDef.
CsiHit(int CellId, float Edep, float TimeAve, float TimeVar)
Useful Constructor.
float m_TimeVar
time variance
double getTimeVar() const
Get time variance.
void setTimeVar(double TimeVar)
Set time variance.
void shiftInTime(float delta) override
Shift the Hit in time (needed for beam background mixing)
CsiHit()
default constructor for ROOT
void setTimeAve(double TimeAve)
Set average time.
Class SimHitBase - A common base for subdetector SimHits.
Abstract base class for different kinds of events.