I am interested in the ROOt’s equivalent of PAW’s vlocate.
In the following link root.cern.ch/drupal/content/how-convert-paw, it looks like the equivalent is implemented via CutG. TCutG works fine but it’s not convenient in a macro.
For example, using PAW , we can have a kumac like :
vlocate vx vy *s
v/fit vx vy ! p1
How can I do the same thing via ROOT ?
PS : I don’t have to modify my kumac every time I have to change vx and vy.