FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairAsciiGenerator.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
// ----- FairAsciiGenerator header file -----
10
// ----- Created 09/06/04 by V. Friese / D.Bertini -----
11
// -------------------------------------------------------------------------
12
28
#ifndef FAIR_ASCIIGENERATOR_H
29
#define FAIR_ASCIIGENERATOR_H
30
31
#include "
FairGenerator.h
"
// for FairGenerator
32
33
#include <Rtypes.h>
// for FairAsciiGenerator::Class, etc
34
#include <iosfwd>
// for ifstream
35
36
class
FairPrimaryGenerator
;
37
38
class
FairAsciiGenerator
:
public
FairGenerator
39
{
40
public
:
42
FairAsciiGenerator
();
43
47
FairAsciiGenerator
(
const
char
* fileName);
48
50
virtual
~FairAsciiGenerator
();
51
56
virtual
Bool_t
ReadEvent
(
FairPrimaryGenerator
* primGen);
57
58
private
:
59
std::ifstream* fInputFile;
60
const
Char_t* fFileName;
61
64
void
CloseInput();
65
66
FairAsciiGenerator
(
const
FairAsciiGenerator
&);
67
FairAsciiGenerator
& operator=(
const
FairAsciiGenerator
&);
68
71
// TDatabasePDG *fPDG; //!
72
73
ClassDef(
FairAsciiGenerator
, 1);
74
};
75
76
#endif
FairGenerator
Definition:
FairGenerator.h:31
FairAsciiGenerator::ReadEvent
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
Definition:
FairAsciiGenerator.cxx:43
FairPrimaryGenerator
Definition:
FairPrimaryGenerator.h:39
FairAsciiGenerator::~FairAsciiGenerator
virtual ~FairAsciiGenerator()
Definition:
FairAsciiGenerator.cxx:41
FairAsciiGenerator::FairAsciiGenerator
FairAsciiGenerator()
Definition:
FairAsciiGenerator.cxx:20
FairAsciiGenerator
Definition:
FairAsciiGenerator.h:38
FairGenerator.h
FairRoot
generators
FairAsciiGenerator.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5