15#ifndef MINBIASSCINTILLATOR_MINBIASSCINTILLATORSD_H
16#define MINBIASSCINTILLATOR_MINBIASSCINTILLATORSD_H
19#include "G4VSensitiveDetector.hh"
32class G4TouchableHistory;
42 virtual void Initialize(G4HCofThisEvent*)
override final;
44 virtual G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
106 inline double deltaT(
double time)
const {
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Handle class for recording to StoreGate.
double m_deltaT
granularity in time for hits
~MinBiasScintillatorSD()=default
double deltaT(double time) const
function to provide correct deltaT bin width for given time
std::vector< TileSimHit * > m_tempSimHit
local temporary TileSimHit for each cell (size=nCell).
const MinBiasScintSDOptions m_options
G4double BirkLaw(const G4Step *aStep) const
MinBiasScintillatorSD(const G4String &name, const std::string &hitCollectionName, const MinBiasScintSDOptions &opts)
int cell_index(int side, int phi, int eta) const
Identifier m_channelID[N_CELLS]
array to cache look-ups of Identifiers for each cell (size=nCell).
const TileTBID * m_tileTBID
std::vector< int > m_numberOfHitsInCell
number of contributions to the energy in each cell (size=nCell).
int dist_index(int side, int eta) const
double m_lateHitTime
time for hits which are above m_timeCut threshold it is equal to m_tilesize_deltaT - m_deltaT
virtual void Initialize(G4HCofThisEvent *) override final
double m_timeCut
max allowed time for hits
double m_deltaT_cell[N_DIST]
std::vector< double > m_deltaTvec
SG::WriteHandle< TileHitVector > m_HitColl
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.