SpiRIT-Collaboration / SpiRITROOT

SPiRITROOT development repository
7 stars 3 forks source link

Solution for applying Magnetic Field Map #3

Open Lambdastar opened 10 years ago

Lambdastar commented 10 years ago

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.

geniejhang commented 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.

Lambdastar commented 10 years ago

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