ATLAS Offline Software
Geant4SetupCheckerTool.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__GEANT4SETUPCHECKERTOOL_H
6 #define G4DEBUGGINGTOOLS_G4UA__GEANT4SETUPCHECKERTOOL_H
7 
9 #include "Geant4SetupChecker.h"
10 
11 namespace G4UA
12 {
13 
19  class Geant4SetupCheckerTool : public UserActionToolBase<Geant4SetupChecker>
20  {
21 
22  public:
24  Geant4SetupCheckerTool(const std::string& type, const std::string& name,const IInterface* parent);
25  protected:
27  virtual std::unique_ptr<Geant4SetupChecker>
28  makeAndFillAction(G4AtlasUserActions&) override final;
29  private:
31  std::string m_file_location;
33  bool m_test;
34  }; // class Geant4SetupCheckerTool
35 
36 } // namespace G4UA
37 
38 #endif
G4UA::G4AtlasUserActions
Struct for passing around user actions.
Definition: IUserActionTool.h:32
G4UA::Geant4SetupCheckerTool::Geant4SetupCheckerTool
Geant4SetupCheckerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: Geant4SetupCheckerTool.cxx:10
G4UA::Geant4SetupCheckerTool::m_file_location
std::string m_file_location
File location for reference file.
Definition: Geant4SetupCheckerTool.h:31
G4UA::Geant4SetupCheckerTool
Tool which manages the Geant4SetupChecker.
Definition: Geant4SetupCheckerTool.h:20
G4UA
for nSW
Definition: CalibrationDefaultProcessing.h:19
UserActionToolBase.h
Geant4SetupChecker.h
G4UA::Geant4SetupCheckerTool::makeAndFillAction
virtual std::unique_ptr< Geant4SetupChecker > makeAndFillAction(G4AtlasUserActions &) override final
Create an action for this thread.
Definition: Geant4SetupCheckerTool.cxx:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
G4UA::Geant4SetupCheckerTool::m_test
bool m_test
Test the setup or write a reference file?
Definition: Geant4SetupCheckerTool.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
G4UA::UserActionToolBase
abstract template utility base-class for G4 user-action tools.
Definition: UserActionToolBase.h:33
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78