Open Lambdastar opened 10 years ago
Basic classes are provided by FairROOT package as far far I know. There're some in base/field directory. I think we can write our own subclassing FairField class referencing FairConstField class in Tutorial3.
Yes Genie, we have to add the PndFieldMap to FairField class referencing FairConstField
I have uploaded fopiroot.source with all the files in my public repository https://github.com/Lambdastar/fopiroot_source
FopiRoot has a class PndFieldMap.cxx in fopiroot.source/field directory, which reads in the Ascii/Root file and reads in the magnetice field values and finds the field values by interpolation of the grid and gives the output in root file.
We should implement this class into our SPiRIT root.