ATLAS Offline Software
|
Common sensitive detector class for LAr systems. More...
#include <FCS_StepInfoSD.h>
Public Member Functions | |
FCS_StepInfoSD (G4String a_name, const FCS_Param::Config &config) | |
Constructor. More... | |
virtual G4bool | ProcessHits (G4Step *a_step, G4TouchableHistory *) override |
Main processing method. More... | |
void | EndOfAthenaEvent (ISF_FCS_Parametrization::FCS_StepInfoCollection *hitContnainer) |
End of athena event processing. More... | |
void | setupHelpers (const LArEM_ID *EM, const LArFCAL_ID *FCAL, const LArHEC_ID *HEC, const TileID *tile) |
Sets the ID helper pointers. More... | |
Protected Member Functions | |
void | getCaloDDManager () |
Keep a map instead of trying to keep the full vector. More... | |
void | update_map (const CLHEP::Hep3Vector &l_vec, const Identifier &l_identifier, double l_energy, double l_time, bool l_valid, int l_detector, double timeWindow, double distanceWindow) |
Protected Attributes | |
FCS_Param::Config | m_config |
const LArEM_ID * | m_larEmID {nullptr} |
Pointers to the identifier helpers. More... | |
const LArFCAL_ID * | m_larFcalID {nullptr} |
const LArHEC_ID * | m_larHecID {nullptr} |
const TileID * | m_tileID {nullptr} |
CxxUtils::CachedPointer< const CaloDetDescrManager > | m_calo_dd_man |
std::map< Identifier, std::vector< ISF_FCS_Parametrization::FCS_StepInfo * > * > | m_hit_map |
Private Member Functions | |
double | getMaxTime (const CaloCell_ID::CaloSample &layer) const |
double | getMaxRadius (const CaloCell_ID::CaloSample &layer) const |
double | getMaxDeltaR (const CaloCell_ID::CaloSample &layer) const |
double | getMaxDeltaEta (const CaloCell_ID::CaloSample &layer) const |
double | getMaxDeltaPhi (const CaloCell_ID::CaloSample &layer) const |
Common sensitive detector class for LAr systems.
This SD implementation saves the standard LArHits. See LArG4CalibSD for an SD that handles calibration hits.
Definition at line 92 of file FCS_StepInfoSD.h.
FCS_StepInfoSD::FCS_StepInfoSD | ( | G4String | a_name, |
const FCS_Param::Config & | config | ||
) |
void FCS_StepInfoSD::EndOfAthenaEvent | ( | ISF_FCS_Parametrization::FCS_StepInfoCollection * | hitContnainer | ) |
End of athena event processing.
Definition at line 209 of file FCS_StepInfoSD.cxx.
|
protected |
Keep a map instead of trying to keep the full vector.
At the end of the event we'll push the map back into the FCS_StepInfoCollection in StoreGate.
Definition at line 145 of file FCS_StepInfoSD.cxx.
|
inlineprivate |
NB The result of this function should actually be constant for each SD
Definition at line 94 of file FCS_StepInfoSD.cxx.
|
inlineprivate |
NB The result of this function should actually be constant for each SD
Definition at line 119 of file FCS_StepInfoSD.cxx.
|
inlineprivate |
NB The result of this function should actually be constant for each SD
Definition at line 69 of file FCS_StepInfoSD.cxx.
|
inlineprivate |
NB The result of this function should actually be constant for each SD
Definition at line 54 of file FCS_StepInfoSD.cxx.
|
inlineprivate |
NB The result of this function should actually be constant for each SD
Definition at line 39 of file FCS_StepInfoSD.cxx.
|
overridevirtual |
Main processing method.
Reimplemented in LArFCS_StepInfoSD, and TileFCS_StepInfoSD.
Definition at line 30 of file FCS_StepInfoSD.cxx.
|
inline |
Sets the ID helper pointers.
Definition at line 106 of file FCS_StepInfoSD.h.
|
protected |
Definition at line 158 of file FCS_StepInfoSD.cxx.
|
protected |
Definition at line 128 of file FCS_StepInfoSD.h.
|
protected |
Definition at line 122 of file FCS_StepInfoSD.h.
|
protected |
Definition at line 129 of file FCS_StepInfoSD.h.
Pointers to the identifier helpers.
Definition at line 124 of file FCS_StepInfoSD.h.
|
protected |
Definition at line 125 of file FCS_StepInfoSD.h.
Definition at line 126 of file FCS_StepInfoSD.h.
Definition at line 127 of file FCS_StepInfoSD.h.