--- /dev/null
+/**************************************************************************
+ * 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. *
+ **************************************************************************/
+
+
+#include "AliGenDPMjetEventHeader.h"
+ClassImp(AliGenDPMjetEventHeader)
+
+AliGenDPMjetEventHeader::AliGenDPMjetEventHeader():
+ AliGenEventHeader(),
+ AliCollisionGeometry(),
+ fTotalEnergy(0.),
+ fTrials(0),
+ fProcessType(0)
+{
+ // Default constructor
+}
+
+
+AliGenDPMjetEventHeader::AliGenDPMjetEventHeader(const char* name):
+ AliGenEventHeader(name),
+ AliCollisionGeometry(),
+ fTotalEnergy(0.),
+ fTrials(0),
+ fProcessType(0)
+{
+ // Constructor
+}
--- /dev/null
+#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() {return fTotalEnergy;}
+ Int_t Trials() {return fTrials;}
+ Int_t ProcessType() {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
#pragma link C++ class AliGenPythiaEventHeader+;
#pragma link C++ class AliGenHijingEventHeader+;
#pragma link C++ class AliCollisionGeometry+;
-
+#pragma link C++ class AliGenDPMjetEventHeader+;
#pragma link C++ class AliStack+;
#pragma link C++ class AliMCEventHandler+;
#pragma link C++ class AliInputEventHandler+;
AliHeader.cxx AliGenEventHeader.cxx AliDetectorEventHeader.cxx \
AliGenPythiaEventHeader.cxx AliGenCocktailEventHeader.cxx \
AliGenHijingEventHeader.cxx AliCollisionGeometry.cxx \
+ AliGenDPMjetEventHeader.cxx \
AliStack.cxx AliMCEventHandler.cxx AliInputEventHandler.cxx \
AliTrackReference.cxx AliSysInfo.cxx \
AliMCEvent.cxx AliMCParticle.cxx \