1) provide a static pointer to THerwig to be able to retriev AVWGT after running...
[u/mrichter/AliRoot.git] / STEER / AliGenHerwigEventHeader.h
CommitLineData
bef86169 1#ifndef ALIGENHERWIGEVENTHEADER_H
2#define ALIGENHERWIGEVENTHEADER_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
12class AliGenHerwigEventHeader : public AliGenEventHeader
13{
14 public:
15 AliGenHerwigEventHeader();
16 AliGenHerwigEventHeader(const char* name);
17 virtual ~AliGenHerwigEventHeader() {}
18 Int_t ProcessType() {return fProcessType;}
19 void SetProcessType(Int_t type) {fProcessType = type;}
20 Int_t Trials() {return fTrials;}
21 void SetTrials(Int_t trials) {fTrials = trials;}
616d81ca 22 Int_t Weight() {return fWeight;}
23 void SetWeight(Float_t weight) {fWeight = weight;}
bef86169 24protected:
25 Int_t fProcessType; // HERWIG process id for this event
26 Int_t fTrials; // Number of trials to fulfill trigger condition
616d81ca 27 Float_t fWeight; // Event weight (= cross section in nb for unweighted events)
28 ClassDef(AliGenHerwigEventHeader, 2) // Event header for Herwig event
bef86169 29};
30
31
32
33#endif