Wrong return type corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Jan 2011 10:43:36 +0000 (10:43 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Jan 2011 10:43:36 +0000 (10:43 +0000)
STEER/AliGenHerwigEventHeader.h

index 61580c1..ee1d28c 100644 (file)
@@ -19,7 +19,7 @@ class AliGenHerwigEventHeader : public AliGenEventHeader
     void     SetProcessType(Int_t type)  {fProcessType = type;}
     Int_t    Trials() {return fTrials;}
     void     SetTrials(Int_t trials) {fTrials = trials;}
-    Int_t    Weight() {return fWeight;}
+    Float_t  Weight() {return fWeight;}
     void     SetWeight(Float_t weight) {fWeight = weight;}
 protected:
     Int_t    fProcessType;               // HERWIG process id for this event