]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenHijingEventHeader.h
Derive from AliGenMC.
[u/mrichter/AliRoot.git] / EVGEN / AliGenHijingEventHeader.h
1 #ifndef ALIGENHIJINGEVENTHEADER_H
2 #define ALIGENHIJINGEVENTHEADER_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 #include "AliGenEventHeader.h"
10
11
12 class AliGenHijingEventHeader : public AliGenEventHeader
13 {
14  public:
15
16   AliGenHijingEventHeader(const char* name){;}
17   AliGenHijingEventHeader(){;}
18   virtual ~AliGenHijingEventHeader() {}
19   // Getters
20   Float_t TotalEnergy()  {return fTotalEnergy;} 
21   Int_t   HardScatters() {return fNHardScatters;}
22   Int_t   ProjectileParticipants()  {return fNProjectileParticipants;}
23   Int_t   TargetParticipants()      {return fNTargetParticipants;}        
24   Int_t   NN()    {return fNNColl;}
25   Int_t   NNw()   {return fNNwColl;}
26   Int_t   NwN()   {return fNwNColl;}
27   Int_t   NwNw()  {return fNwNwColl;}
28   // Setters
29   void SetTotalEnergy(Float_t energy)  {fTotalEnergy=energy;}
30   void SetHardScatters(Int_t n)  {fNHardScatters=n;}
31   void SetParticipants(Int_t np, Int_t nt)
32       {fNProjectileParticipants=np, fNTargetParticipants=nt;}
33   void SetCollisions(Int_t nn, Int_t nnw, Int_t nwn, Int_t nwnw)
34       {fNNColl=nn, fNNwColl=nnw, fNwNColl=nwn,  fNwNwColl=nwnw;}
35   
36 protected:
37   Float_t fTotalEnergy;              // Total energy of produced particles
38   Int_t   fNHardScatters;            // Number of hard scatterings
39   Int_t   fNProjectileParticipants;  // Number of projectiles participants
40   Int_t   fNTargetParticipants;      // Number of target participants
41   Int_t   fNNColl;                   // Number of N-N collisions
42   Int_t   fNNwColl;                  // Number of N-Nwounded collisions
43   Int_t   fNwNColl;                  // Number of Nwounded-N collisons
44   Int_t   fNwNwColl;                 // Number of Nwounded-Nwounded collisions
45   
46   
47   ClassDef(AliGenHijingEventHeader,1) // Event header for hijing event
48 };
49
50 #endif