]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Event header class for Pythia added.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Jul 2001 09:34:53 +0000 (09:34 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Jul 2001 09:34:53 +0000 (09:34 +0000)
EVGEN/AliGenPythiaEventHeader.cxx [new file with mode: 0644]
EVGEN/AliGenPythiaEventHeader.h [new file with mode: 0644]
EVGEN/EVGENLinkDef.h
EVGEN/Makefile

diff --git a/EVGEN/AliGenPythiaEventHeader.cxx b/EVGEN/AliGenPythiaEventHeader.cxx
new file mode 100644 (file)
index 0000000..5aaa681
--- /dev/null
@@ -0,0 +1,22 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/*
+$Log$
+*/
+
+#include "AliGenPythiaEventHeader.h"
+ClassImp(AliGenPythiaEventHeader)
+
diff --git a/EVGEN/AliGenPythiaEventHeader.h b/EVGEN/AliGenPythiaEventHeader.h
new file mode 100644 (file)
index 0000000..cd1822d
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef ALIGENPYTHIAEVENTHEADER_H
+#define ALIGENPYTHIAEVENTHEADER_H
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+#include "AliGenEventHeader.h"
+
+
+class AliGenPythiaEventHeader : public AliGenEventHeader
+{
+ public:
+  AliGenPythiaEventHeader(const char* name){;}
+  AliGenPythiaEventHeader(){;}
+  virtual ~AliGenPythiaEventHeader() {}
+  // Getters
+  Int_t   ProcessType()  {return fProcessType;}
+  // Setters
+  void SetProcessType(Int_t type)  {fProcessType = type;}
+protected:
+  Int_t fProcessType;
+  ClassDef(AliGenPythiaEventHeader,1) // Event header for Pythia event
+};
+
+#endif
index aafb37e2c27f6d18d91496e9a8f918dc88121bfe..671c5af789c35cfbfe0e4c84cc253f8622a7e9fb 100644 (file)
@@ -12,7 +12,6 @@
 #pragma link C++ enum   Decay_t;
 #pragma link C++ enum   StrucFunc_t;
 #pragma link C++ enum   Weighting_t;
-
 #pragma link C++ class  AliGenHIJINGpara+;
 #pragma link C++ class  AliGenFixed+;
 #pragma link C++ class  AliGenBox+;
@@ -34,6 +33,7 @@
 #pragma link C++ class  AliGenGSIlib+;
 #pragma link C++ class  AliGenPMDlib+;
 #pragma link C++ class  AliGenHijingEventHeader+;
+#pragma link C++ class  AliGenPythiaEventHeader+;
 #pragma link C++ class  AliGenHijing+;
 #pragma link C++ class  AliDecayer+;
 #pragma link C++ class  AliDecayerPythia+;
index 2765724c752a14b876e66ed462d172dbcdd9db7b..3cc44934ec87addd196a3617ef7c332c02e4d36f 100644 (file)
@@ -19,7 +19,7 @@ SRCS          = AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx \
                AliGenDoubleScan.cxx AliGenCocktailEntry.cxx \
                AliGenGSIlib.cxx AliGenPMDlib.cxx\
                AliGenHijing.cxx \
-               AliGenHijingEventHeader.cxx \
+               AliGenHijingEventHeader.cxx AliGenPythiaEventHeader.cxx \
                AliDecayer.cxx AliDecayerPythia.cxx \
                 AliGenMevSim.cxx AliMevSimParticle.cxx AliMevSimConfig.cxx
 # C++ Headers