TGraphTask

The user defined task type can take arguments to a constructor.