]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TUHKMgen/UHKM/InitialState.h
Moving required CMake version from 2.8.4 to 2.8.8
[u/mrichter/AliRoot.git] / TUHKMgen / UHKM / InitialState.h
index 0670a143a69534b973f9bae4b9646996443d2a3a..e7fe619b8845a55ca890125f8166e893104d7167 100644 (file)
@@ -1,24 +1,19 @@
-/*
-  Ludmila Malinina  malinina@lav01.sinp.msu.ru,   SINP MSU/Moscow and JINR/Dubna
-  Ionut Arsene  i.c.arsene@fys.uio.no,            Oslo University and ISS-Bucharest
-  Date        : 2007/05/30
-  Updated     : 2008/08/11
-*/
-
-#ifndef INITIAL_STATE
-#define INITIAL_STATE
+//
+//  Ludmila Malinina  malinina@lav01.sinp.msu.ru,   SINP MSU/Moscow and JINR/Dubna
+//  Ionut Arsene  i.c.arsene@fys.uio.no,            Oslo University and ISS-Bucharest
+//  Date        : 2007/05/30
+//  Updated     : 2008/08/11
+//
 // Virtual class for the initial state classes
 // Include here common methods, but always declare them as virtual
-#ifndef PARTICLE_INCLUDED
+
+#ifndef INITIALSTATE_H
+#define INITIALSTATE_H
+
 #include "Particle.h"
-#endif
-#ifndef DATABASE_PDG
 #include "DatabasePDG.h"
-#endif
 
 class InitialState {
- protected:
-   DatabasePDG *fDatabase;
  public:
   InitialState() : fDatabase(new DatabasePDG()) {};
   virtual ~InitialState() {
@@ -49,11 +44,17 @@ class InitialState {
   virtual void Initialize(List_t &source, ParticleAllocator &allocator) = 0;
   virtual Bool_t ReadParams() = 0;
   virtual Bool_t MultIni() = 0;
-  virtual Double_t GetTime() = 0;
+  virtual Bool_t RunDecays() = 0;
   virtual Int_t GetNev() = 0;
   virtual Double_t GetWeakDecayLimit() = 0;
     
-  virtual void Evolve(List_t &source, List_t &secondaries, ParticleAllocator &allocator, Double_t weakDecayLimit);
+  //  virtual void Evolve(List_t &source, List_t &secondaries, ParticleAllocator &allocator, Double_t weakDecayLimit);
+  virtual void Evolve(List_t &secondaries, ParticleAllocator &allocator, Double_t weakDecayLimit);
+ protected:
+   DatabasePDG *fDatabase;        // PDG database
+ private:
+   InitialState(const InitialState&);
+   InitialState& operator=(const InitialState&);
 };
 
 #endif