GENIEGenerator
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Framework
EventGen
RunningThreadInfo.cxx
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*
3
Copyright (c) 2003-2024, The GENIE Collaboration
4
For the full text of the license visit http://copyright.genie-mc.org
5
6
Costas Andreopoulos <c.andreopoulos \at cern.ch>
7
University of Liverpool
8
*/
9
//____________________________________________________________________________
10
11
#include "
Framework/EventGen//RunningThreadInfo.h
"
12
#include "
Framework/EventGen/EventGeneratorI.h
"
13
#include "
Framework/Messenger/Messenger.h
"
14
15
using namespace
genie;
16
17
//____________________________________________________________________________
18
RunningThreadInfo
*
RunningThreadInfo::fInstance
= 0;
19
//____________________________________________________________________________
20
RunningThreadInfo::RunningThreadInfo
()
21
{
22
fInstance
= 0;
23
}
24
//____________________________________________________________________________
25
RunningThreadInfo::~RunningThreadInfo
()
26
{
27
fInstance
= 0;
28
}
29
//____________________________________________________________________________
30
RunningThreadInfo
*
RunningThreadInfo::Instance
()
31
{
32
if
(
fInstance
== 0) {
33
static
RunningThreadInfo::Cleaner
cleaner;
34
cleaner.
DummyMethodAndSilentCompiler
();
35
fInstance
=
new
RunningThreadInfo
;
36
}
37
return
fInstance
;
38
}
39
//____________________________________________________________________________
EventGeneratorI.h
RunningThreadInfo.h
genie::RunningThreadInfo::~RunningThreadInfo
virtual ~RunningThreadInfo()
Definition:
RunningThreadInfo.cxx:25
genie::RunningThreadInfo::Cleaner
clean
Definition:
RunningThreadInfo.h:55
genie::RunningThreadInfo::Cleaner::DummyMethodAndSilentCompiler
void DummyMethodAndSilentCompiler()
Definition:
RunningThreadInfo.h:56
Messenger.h
genie::RunningThreadInfo::Instance
static RunningThreadInfo * Instance(void)
Definition:
RunningThreadInfo.cxx:30
genie::RunningThreadInfo::RunningThreadInfo
RunningThreadInfo()
Definition:
RunningThreadInfo.cxx:20
genie::RunningThreadInfo
Keep info on the event generation thread currently on charge. This is used so that event generation m...
Definition:
RunningThreadInfo.h:29
genie::RunningThreadInfo::fInstance
static RunningThreadInfo * fInstance
self
Definition:
RunningThreadInfo.h:49
Generated on Wed Jul 17 2024 14:46:45 for GENIEGenerator by
1.8.5