From: morsch Date: Tue, 25 Jan 2011 10:43:36 +0000 (+0000) Subject: Wrong return type corrected. X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=d4b9fe2e45395945eaf02568003ca46e2595c7b8 Wrong return type corrected. --- diff --git a/STEER/AliGenHerwigEventHeader.h b/STEER/AliGenHerwigEventHeader.h index 61580c1ab54..ee1d28c2f0f 100644 --- a/STEER/AliGenHerwigEventHeader.h +++ b/STEER/AliGenHerwigEventHeader.h @@ -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