Validation Steps

*Will be updated to have the steps below as a shell/python script in the future.*
The following validation steps are used to produce new payloads.

1. Login into online machines (cmsusr0,1,...) and from there login into csc-c2d08-13. cd /data/dqm/calib where the calibration runs will be grouped by Test_CFEB02/03 or 04 and their run numbers.

2. Use the scripts in /nfshome0/boeriu/cal_data:,, and to merge the results of a certain run for each test. The pedestals and noise matrix elements are both under Test_CFEB02, the crosstalk results are under Test_CFEB03 and the matrix elements under Test_CFEB04. Change inside the scripts the location and output file names (if you want the latter, you can also copy the output.dat file later to another name).

3. Copy/Move the output files to /nfshome0/boeriu/cal_data/merged_data/ cd /nfshome0/boeriu/cal_data/CMSSW_2_1_0_pre3/src and use the C++ scripts: readGains.cpp , readMatrix.cpp , readPeds.cpp and readXtalk.cpp (after changing the input/output file names) to obtain the good constants that will be transferred. (Specifically do: g++ readxxx.cpp -o readXXX ; ./readXXX).

4. Use compareGains.cpp, compareMatrix.cpp , comparePeds.cpp and compareXtalk.cpp to see the difference per channel compared to previous runs. Note: ./ can be used to do the above steps, but change input/output names in the necessary places!

In ROOT read into a root-tuple the .dat files you obtain in the previous step using .x diffPeds.C .x diffGains.C .x diffMatrix.C .x diffXtalk.C Look at differences and produce .gif files, update twiki page for each new set of constants.

5. If all the above steps are ok, create sqlite files from this data: Download CalibMuon/CSCCalibration (compile if necessary) and use , , , under /test to get the sqlite files. Note: you need to read back what is in the database first ( , , , and copy the dbxxx.dat files to old_dbxxx.dat files, the newly obtained .dat files are copied to xxx.dat (e.g. cp goodPeds...dat peds.dat).

The above has been migrated to CalibMuon/CSCCalibration/test/stubs/ and There is also a shell script that will execute all steps.

-- OanaBoeriu - 11 Aug 2009

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2010-05-25 - DarinBaumgartel
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback