Hi, I am trying to learn to work with ROOT by rewriting a PAW program I've used for analysing test beam data. All data is converted from a hbook file to a ROOT file containing a ntuple. This data contains hits in tracking chambers, which should be extrapolated to the plane of the detector which is being tested to know where the particle hit the detector - this position is used to define cuts on the events. In PAW this was done by following line: cuts $96 [left]<xfit.f(//[strip].//)<[right] where xfit.f was a fortran function which calculated where the particle hit the plane of the detector (using the data of the tracking chambers). I am wondering what would be the easiest way of doing something similiar in ROOT. From my understanding one can not call functions in TCut (except those defined in TFormula). Is the only way of doing it using MakeClass, or is there an easier way? Thank you very much in advance. Stephan Witoszynskyj
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:52 MET