]>
Commit | Line | Data |
---|---|---|
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 | ||
12 | class AliGenHerwigEventHeader : public AliGenEventHeader | |
13 | { | |
14 | public: | |
15 | AliGenHerwigEventHeader(); | |
16 | AliGenHerwigEventHeader(const char* name); | |
17 | virtual ~AliGenHerwigEventHeader() {} | |
5e6a3170 | 18 | Int_t ProcessType() const {return fProcessType;} |
bef86169 | 19 | void SetProcessType(Int_t type) {fProcessType = type;} |
5e6a3170 | 20 | Int_t Trials() const {return fTrials;} |
bef86169 | 21 | void SetTrials(Int_t trials) {fTrials = trials;} |
5e6a3170 | 22 | Float_t Weight() const {return fWeight;} |
616d81ca | 23 | void SetWeight(Float_t weight) {fWeight = weight;} |
bef86169 | 24 | protected: |
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 |