FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Pythia6Generator.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 // ----- M. Al-Turany June 2014 -----
10 // -------------------------------------------------------------------------
11 
12 // -------------------------------------------------------------------------
13 // ----- Pythia6Generator header file -----
14 // ----- Created 08/08/08 by S. Spataro -----
15 // -------------------------------------------------------------------------
16 
73 #ifndef My_PYTHIA6GENERATOR_H
74 #define My_PYTHIA6GENERATOR_H
75 
76 #include "FairGenerator.h" // for FairGenerator
77 
78 #include <Rtypes.h> // for Int_t, Pythia6Generator::Class, Bool_t, etc
79 #include <stdio.h> // for FILE
80 class FairPrimaryGenerator; // lines 68-68
81 
82 class Pythia6Generator : public FairGenerator
83 {
84 
85  public:
88 
92  Pythia6Generator(const char* fileName);
93 
95  virtual ~Pythia6Generator();
96 
101  virtual Bool_t ReadEvent(FairPrimaryGenerator* primGen);
102 
103  void SetVerbose(Int_t verb) { fVerbose = verb; };
104 
105  private:
106  // ifstream* fInputFile; //! Input file stream
107  const Char_t* fFileName;
108  FILE* fInputFile;
109  Int_t fVerbose;
110 
113  void CloseInput();
114 
117  // TDatabasePDG *fPDG; //!
118 
119  ClassDef(Pythia6Generator, 1);
120 };
121 
122 #endif
virtual ~Pythia6Generator()
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)
void SetVerbose(Int_t verb)