]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STARLIGHT/starlight/include/PythiaStarlight.h
STARLIGHT code and interface
[u/mrichter/AliRoot.git] / STARLIGHT / starlight / include / PythiaStarlight.h
diff --git a/STARLIGHT/starlight/include/PythiaStarlight.h b/STARLIGHT/starlight/include/PythiaStarlight.h
new file mode 100644 (file)
index 0000000..6901e8b
--- /dev/null
@@ -0,0 +1,64 @@
+///////////////////////////////////////////////////////////////////////////
+//
+//    Copyright 2010
+//
+//    This file is part of starlight.
+//
+//    starlight is free software: you can redistribute it and/or modify
+//    it under the terms of the GNU General Public License as published by
+//    the Free Software Foundation, either version 3 of the License, or
+//    (at your option) any later version.
+//
+//    starlight is distributed in the hope that it will be useful,
+//    but WITHOUT ANY WARRANTY; without even the implied warranty of
+//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//    GNU General Public License for more details.
+//
+//    You should have received a copy of the GNU General Public License
+//    along with starlight. If not, see <http://www.gnu.org/licenses/>.
+//
+///////////////////////////////////////////////////////////////////////////
+//
+// File and Version Information:
+// $Rev:: 28                          $: revision of last commit
+// $Author:: bgrube                   $: author of last commit
+// $Date:: 2010-12-10 19:30:01 +0100 #$: date of last commit
+//
+// Description:
+//
+//
+//
+///////////////////////////////////////////////////////////////////////////
+
+
+#ifndef PYTHIASTARLIGHT_H
+#define PYTHIASTARLIGHT_H
+
+
+#include <string>
+
+#include "Pythia.h"
+
+
+class pythiaStarlight
+{
+   public:
+
+      pythiaStarlight();
+      int init(std::string xmldocpath);
+
+      Pythia8::Pythia* getPythia() const { return _pythia; }
+      
+   private:
+      
+      Pythia8::Pythia* _pythia;
+      
+};
+
+
+      // Generator; shorthand for event.
+        //Pythia pythia("/home/butter/pythia/pythia8120/xmldoc");
+        //Event& event = pythia.event;
+
+
+#endif  // PYTHIASTARLIGHT_H