5#ifndef ISF_FASTCALOSIM_FCS_STEPINFOSD_H
6#define ISF_FASTCALOSIM_FCS_STEPINFOSD_H
11#include "CLHEP/Units/SystemOfUnits.h"
15#include "G4VSensitiveDetector.hh"
24class G4TouchableHistory;
77 virtual G4bool
ProcessHits(G4Step* a_step, G4TouchableHistory*)
override;
97 void update_map(
const CLHEP::Hep3Vector& l_vec,
98 const Identifier& l_identifier,
double l_energy,
99 double l_time,
bool l_valid,
int l_detector);
107 std::map<Identifier, std::vector<ISF_FCS_Parametrization::FCS_StepInfo*>*>
Cached pointer with atomic update.
Definition of CaloDetDescrManager.
CaloSampling::CaloSample CaloSample
FCS_Param::Config m_config
double getMaxTime(const CaloCell_ID::CaloSample &layer) const
void setupHelpers(const LArEM_ID *EM, const LArFCAL_ID *FCAL, const LArHEC_ID *HEC, const TileID *tile)
Sets the ID helper pointers.
void update_map(const CLHEP::Hep3Vector &l_vec, const Identifier &l_identifier, double l_energy, double l_time, bool l_valid, int l_detector)
CxxUtils::CachedPointer< const CaloDetDescrManager > m_calo_dd_man
std::map< Identifier, std::vector< ISF_FCS_Parametrization::FCS_StepInfo * > * > m_hit_map
const LArHEC_ID * m_larHecID
FCS_StepInfoSD(G4String a_name, const FCS_Param::Config &config)
Constructor.
virtual G4bool ProcessHits(G4Step *a_step, G4TouchableHistory *) override
Main processing method.
const LArFCAL_ID * m_larFcalID
const LArEM_ID * m_larEmID
Pointers to the identifier helpers.
void getCaloDDManager()
Keep a map instead of trying to keep the full vector.
void EndOfAthenaEvent(ISF_FCS_Parametrization::FCS_StepInfoCollection *hitContnainer)
End of athena event processing.
Class for collection of StepInfo class (G4 hits) copied and modified version to ISF.
Helper class for LArEM offline identifiers.
Helper class for LArFCAL offline identifiers.
Helper class for LArHEC offline identifiers.
The Athena Transient Store API.
Helper class for TileCal offline identifiers.
std::vector< double > m_maxRadiusLateral
property, see LArG4GenShowerLib::LArG4GenShowerLib
std::vector< double > m_maxRadiusLongitudinal
property, see LArG4GenShowerLib::LArG4GenShowerLib
ITileCalculator * m_TileCalculator
ILArCalculatorSvc * m_LArCalculator
int verboseLevel
Helper to keep the same verbosity everywhere.
Cached pointer with atomic update.