Bug fix. Removed delete statement
[u/mrichter/AliRoot.git] / STEER / AliGenDPMjetEventHeader.h
1 #ifndef ALIGENDPMJETEVENTHEADER_H
2 #define ALIGENDPMJETEVENTHEADER_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 #include <TLorentzVector.h>
8
9 #include "AliGenEventHeader.h"
10 #include "AliCollisionGeometry.h"
11
12 class AliGenDPMjetEventHeader : public AliGenEventHeader, public AliCollisionGeometry
13 {
14  public:
15     AliGenDPMjetEventHeader(const char* name);
16     AliGenDPMjetEventHeader();
17     virtual ~AliGenDPMjetEventHeader() {}
18
19   // Getters
20   Float_t TotalEnergy()  {return fTotalEnergy;} 
21   Int_t   Trials()       {return fTrials;}
22   Int_t   ProcessType()  {return fProcessType;}
23   
24           
25   // Setters
26   void SetTotalEnergy(Float_t energy)  {fTotalEnergy = energy;}
27   void SetTrials(Int_t trials)         {fTrials      = trials;}
28   void SetProcessType(Int_t type)      {fProcessType = type;}
29           
30 protected:
31   Float_t fTotalEnergy;              // Total energy of produced particles
32   Int_t   fTrials;                   // Number of trials to fulfill trigger condition
33   Int_t   fProcessType;              // Process Type 
34   
35   ClassDef(AliGenDPMjetEventHeader,1) // Event header for dpmjet event
36 };
37
38 #endif