FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairEvtGenGenerator.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
// ----- FairEvtGenGenerator header file -----
10
// ----- Created 09/10/06 by S. Spataro -----
11
// -------------------------------------------------------------------------
12
81
#ifndef FAIR_EVTGENGENERATOR_H
82
#define FAIR_EVTGENGENERATOR_H
83
84
#include "
FairGenerator.h
"
// for FairGenerator
85
86
#include <Rtypes.h>
// for FairEvtGenGenerator::Class, etc
87
#include <stdio.h>
// for FILE
88
89
class
FairPrimaryGenerator
;
90
class
TF1;
91
92
class
FairEvtGenGenerator
:
public
FairGenerator
93
{
94
public
:
96
FairEvtGenGenerator
();
97
101
FairEvtGenGenerator
(
const
char
* fileName);
102
105
FairEvtGenGenerator
(
const
char
* fileName, Double_t Rsigma, TF1* DensityFunction);
106
108
virtual
~FairEvtGenGenerator
();
109
114
virtual
Bool_t
ReadEvent
(
FairPrimaryGenerator
* primGen);
115
116
private
:
117
// ifstream* fInputFile; //! Input file stream
118
const
Char_t* fFileName;
119
FILE* fInputFile;
120
123
void
CloseInput();
124
125
int
fGasmode;
126
double
fRsigma;
127
130
// TDatabasePDG *fPDG; //!
131
TF1* fDensityFunction;
132
133
FairEvtGenGenerator
(
const
FairEvtGenGenerator
&);
134
FairEvtGenGenerator
& operator=(
const
FairEvtGenGenerator
&);
135
136
ClassDef(
FairEvtGenGenerator
, 1);
137
};
138
139
#endif
FairEvtGenGenerator::FairEvtGenGenerator
FairEvtGenGenerator()
Definition:
FairEvtGenGenerator.cxx:21
FairGenerator
Definition:
FairGenerator.h:31
FairEvtGenGenerator::ReadEvent
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
Definition:
FairEvtGenGenerator.cxx:71
FairPrimaryGenerator
Definition:
FairPrimaryGenerator.h:39
FairEvtGenGenerator::~FairEvtGenGenerator
virtual ~FairEvtGenGenerator()
Definition:
FairEvtGenGenerator.cxx:63
FairEvtGenGenerator
Definition:
FairEvtGenGenerator.h:92
FairGenerator.h
FairRoot
generators
FairEvtGenGenerator.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5