]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenBase/EvtExtGeneratorCommandsTable.cpp
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtExtGeneratorCommandsTable.cpp
CommitLineData
0ca57c2f 1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package. If you use all or part
5// of it, please give an appropriate acknowledgement.
6//
7// Copyright Information: See EvtGen/COPYRIGHT
8// Copyright (C) 2012 University of Warwick, UK
9//
10// Module: EvtExtGeneratorCommandsTable
11//
12// Description: Table of commands to pass to external generators
13//
14// Modification history:
15//
16// Daniel Craik March 2012 Module created
17//
18//------------------------------------------------------------------------
19
20#include "EvtGenBase/EvtExtGeneratorCommandsTable.hh"
21
22EvtExtGeneratorCommandsTable::EvtExtGeneratorCommandsTable() {
23 _commandMap.clear();
24}
25
26EvtExtGeneratorCommandsTable::~EvtExtGeneratorCommandsTable() {
27 _commandMap.clear();
28}
29
30EvtExtGeneratorCommandsTable* EvtExtGeneratorCommandsTable::getInstance() {
31
32 static EvtExtGeneratorCommandsTable* theCommandMap = 0;
33
34 if (theCommandMap == 0) {
35 theCommandMap = new EvtExtGeneratorCommandsTable();
36 }
37
38 return theCommandMap;
39
40}