|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef G4ATLASALG_G4AtlasAlg_H
6 #define G4ATLASALG_G4AtlasAlg_H
16 #include "GaudiKernel/ServiceHandle.h"
17 #include "GaudiKernel/ToolHandle.h"
94 void commandLog(
int returnCode,
const std::string& commandString)
const;
119 Gaudi::Property<std::string>
m_libList{
this,
"Dll",
"",
""};
120 Gaudi::Property<std::string>
m_physList{
this,
"Physics",
"",
""};
121 Gaudi::Property<std::string>
m_fieldMap{
this,
"FieldMap",
"",
""};
122 Gaudi::Property<std::string>
m_rndmGen{
this,
"RandomGenerator",
"athena",
""};
127 Gaudi::Property<std::vector<std::string> >
m_g4commands{
this,
"G4Commands", {},
"Commands to send to the G4UI"};
129 Gaudi::Property<bool>
m_useMT{
this,
"MultiThreading",
false,
"Multi-threading specific settings"};
131 BooleanProperty
m_useShadowEvent{
this,
"UseShadowEvent",
false,
"New approach to selecting particles for simulation" };
146 ToolHandle<ISF::IGenEventFilter>
m_truthPreselectionTool{
this,
"TruthPreselectionTool",
"",
"Tool for filtering out quasi-stable particle daughters"};
153 PublicToolHandle<ISensitiveDetectorMasterTool>
m_senDetTool{
this,
"SenDetMasterTool",
"SensitiveDetectorMasterTool",
""};
155 PublicToolHandle<IFastSimulationMasterTool>
m_fastSimTool{
this,
"FastSimMasterTool",
"FastSimulationMasterTool",
""};
157 PublicToolHandleArray<G4UA::IUserActionTool>
m_actionTools{
this,
"UserActionTools", {},
"User action tools to be added to the G4 Action service."};
159 Gaudi::Property<std::string>
m_simplifiedGeoPath{
this,
"SimplifiedGeoPath",
"",
"Path to the simplified geometry file used to transport particles"};
163 #endif// G4ATLASALG_G4AtlasAlg_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< bool > m_flagAbortedEvents
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
ServiceHandle< ISF::IGeoIDSvc > m_geoIDSvc
Geo ID Service.
bool isClonable() const override
this Alg is Clonable (for AthenaMT)
StatusCode finalize() override
Finalize the algorithm and invoke G4 run termination.
PublicToolHandle< ISensitiveDetectorMasterTool > m_senDetTool
Sensitive Detector Master Tool.
Gaudi::Property< std::string > m_fieldMap
Gaudi::Property< bool > m_recordFlux
ServiceHandle< IDetectorGeometrySvc > m_detGeoSvc
Detector Geometry Service (builds G4 Geometry)
Gaudi::Property< bool > m_releaseGeoModel
ServiceHandle< IPhysicsListSvc > m_physListSvc
Physics List Tool.
Gaudi::Property< std::string > m_randomStreamName
Random Stream Name.
void commandLog(int returnCode, const std::string &commandString) const
This command prints a message about a G4Command depending on its returnCode.
ServiceHandle< IUserLimitsSvc > m_userLimitsSvc
ToolHandle< ISF::IGenEventFilter > m_truthPreselectionTool
SG::ReadHandleKey< McEventCollection > m_inputTruthCollectionKey
input hard scatter collection
ServiceHandle< ISF::IInputConverter > m_inputConverter
Service to convert ISF_Particles into a G4Event.
PublicToolHandle< IFastSimulationMasterTool > m_fastSimTool
Fast Simulation Master Tool.
void finalizeOnce()
G4 finalization called only by the first alg instance.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize ATLAS_NOT_THREAD_SAFE() override
Initialize the algorithm.
StatusCode execute() override
Simulate one Athena event.
BooleanProperty m_useShadowEvent
void initializeG4()
Poorly named possibly unused method which sets some verbosities.
Primary Athena algorithm for ATLAS simulation.
Gaudi::Property< std::vector< std::string > > m_g4commands
Commands to send to the G4 UI.
Gaudi::Property< std::string > m_rndmGen
Property holding a SG store/key/clid from which a WriteHandle is made.
void releaseGeoModel()
Releases the GeoModel geometry from memory once it has been used to build the G4 geometry and is no-l...
Gaudi::Property< std::string > m_physList
Gaudi::Property< bool > m_useMT
Activate multi-threading configuration.
ServiceHandle< ISF::ITruthSvc > m_truthRecordSvc
Central Truth Service.
PublicToolHandleArray< G4UA::IUserActionTool > m_actionTools
G4AtlasAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm constructor.
Gaudi::Property< std::string > m_simplifiedGeoPath
Gaudi::Property< bool > m_quietMode
std::map< std::string, std::string > m_verbosities
Verbosity settings for Geant4.
virtual ~G4AtlasAlg()
Virtual destructor.
ServiceHandle< G4UA::IUserActionSvc > m_userActionSvc
User Action Service.
ServiceHandle< Simulation::IZeroLifetimePatcher > m_qspatcher
Quasi-Stable Particle Simulation Patcher.
Gaudi::Property< bool > m_killAbortedEvents
ServiceHandle< IAthRNGSvc > m_rndmGenSvc
Random number service.
Gaudi::Property< std::string > m_libList
Define macros for attributes used to control the static checker.
SG::WriteHandleKey< McEventCollection > m_outputTruthCollectionKey
output hard scatter truth collection
Gaudi::Property< bool > m_activateParallelGeometries
void initializeOnce()
G4 initialization called only by the first alg instance.