ATLAS Offline Software
Geant4SetupChecker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4DEBUGGINGTOOLS_G4UA__GEANT4SETUPCHECKER_H
6 #define G4DEBUGGINGTOOLS_G4UA__GEANT4SETUPCHECKER_H
7 
8 #include "G4UserRunAction.hh"
9 #include <string>
10 
11 namespace G4UA
12 {
13 
14  class Geant4SetupChecker : public G4UserRunAction
15  {
16 
17  public:
18  Geant4SetupChecker(const std::string&,const bool);
19  virtual void BeginOfRunAction(const G4Run*) override;
20  private:
22  std::string m_file_location;
24  bool m_test;
25  }; // class Geant4SetupChecker
26 
27 } // namespace G4UA
28 
29 #endif
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
G4UA::Geant4SetupChecker
Definition: Geant4SetupChecker.h:15
G4UA::Geant4SetupChecker::Geant4SetupChecker
Geant4SetupChecker(const std::string &, const bool)
Definition: Geant4SetupChecker.cxx:22
G4UA::Geant4SetupChecker::m_file_location
std::string m_file_location
File location for reference file.
Definition: Geant4SetupChecker.h:22
G4UA::Geant4SetupChecker::m_test
bool m_test
Do you want to write a reference or read a file to check?
Definition: Geant4SetupChecker.h:24
G4UA::Geant4SetupChecker::BeginOfRunAction
virtual void BeginOfRunAction(const G4Run *) override
Definition: Geant4SetupChecker.cxx:25