]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Herwig event header.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Jan 2010 09:52:51 +0000 (09:52 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Jan 2010 09:52:51 +0000 (09:52 +0000)
STEER/AliGenHerwigEventHeader.cxx [new file with mode: 0644]
STEER/AliGenHerwigEventHeader.h [new file with mode: 0644]

diff --git a/STEER/AliGenHerwigEventHeader.cxx b/STEER/AliGenHerwigEventHeader.cxx
new file mode 100644 (file)
index 0000000..6b1f5bb
--- /dev/null
@@ -0,0 +1,35 @@
+/**************************************************************************
+ * 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.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
+#include "AliGenHerwigEventHeader.h"
+ClassImp(AliGenHerwigEventHeader)
+
+
+AliGenHerwigEventHeader::AliGenHerwigEventHeader():
+    fProcessType(0),
+    fTrials(0)
+{
+// Default Constructor
+}
+
+AliGenHerwigEventHeader::AliGenHerwigEventHeader(const char* name):
+    AliGenEventHeader(name),
+    fProcessType(0),
+    fTrials(0)
+{
+// Constructor
+}
diff --git a/STEER/AliGenHerwigEventHeader.h b/STEER/AliGenHerwigEventHeader.h
new file mode 100644 (file)
index 0000000..64c25a5
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef ALIGENHERWIGEVENTHEADER_H
+#define ALIGENHERWIGEVENTHEADER_H
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+#include "AliGenEventHeader.h"
+
+
+class AliGenHerwigEventHeader : public AliGenEventHeader
+{
+ public:
+    AliGenHerwigEventHeader();
+    AliGenHerwigEventHeader(const char* name);
+    virtual ~AliGenHerwigEventHeader() {}
+    Int_t    ProcessType()  {return fProcessType;}
+    void     SetProcessType(Int_t type)  {fProcessType = type;}
+    Int_t    Trials() {return fTrials;}
+    void     SetTrials(Int_t trials) {fTrials = trials;}
+protected:
+    Int_t    fProcessType;               // HERWIG process id for this event 
+    Int_t    fTrials;                    // Number of trials to fulfill trigger condition
+    ClassDef(AliGenHerwigEventHeader, 1)  // Event header for Herwig event
+};
+       
+       
+
+#endif