[Clas12_rich] mirror analysis

Marco Mirazita Marco.Mirazita at lnf.infn.it
Fri Jul 15 11:36:48 EDT 2016


Hi all,
I'm sending you the code I used to make the analysis of the CMM edge 
measurements.
I checked my definition of the normal to the lateral sides and it seems 
that it is always pointing inside the mirror, so an average distance>0 
means that the surface is actually smaller than the CAD ones.

The CMM data must be extracted from the excel file and put in txt files 
as you can see in the directories 4Central_data/, etc.
Here, there are also the files like 4CentralCAD_corners.txt containing 
the corner coordinates extracted by Sandro from the CAD model.

In the directory PlaneFit/, you should make links to all the txt files 
from one of the data directories.
The executable to make the calculation is CheckMirrorSides, you can run 
it for example doing:
> CheckMirrorSides -F4Central
You will get:
- the file 4Central.calcP.root with the histograms we were looking at 
yesterday
- the file 4Central.calcP.out with the list of the measured points and 
the calculated distances from CAD
- the file 4Central.CADplanes.out with the coordinates of the normal and 
the constant defining the plane of the 4 mirror sides computed from CAD 
corners.

If you want to modify the source code, then you have the Makefile to 
produce the new executable (but I'm not sure if it works on any linux 
machine).

In root, you can run the script
root> .x PlotMirrorSides.C("4Central")
and you get a ps file with the plots.

Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMManalysis.tar
Type: application/x-tar
Size: 727040 bytes
Desc: not available
URL: <https://mailman.jlab.org/pipermail/clas12_rich/attachments/20160715/a0f2013d/attachment-0001.tar>


More information about the Clas12_rich mailing list