![]() |
ATLAS Offline Software
|
Class for shower library service. More...
#include <LArG4ShowerLibSvc.h>
Public Member Functions | |
| LArG4ShowerLibSvc (const std::string &name, ISvcLocator *svc) | |
| virtual | ~LArG4ShowerLibSvc ()=default |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual bool | checkLibrary (G4int particleCode, int detectorTag) override |
| virtual std::vector< EnergySpot > | getShower (const G4FastTrack &track, int detectorTag) const override |
| return list of energy depositions for given track (interface implementation) More... | |
| virtual double | getContainmentZ (const G4FastTrack &track, int detectorTag) override |
| virtual double | getContainmentR (const G4FastTrack &track, int detectorTag) override |
Private Types | |
| typedef std::map< int, const ShowerLib::IShowerLib * > | libmap |
| typedef std::map< const ShowerLib::IShowerLib *, ShowerLib::ShowerLibStatistics * > | statmap |
Private Member Functions | |
| const ShowerLib::IShowerLib * | getShowerLib (G4int particleCode, int detectorTag) const |
| get shower library from StoreGate by track (using current volume name) More... | |
Private Attributes | |
| libmap | m_libraryMap |
| mapping StoreGate key to handle in StoreGate More... | |
| statmap | m_statisticsMap |
| std::map< int, std::string > | m_locations |
| std::map< std::string, int > | m_detmap |
| StringArrayProperty | m_fileNameList {this, "FileNameList", {}, "List of filenames for direct reading"} |
| property, list of library files More... | |
Class for shower library service.
Converts tracks into a list of energy deposits using frozen shower libraries.
Definition at line 40 of file LArG4ShowerLibSvc.h.
|
private |
Definition at line 64 of file LArG4ShowerLibSvc.h.
|
private |
Definition at line 66 of file LArG4ShowerLibSvc.h.
| LArG4ShowerLibSvc::LArG4ShowerLibSvc | ( | const std::string & | name, |
| ISvcLocator * | svc | ||
| ) |
|
virtualdefault |
|
overridevirtual |
Definition at line 159 of file LArG4ShowerLibSvc.cxx.
|
overridevirtual |
Definition at line 119 of file LArG4ShowerLibSvc.cxx.
|
overridevirtual |
Definition at line 249 of file LArG4ShowerLibSvc.cxx.
|
overridevirtual |
Definition at line 236 of file LArG4ShowerLibSvc.cxx.
|
overridevirtual |
return list of energy depositions for given track (interface implementation)
Definition at line 177 of file LArG4ShowerLibSvc.cxx.
|
private |
get shower library from StoreGate by track (using current volume name)
Definition at line 144 of file LArG4ShowerLibSvc.cxx.
|
overridevirtual |
Definition at line 36 of file LArG4ShowerLibSvc.cxx.
|
private |
Definition at line 69 of file LArG4ShowerLibSvc.h.
|
private |
property, list of library files
Definition at line 71 of file LArG4ShowerLibSvc.h.
|
private |
mapping StoreGate key to handle in StoreGate
Definition at line 65 of file LArG4ShowerLibSvc.h.
|
private |
Definition at line 68 of file LArG4ShowerLibSvc.h.
|
private |
Definition at line 67 of file LArG4ShowerLibSvc.h.
1.8.18