ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MMRunAction.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MMRunAction.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2017 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
10 // MMRunAction.hpp
12 
13 #pragma once
14 
15 #include <memory>
16 
17 #include "G4UserRunAction.hh"
18 #include "globals.hh"
19 
20 class G4Run;
21 
22 namespace FW {
23 namespace Geant4 {
24 
32 
33 class MMRunAction : public G4UserRunAction {
34  public:
36  MMRunAction();
37 
39  ~MMRunAction() override;
40 
42  static MMRunAction* Instance();
43 
46  void BeginOfRunAction(const G4Run*) final override;
47 
49  void EndOfRunAction(const G4Run*) final override;
50 
51  private:
54 };
55 } // namespace Geant4
56 } // namespace FW