PandaRoot
PndPythia6Generator.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // -------------------------------------------------------------------------
14 // ----- PndPythia6Generator header file -----
15 // ----- Created 08/08/08 by S. Spataro -----
16 // -------------------------------------------------------------------------
17 
61 #ifndef PND_PYTHIAGENERATOR_H
62 #define PND_PYTHIAGENERATOR_H
63 
64 #include "FairGenerator.h"
65 
66 class TDatabasePDG;
67 class FairPrimaryGenerator;
68 
69 class PndPythia6Generator : public FairGenerator {
70 
71  public:
74 
78  PndPythia6Generator(const char *fileName);
79 
81  virtual ~PndPythia6Generator();
82 
87  virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen);
88 
89  void SetVerbose(Int_t verb) { fVerbose = verb; };
90 
91  private:
92  // ifstream* fInputFile; //! Input file stream
93  const Char_t *fFileName;
94  FILE *fInputFile;
95  Int_t fVerbose;
96 
99  void CloseInput();
100 
103  // TDatabasePDG *fPDG; //!
104 
105  ClassDef(PndPythia6Generator, 1);
106 };
107 
108 #endif
void SetVerbose(Int_t verb)
virtual ~PndPythia6Generator()
virtual Bool_t ReadEvent(FairPrimaryGenerator *primGen)