ATLAS Offline Software
|
Class for shower library service. More...
#include <LArG4ShowerLibSvc.h>
Public Member Functions | |
LArG4ShowerLibSvc (const std::string &name, ISvcLocator *svc) | |
virtual | ~LArG4ShowerLibSvc () |
virtual StatusCode | initialize () |
virtual StatusCode | finalize () |
virtual bool | checkLibrary (G4int particleCode, int detectorTag) |
virtual std::vector< EnergySpot > | getShower (const G4FastTrack &track, int detectorTag) const |
return list of energy depositions for given track (interface implementation) More... | |
virtual double | getContainmentZ (const G4FastTrack &track, int detectorTag) |
virtual double | getContainmentR (const G4FastTrack &track, int detectorTag) |
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 |
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 41 of file LArG4ShowerLibSvc.h.
|
private |
Definition at line 68 of file LArG4ShowerLibSvc.h.
|
private |
Definition at line 70 of file LArG4ShowerLibSvc.h.
LArG4ShowerLibSvc::LArG4ShowerLibSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
|
virtual |
Definition at line 40 of file LArG4ShowerLibSvc.cxx.
|
virtual |
Definition at line 155 of file LArG4ShowerLibSvc.cxx.
|
virtual |
Definition at line 115 of file LArG4ShowerLibSvc.cxx.
|
virtual |
Definition at line 245 of file LArG4ShowerLibSvc.cxx.
|
virtual |
Definition at line 232 of file LArG4ShowerLibSvc.cxx.
|
virtual |
return list of energy depositions for given track (interface implementation)
Definition at line 173 of file LArG4ShowerLibSvc.cxx.
|
private |
get shower library from StoreGate by track (using current volume name)
Definition at line 140 of file LArG4ShowerLibSvc.cxx.
|
virtual |
Definition at line 44 of file LArG4ShowerLibSvc.cxx.
|
private |
Definition at line 73 of file LArG4ShowerLibSvc.h.
|
private |
property, list of library files
Definition at line 75 of file LArG4ShowerLibSvc.h.
|
private |
mapping StoreGate key to handle in StoreGate
Definition at line 69 of file LArG4ShowerLibSvc.h.
|
private |
Definition at line 72 of file LArG4ShowerLibSvc.h.
|
private |
Definition at line 71 of file LArG4ShowerLibSvc.h.