ATLAS Offline Software
Loading...
Searching...
No Matches
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
13namespace 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
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
void ChangeLooperParameters(const G4ParticleDefinition *particleDef)
virtual void BeginOfRunAction(const G4Run *aRun) override
std::pair< G4Transportation *, G4CoupledTransportation * > findTransportation(const G4ParticleDefinition *particleDef, bool reportError)