FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairUrqmdGenerator.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
// -------------------------------------------------------------------------
9
// ----- FairUrqmdGenerator header file -----
10
// ----- Created 11/06/04 by V. Friese / D.Bertini -----
11
// -------------------------------------------------------------------------
12
23
#ifndef FAIRURQMDGENERATOR_H
24
#define FAIRURQMDGENERATOR_H
25
26
#include "
FairGenerator.h
"
// for FairGenerator
27
28
#include <Rtypes.h>
// for Int_t, Bool_t, etc
29
#include <TString.h>
30
#include <map>
// for map
31
#include <stdio.h>
// for FILE
32
33
class
FairPrimaryGenerator
;
34
35
class
FairUrqmdGenerator
:
public
FairGenerator
36
{
37
public
:
39
FairUrqmdGenerator
();
40
44
FairUrqmdGenerator
(
const
char
* fileName);
45
51
FairUrqmdGenerator
(
const
char
* fileName,
const
char
* conversion_table);
52
54
~FairUrqmdGenerator
();
55
61
Bool_t
ReadEvent
(
FairPrimaryGenerator
* primGen);
62
64
Bool_t
SkipEvents
(Int_t count);
65
66
private
:
67
FILE* fInputFile;
68
69
std::map<Int_t, Int_t> fParticleTable;
70
71
const
Char_t* fFileName;
72
76
void
ReadConversionTable(TString conversion_table =
""
);
77
79
void
CheckReturnValue(Int_t retval);
80
81
FairUrqmdGenerator
(
const
FairUrqmdGenerator
&);
82
FairUrqmdGenerator
& operator=(
const
FairUrqmdGenerator
&);
83
84
ClassDef(
FairUrqmdGenerator
, 1);
85
};
86
87
#endif
FairGenerator
Definition:
FairGenerator.h:31
FairPrimaryGenerator
Definition:
FairPrimaryGenerator.h:39
FairUrqmdGenerator::SkipEvents
Bool_t SkipEvents(Int_t count)
Definition:
FairUrqmdGenerator.cxx:242
FairUrqmdGenerator
Definition:
FairUrqmdGenerator.h:35
FairUrqmdGenerator::~FairUrqmdGenerator
~FairUrqmdGenerator()
Definition:
FairUrqmdGenerator.cxx:66
FairUrqmdGenerator::FairUrqmdGenerator
FairUrqmdGenerator()
Definition:
FairUrqmdGenerator.cxx:29
FairUrqmdGenerator::ReadEvent
Bool_t ReadEvent(FairPrimaryGenerator *primGen)
Definition:
FairUrqmdGenerator.cxx:89
FairGenerator.h
FairRoot
generators
FairUrqmdGenerator.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5