DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDG4
plugins
Geant4UserActionInitialization.cpp
Go to the documentation of this file.
1
#if 0
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// \author Markus Frank
11
// \date 2015-11-03
12
//
13
//==========================================================================
14
#ifndef DD4HEP_DDG4_GEANT4USERACTIONINITIALIZATION_H
15
#define DD4HEP_DDG4_GEANT4USERACTIONINITIALIZATION_H
16
17
// Framework include files
18
#include <
DDG4/Geant4UserInitialization.h
>
19
21
namespace
dd4hep
{
22
24
namespace
sim {
25
27
32
class
Geant4UserActionInitialization :
public
Geant4UserInitialization {
33
public
:
35
Geant4UserActionInitialization
(Geant4Context* c,
const
std::string& nam);
37
virtual
~Geant4UserActionInitialization
() {}
38
40
virtual
void
build();
42
virtual
void
buildMaster();
43
};
44
}
// End namespace sim
45
}
// End namespace dd4hep
46
#endif // DD4HEP_DDG4_GEANT4USERACTIONINITIALIZATION_H
47
48
49
// AIDA Detector description implementation
50
//--------------------------------------------------------------------------
51
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
52
// All rights reserved.
53
//
54
// For the licensing terms see $DD4hepINSTALL/LICENSE.
55
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
56
//
57
// \author Markus Frank
58
// \date 2015-11-03
59
//
60
//==========================================================================
61
62
// Framework include files
63
#include <
DDG4/Factories.h
>
64
//#include <DDG4/Geant4UserActionInitialization.h>
65
#include <
DDG4/Geant4Context.h
>
66
67
using namespace
dd4hep::sim
;
68
69
//DECLARE_GEANT4ACTION(Geant4UserActionInitialization)
70
72
Geant4UserActionInitialization::Geant4UserActionInitialization
(
Geant4Context
* ctxt,
const
std::string& nam)
73
:
Geant4UserInitialization
(ctxt,nam)
74
{
75
}
76
78
void
Geant4UserActionInitialization::build() {
79
80
}
81
83
void
Geant4UserActionInitialization::buildMaster() {
84
}
85
#endif
dd4hep::sim::Geant4UserInitialization
Base class to initialize a multi-threaded or single threaded Geant4 application.
Definition:
Geant4UserInitialization.h:33
Factories.h
dd4hep::sim
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
Definition:
Geant4Output2EDM4hep.cpp:49
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
Geant4UserInitialization.h
dd4hep::sim::Geant4UserActionInitialization::Geant4UserActionInitialization
Geant4UserActionInitialization(Geant4Context *ctxt, Geant4UserInitializationSequence *seq)
Standard constructor.
Definition:
Geant4Exec.cpp:361
Geant4Context.h
dd4hep::sim::Geant4UserActionInitialization::~Geant4UserActionInitialization
virtual ~Geant4UserActionInitialization()
Default destructor.
Definition:
Geant4Exec.cpp:365
dd4hep::sim::Geant4Context
Generic context to extend user, run and event information.
Definition:
Geant4Context.h:201
Generated on Tue Dec 10 2024 18:30:09 for DD4hep by
1.8.18