ATLAS Offline Software
Namespaces | Classes | Typedefs | Functions
G4UA Namespace Reference

for nSW More...

Namespaces

 CaloG4
 
 iGeant4
 

Classes

class  ActionToolBase
 abstract template utility base-class for G4 user-action tools. More...
 
class  ActionToolBaseReport
 Specialized action tool base class for tools that must merge results across all threads. More...
 
class  AthenaDebugStackingAction
 Debug version of the AthenaStackingAction used for validation of Russian Roulette algorimts. It can ensure that there is no randomization in simulation caused by turning the Russian Roulette on or off. More...
 
class  AthenaStackingAction
 Standard ATLAS stacking action functionality. Mostly taken from the old AthenaStackingAction implementation, but adapted for the new user action design for multi-threading. More...
 
class  AthenaStackingActionTool
 Tool which manages the AthenaStackingAction. More...
 
class  AthenaTrackingAction
 User action for pre/post tracking truth handling. More...
 
class  AthenaTrackingActionTool
 Tool which manages the AthenaTrackingAction. More...
 
class  CheckActivation
 
class  CheckActivationTool
 Tool which manages the CheckActivation. More...
 
class  CosmicPerigeeAction
 NEEDS DOCUMENTATION. More...
 
class  CosmicPerigeeActionTool
 Tool which manages the CosmicPerigeeAction action. More...
 
class  DebugSteppingAction
 
class  DebugSteppingActionTool
 a class to manage the DebugSteppingAction action More...
 
class  EnergyConservationTest
 
class  EnergyConservationTestTool
 
class  EnergyLossRecorder
 
class  EnergyLossRecorderTool
 A class to manage EnergyLossRecorder actions. More...
 
class  FastIDKiller
 NEEDS DOCUMENTATION. More...
 
class  FastIDKillerTool
 NEEDS DOCUMENTATION. More...
 
class  FixG4CreatorProcess
 
class  FixG4CreatorProcessTool
 Tool which manages the FixG4CreatorProcess user action. More...
 
class  FluxRecorder
 
class  FluxRecorderTool
 Tool which manages the FluxRecorder action. More...
 
class  G4AtlantisDumper
 
class  G4AtlantisDumperTool
 
class  G4AtlasEventAction
 ATLAS subclass of the G4 event action. More...
 
class  G4AtlasRunAction
 ATLAS subclass of the G4 run action. More...
 
class  G4AtlasStackingAction
 Atlas subclass of the G4 stacking action. More...
 
class  G4AtlasSteppingAction
 Atlas subclass of the G4 stepping action. More...
 
class  G4AtlasTrackingAction
 Atlas subclass of the G4 tracking action. More...
 
class  G4AtlasUserActions
 Struct for passing around user actions. More...
 
class  G4CosmicAndFilter
 
class  G4CosmicAndFilterTool
 
class  G4CosmicFilter
 
class  G4CosmicFilterTool
 
class  G4CosmicOrFilter
 
class  G4CosmicOrFilterTool
 
class  G4HitFilter
 
class  G4HitFilterTool
 
class  G4SimTimer
 A user action for monitoring G4 runtime at event and run level. More...
 
class  G4SimTimerTool
 Tool which manages the G4SimTimer action. More...
 
class  G4TrackCounter
 A simple action which counts tracks. More...
 
class  G4TrackCounterTool
 Tool which manages the G4TrackCounter action. This tool creates the G4TrackCounter for each thread and merges the track counts from all threads in finalization. More...
 
class  Geant4SetupChecker
 
class  Geant4SetupCheckerTool
 Tool which manages the Geant4SetupChecker. More...
 
class  GeantFollower
 
class  GeantFollowerMS
 
class  GeantFollowerMSTool
 Tool which manages the GeantFollowerMS action. More...
 
class  GeantFollowerTool
 Tool which manages the GeantFollower action. More...
 
class  HIPKiller
 Kills Monopoles and QBalls with energy < 1 MeV. More...
 
class  HIPKillerTool
 Tool which manages the HIPKiller user action. More...
 
class  HIPLArVolumeAccept
 NEEDS DOCUMENTATION. More...
 
class  HIPLArVolumeAcceptTool
 Tool which manages the HIPLArVolumeAccept action. More...
 
class  HitWrapper
 NEEDS DOCUMENTATION. More...
 
class  HitWrapperTool
 A tool which manages the HitWrapper user action. More...
 
class  HyperspaceCatcher
 User action for catching cases of the hyperspace bug. More...
 
class  HyperspaceCatcherTool
 Tool which creates and manages the HyperspaceCatcher user action. More...
 
class  IUserActionSvc
 Abstract interface for the UserActionSvc. More...
 
class  IUserActionTool
 Abstract interface for tools that construct G4 user actions. More...
 
class  LArGeoH62004EventAction
 NEEDS DOCUMENTATION. More...
 
class  LArGeoH62004EventActionTool
 Tool which manages the LArGeoH62004EventAction action. More...
 
class  LArGeoH62004SteppingAction
 NEEDS DOCUMENTATION. More...
 
class  LArGeoH62004SteppingActionTool
 Tool which manages the LArGeoH62004SteppingAction action. More...
 
class  LengthIntegrator
 A user action used to evaluate thickness of all detectors traversed by outgoing particles. More...
 
class  LengthIntegratorTool
 Tool which manages the LengthIntegrator action. More...
 
class  LooperKiller
 A user action to kill looping tracks. More...
 
class  LooperKillerTool
 Tool which manages the LooperKiller action. More...
 
class  LooperThresholdSet
 Kills Monopoles and QBalls with energy < 1 MeV. More...
 
class  LooperThresholdSetTool
 Tool which manages the Looper Threshold options. More...
 
class  MaterialStepRecorder
 
class  MaterialStepRecorderTool
 Tool which manages the MaterialStepRecorder action. More...
 
class  MCTruthSteppingAction
 User action which handles recording-envelope truth tracks. More...
 
class  MCTruthSteppingActionTool
 A tool for managing the MCTruthSteppingAction. More...
 
class  MomentumConservation
 checks momentum conservation More...
 
class  MomentumConservationTool
 Tool which manages the MomentumConservation user action. More...
 
class  PhotonKiller
 NEEDS DOCUMENTATION. More...
 
class  PhotonKillerTool
 Tool which manages the PhotonKiller user action. More...
 
class  RadiationMapsMaker
 
class  RadiationMapsMakerTool
 Tool which manages the RadiationMapsMaker action. More...
 
class  RadLengthAction
 
class  RadLengthActionTool
 A tool to manage RadLengthAction actions. More...
 
class  RadLenNtuple
 NEEDS DOCUMENTATION. More...
 
class  RadLenNtupleTool
 Tool which manages the RadLenNtuple action. More...
 
class  ScoringPlane
 
class  ScoringPlaneTool
 A tool to manage ScoprinPlane actions. More...
 
class  ScoringVolumeTrackKiller
 NEEDS DOCUMENTATION. More...
 
class  ScoringVolumeTrackKillerTool
 Tool which manages the ScoringVolumeTrackKiller user action. More...
 
class  SG_StepNtuple
 
class  SG_StepNtupleTool
 Tool which manages the SG_StepNtuple user action. creates one SG_StepNtuple instance per thread. More...
 
class  StepHistogram
 
class  StepHistogramTool
 Tool which manages the StepHistogram action. More...
 
class  StepNtuple
 
class  StepNtupleTool
 Tool which manages the StepNtuple action. More...
 
class  SteppingValidation
 User action to do some basic step-based validation of G4. More...
 
class  SteppingValidationTool
 a tool to manage the SteppingValidation action in AthenaMT More...
 
class  StoppedParticleAction
 NEEDS DOCUMENTATION. More...
 
class  StoppedParticleActionTool
 Tool which manages the StoppedParticleAction. More...
 
class  TestAction
 
class  TestActionEHist
 
class  TestActionEHistTool
 A Tool to manage TestActionEHist Create the TestActionEHist for each worker thread. Note that since this is using ROOT access DIRECTLY, it is aonly tested and working with 1 thread. Operation with more than 1 thread will be disabled from the python side. More...
 
class  TestActionShowerLib
 Class for collecting G4 hit information. More...
 
class  TestActionShowerLibTool
 A tool to manage TestActionShowerLib. More...
 
class  TestActionTimer
 User action to measure time spent in subdetectors. More...
 
class  TestActionTimerTool
 Tool which manages the TestActionTimer action. More...
 
class  TestActionTool
 
class  TestActionVPTimer
 
class  TestActionVPTimerTool
 Tool which manages the TestActionVPTimer action. More...
 
class  TestBoundariesUserAction
 
class  TestBoundariesUserActionTool
 A class to manage the TestBoundariesUserAction. More...
 
class  ThreadActionHolder
 A thread-local storage wrapper for the user actions. More...
 
class  ThreadSpecificUserAction
 A thread-local storage wrapper for the user actions. More...
 
class  UserActionSvc
 A service which manages the user actions for G4 simulation. More...
 
class  UserActionToolBase
 abstract template utility base-class for G4 user-action tools. More...
 
class  VerboseSelector
 
class  VerboseSelectorTool
 
class  VolumeDebugger
 a user action to debug G4 geometries More...
 
class  VolumeDebuggerTool
 Tool which manages the VolumeDebugger action. More...
 
class  VolumeDumper
 
class  VolumeDumperTool
 Tool which manages the volume dumper action. More...
 

Typedefs

typedef std::map< VolTree, TestActionVPTimer::volumeDataVolMap
 
typedef VolMap::const_iterator VolIt
 

Functions

bool G4StrContains (const G4String &s, const char *v)
 
bool G4StrContains (const std::string_view &s, const char *v)
 
std::string vPrFmt (double time, double nEv, double tRun, int depth, const std::string &id)
 

Detailed Description

for nSW

Typedef Documentation

◆ VolIt

typedef VolMap::const_iterator G4UA::VolIt

Definition at line 37 of file TestActionVPTimerTool.cxx.

◆ VolMap

Definition at line 36 of file TestActionVPTimerTool.cxx.

Function Documentation

◆ G4StrContains() [1/2]

bool G4UA::G4StrContains ( const G4String &  s,
const char *  v 
)

Definition at line 47 of file TestActionTimer.cxx.

48  {
49 #if G4VERSION_NUMBER < 1100
50  return s.contains(v);
51 #else
52  return G4StrUtil::contains(s, v);
53 #endif
54  }

◆ G4StrContains() [2/2]

bool G4UA::G4StrContains ( const std::string_view &  s,
const char *  v 
)

Definition at line 56 of file TestActionTimer.cxx.

57  {
58  return s.find(v) != std::string_view::npos;
59  }

◆ vPrFmt()

std::string G4UA::vPrFmt ( double  time,
double  nEv,
double  tRun,
int  depth,
const std::string &  id 
)
inline

Definition at line 26 of file TestActionVPTimerTool.cxx.

27  {
28  std::string dprnt = stringify(depth);
29  if (depth == -999) dprnt = " ";
30  std::ostringstream oss;
31  oss << std::setw(12) << time << std::setw(12) << time/nEv << std::setw(12) << time/tRun
32  << std::setw(6) << dprnt << " " << id;
33  return oss.str();
34  }
egammaParameters::depth
@ depth
pointing depth of the shower as calculated in egammaqgcld
Definition: egammaParamDefs.h:276
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
stringify
std::string stringify(T obj)
Definition: VolumeTreeNavigator.h:73
contains
bool contains(const std::string &s, const std::string &regx)
does a string contain the substring
Definition: hcg.cxx:111
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
python.PyAthena.v
v
Definition: PyAthena.py:154
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242