11#include <simulation/kernel/SensitiveDetectorBase.h>
12#include <G4EmSaturation.hh>
14#include <Math/Vector3D.h>
22 namespace qcsmonitor {
40 ROOT::Math::XYZVector WightedPos
47 bool step(G4Step*
step, G4TouchableHistory*)
override;
Base class for all Sensitive Detectors to create hits during simulation.
Sensitive Detector implementation of the QCSMONITOR detector.
int m_thetaID
The current phi ID in an event.
double m_energyDeposit
particle energy at the entrance in volume
int m_EvnetNumber
The current number of created hits in an event.
int saveSimHit(const G4int cellId, const G4int trackID, const G4int pid, const G4double tof, const G4double edep, G4ThreeVector mom, ROOT::Math::XYZVector WightedPos)
Save QcsmonitorSimHit into datastore.
int TimeIndex
Hit Energy of StoreArray.
int m_trackID
The current number of created hits in an event.
int m_hitNum
members of SensitiveDetector
int firstcall
flight time to diode sensor
double m_endTime
global time
double T_ave
position alongthe vector of crystal axis
double local_pos
vector of crystal axis
double m_WightedTime
global time
G4ThreeVector m_momentum
Wighted step Position.
int m_cellID
The current theta ID in an event.
ROOT::Math::XYZVector PosCell
Hit Time of StoreArray.
double m_startEnergy
global time
double m_startTime
momentum of track
G4EmSaturation * saturationEngine
The current cellID in an event.
int iECLCell
length of the track in the volume
double m_trackLength
energy deposited in volume
int m_oldEvnetNumber
The current number of created hits in an event.
ROOT::Math::XYZVector VecCell
center of crystal position
G4ThreeVector m_startPos
track id
ROOT::Math::XYZVector m_WightedPos
Position of poststep.
~SensitiveDetector()
Destructor.
G4ThreeVector m_endPos
Position of prestep.
SensitiveDetector()
Constructor.
int m_phiID
flag of first call
bool step(G4Step *step, G4TouchableHistory *) override
Step processing method.
Abstract base class for different kinds of events.