AliGenCocktailAfterBurner* GetGenerator();
/*******************************************************************/
AliGenHBTprocessor::AliGenHBTprocessor(const AliGenHBTprocessor& in):
- fEventMerge(1)
+ AliGenerator(in), fEventMerge(1)
{
//copy contructor
// AliGenHBTprocessor::AliGenHBTprocessor();
Error("GetHbtPStatusCode","GetTrackEventIndex returned error");
return 0;
}
- else return fHbtPStatCodes[ev][idx];
+ return fHbtPStatCodes[ev][idx];
- return 0;
}
/*******************************************************************/
fPzMax =pzmax;
fHBTprocessor->SetPzRange(pzmin,pzmax);
}
-void AliGenHBTprocessor::SetMomentumRange(Float_t pmin, Float_t pmax)
+void AliGenHBTprocessor::SetMomentumRange(Float_t /*pmin*/, Float_t /*pmax*/)
{
//default pmin=0, pmax=0
//Do not use this method!
Error("GetTrack","GetTrackEventIndex returned error");
return 0x0;
}
- else
- {
- if (fgDebug > 5) Info("GetTrack","Number of Tracks in Event(%d) = %d",ev,cab->GetStack(ev)->GetNprimary());
- return cab->GetStack(ev)->Particle(idx); //safe - in case stack does not exist
- } //GetTrackEventIndex would have returned error
- return 0x0;
+ if (fgDebug > 5) Info("GetTrack","Number of Tracks in Event(%d) = %d",ev,cab->GetStack(ev)->GetNprimary());
+ return cab->GetStack(ev)->Particle(idx);//safe - in case stack does not exist
}
/*******************************************************************/