Line data Source code
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 0 : class AliGenHerwigEventHeader : public AliGenEventHeader
13 : {
14 : public:
15 : AliGenHerwigEventHeader();
16 : AliGenHerwigEventHeader(const char* name);
17 0 : virtual ~AliGenHerwigEventHeader() {}
18 0 : Int_t ProcessType() const {return fProcessType;}
19 0 : void SetProcessType(Int_t type) {fProcessType = type;}
20 0 : Int_t Trials() const {return fTrials;}
21 0 : void SetTrials(Int_t trials) {fTrials = trials;}
22 0 : Float_t Weight() const {return fWeight;}
23 0 : void SetWeight(Float_t weight) {fWeight = weight;}
24 : protected:
25 : Int_t fProcessType; // HERWIG process id for this event
26 : Int_t fTrials; // Number of trials to fulfill trigger condition
27 : Float_t fWeight; // Event weight (= cross section in nb for unweighted events)
28 176 : ClassDef(AliGenHerwigEventHeader, 2) // Event header for Herwig event
29 : };
30 :
31 :
32 :
33 : #endif
|