Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 James N. Bellinger University of Wisconsin-Madison 13-August-2010 Endcap Processing Notes James N. Bellinger 13-Aug-2010.

Similar presentations


Presentation on theme: "1 James N. Bellinger University of Wisconsin-Madison 13-August-2010 Endcap Processing Notes James N. Bellinger 13-Aug-2010."— Presentation transcript:

1 1 James N. Bellinger University of Wisconsin-Madison 13-August-2010 Endcap Processing Notes James N. Bellinger 13-Aug-2010

2 2 Locations /afs/cern.ch/cms/CAF/CMSALCA/ALCA_MUONALIGN/HWAlignment/Endcap Tools Non-CMSSW software: mostly data manipulation Data Main datafiles and partitioned subsets of them Partitions Subdirectories for each partition of the Endcap MEp1, MEm1, MEp23, MEm23, MEp4, MEm4, XFER Output Photogrammetry Reference information Plots profileData James N. Bellinger 13-Aug-2010

3 3 Data 1.Dumps of online database 2.Selected events, processed into Cocoa format (eg 1276014332.dat) Alternatively, a selected event’s profiles from profileData, refit and processed into Cocoa format 3.Normal partitions of an event (eg MEm4_1276014332.dat) 4.Special partitions for MEp1 and MEm1, which include hand-inserted data from Link and the IR-Z sensors 5.Soft links to current event’s data: MEm4.dat => MEm4_1276014332.dat James N. Bellinger 13-Aug-2010

4 4 Partitions: example Partitions/MEp23 1.Script to process the data: makeit.com and makeit.Z.com 2.Uncalibrated SDF file: MEp23.sdf 3.Uncalibrated special SDF file: MEp23.ZONLY.SDF Results files are MEp23_survey.sdf created by applying calibrations to MEp23.sdf MEp23.ZONLY_calib.sdf created by applying some calibrations to MEp23.ZONLY.sdf mep23.xyzphixyz : fit chamber centers and rotations James N. Bellinger 13-Aug-2010

5 5 Partitions: why complexity? Plunger-style Z-sensor model is not integrated into Cocoa model It doesn’t work yet—inconsistent results Putting everything together uses too much memory Have to calculate Z-information for chambers separately and merge it. Current approach is Florida model James N. Bellinger 13-Aug-2010

6 6 Any glitches and gotchas? MEm1 model doesn’t work perfectly I get better DQM from refitting the full profiles than from the online fit—more information is available, even ignoring being able to eyeball the profiles Bug in the Z calculation somewhere James N. Bellinger 13-Aug-2010

7 7 How does it operate? 1.Select a good event 1.Use good profile root file and run Tools/makeplots.C on it (inspect) and then Tools/readRefit.sh to create the main datafile 2.Use Tools/findgoodLine.awk on the database dump to find a good event, and then select out that event and run Tools/unpdbloose.awk (or unpdbtight.awk) and create the main datafile 2.Make the partitions Data/makesplits.sh and create soft links for them Data/linkCurrentData.sh 3.From Celso get the Link ME1/2 ASPD data and the Link fits for the Link disk 1.Former in MEp1/MEm1.dat, latter in Partitions/MEp1/LDPlus….include James N. Bellinger 13-Aug-2010

8 8 How does it operate? 2 1.Select a time window and inspect the Z-sensor analog data for that interval. 1.Find a good interval and collect the averages. 2.Use the spreadsheet system in http://www.hep.wisc.edu/~jnb/cms/09Aug2010/June7.xls to calculate Z distances http://www.hep.wisc.edu/~jnb/cms/09Aug2010/June7.xls 3.Create Cocoa-format data for the IR-Z sensors and insert this in the MEp1 and MEm1 data files 2.From Celso get the MAB positions and tilts. Use the spreadsheet system above to calculate IR target positions in Z 1.Edit the MEp1/MEm1.sdf files to reflect these positions James N. Bellinger 13-Aug-2010

9 9 How does it operate? 3 1.Some Z calculations which are not completely scripted yet are described in http://www.hep.wisc.edu/~jnb/cms/09Aug2010/ http://www.hep.wisc.edu/~jnb/cms/09Aug2010/ 2.Copy the resulting file (redoForZONLY.awk) to the Tools area 3.Run makeit.com in each Partitions subdirectory 4.Run makeit.Z.com in each Partitions subdirectory 5.(final filename isn’t fixed) create a file from concatenating all of the Partitions/XXX/xxx.xyzphixyz files 6.Tools/runAll | awk –f Tools/createXML.awk > Endcap xml fragment: (no ME11 or DT) Assemble. James N. Bellinger 13-Aug-2010

10 10 Too many operator steps 1.Selecting event 2.Retrieving Link fits and data 3.Rewriting MAB info in ME1.sdf files (scriptable) 4.Rewriting ME1 data files with Link data (scriptable) 5.Retrieving Z-sensor analog info 6.Rewriting ME1 data files again (scriptable) 7.Calculating Z positions of transfer plates and writing the rewrite script (scriptable) 8.Assembling the final XML file, creating SQLite (scriptable) 9.Checking the resulting displays This we keep James N. Bellinger 13-Aug-2010

11 11 Tools used but not provided 1.Cocoa 2.Excel (need to make a program instead) 3.Pari/gp (free math program, I use scripts in this language) James N. Bellinger 13-Aug-2010

12 12 Medium term I will have to phase out work on alignment in the next couple of months Endcap hardware alignment Bullseye: analysis system complete and understood and turnkey 9-Ring: analysis system pieces in place and understood and ready for someone else to take over management 8-Ring: analysis system pieces in place and mostly working Integration Bullseye: communication between Link/Barrel/Endcap processing is turnkey 9-Ring: communication between groups does not iterate 8-Ring: no more than one iteration and results in 5 days James N. Bellinger 13-Aug-2010


Download ppt "1 James N. Bellinger University of Wisconsin-Madison 13-August-2010 Endcap Processing Notes James N. Bellinger 13-Aug-2010."

Similar presentations


Ads by Google