![]() |
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) |
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 |
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 71 of file FCS_StepInfoSD.h.
FCS_StepInfoSD::FCS_StepInfoSD | ( | G4String | a_name, |
const FCS_Param::Config & | config | ||
) |
Constructor.
Definition at line 21 of file FCS_StepInfoSD.cxx.
void FCS_StepInfoSD::EndOfAthenaEvent | ( | ISF_FCS_Parametrization::FCS_StepInfoCollection * | hitContnainer | ) |
|
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 49 of file FCS_StepInfoSD.cxx.
|
inlineprivate |
NB The result of this function should actually be constant for each SD
Definition at line 34 of file FCS_StepInfoSD.cxx.
|
overridevirtual |
Main processing method.
Reimplemented in LArFCS_StepInfoSD, and TileFCS_StepInfoSD.
Definition at line 26 of file FCS_StepInfoSD.cxx.
|
inline |
Sets the ID helper pointers.
Definition at line 84 of file FCS_StepInfoSD.h.
|
protected |
Definition at line 62 of file FCS_StepInfoSD.cxx.
|
protected |
Definition at line 106 of file FCS_StepInfoSD.h.
|
protected |
Definition at line 100 of file FCS_StepInfoSD.h.
|
protected |
Definition at line 108 of file FCS_StepInfoSD.h.
Pointers to the identifier helpers.
Definition at line 102 of file FCS_StepInfoSD.h.
|
protected |
Definition at line 103 of file FCS_StepInfoSD.h.
Definition at line 104 of file FCS_StepInfoSD.h.
Definition at line 105 of file FCS_StepInfoSD.h.