]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEERBase/AliGenDPMjetEventHeader.h
Moving the classes that belong to the following libraries: STEERBase, ESD, CDB, AOD...
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliGenDPMjetEventHeader.h
diff --git a/STEER/STEERBase/AliGenDPMjetEventHeader.h b/STEER/STEERBase/AliGenDPMjetEventHeader.h
new file mode 100644 (file)
index 0000000..11443bb
--- /dev/null
@@ -0,0 +1,38 @@
+#ifndef ALIGENDPMJETEVENTHEADER_H
+#define ALIGENDPMJETEVENTHEADER_H
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+#include <TLorentzVector.h>
+
+#include "AliGenEventHeader.h"
+#include "AliCollisionGeometry.h"
+
+class AliGenDPMjetEventHeader : public AliGenEventHeader, public AliCollisionGeometry
+{
+ public:
+    AliGenDPMjetEventHeader(const char* name);
+    AliGenDPMjetEventHeader();
+    virtual ~AliGenDPMjetEventHeader() {}
+
+  // Getters
+  Float_t TotalEnergy()  const {return fTotalEnergy;} 
+  Int_t   Trials()       const {return fTrials;}
+  Int_t   ProcessType()  const {return fProcessType;}
+  
+         
+  // Setters
+  void SetTotalEnergy(Float_t energy)  {fTotalEnergy = energy;}
+  void SetTrials(Int_t trials)         {fTrials      = trials;}
+  void SetProcessType(Int_t type)      {fProcessType = type;}
+         
+protected:
+  Float_t fTotalEnergy;              // Total energy of produced particles
+  Int_t   fTrials;                   // Number of trials to fulfill trigger condition
+  Int_t   fProcessType;              // Process Type 
+  
+  ClassDef(AliGenDPMjetEventHeader,1) // Event header for dpmjet event
+};
+
+#endif