ATLAS Offline Software
G4LooperThresholdSet.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4UserActions_LooperThresholdSet_H
6 #define G4UserActions_LooperThresholdSet_H
7 
8 #include "G4UserSteppingAction.hh"
10 
11 #include "G4Run.hh"
12 
13 namespace G4UA
14 {
15 
17  class LooperThresholdSet : public G4UserSteppingAction, public AthMessaging
18  {
19  public:
21  virtual void BeginOfRunAction(const G4Run* aRun) override;
22  private:
23  void ChangeLooperParameters(const G4ParticleDefinition* particleDef );
24  std::pair<G4Transportation*, G4CoupledTransportation*> findTransportation( const G4ParticleDefinition* particleDef, bool reportError );
25  }; // class LooperThresholdSet
26 
27 } // namespace G4UA
28 
29 #endif
G4UA::LooperThresholdSet::findTransportation
std::pair< G4Transportation *, G4CoupledTransportation * > findTransportation(const G4ParticleDefinition *particleDef, bool reportError)
G4UA::LooperThresholdSet::LooperThresholdSet
LooperThresholdSet()
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
G4UA::LooperThresholdSet
Kills Monopoles and QBalls with energy < 1 MeV.
Definition: G4LooperThresholdSet.h:18
G4UA::LooperThresholdSet::BeginOfRunAction
virtual void BeginOfRunAction(const G4Run *aRun) override
Definition: LooperThresholdSet.cxx:28
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
AthMessaging.h
G4UA::LooperThresholdSet::ChangeLooperParameters
void ChangeLooperParameters(const G4ParticleDefinition *particleDef)
Definition: LooperThresholdSet.cxx:33