Difference: TrackerAlignmentHowTo (40 vs. 41)

Revision 412012-02-29 - KrisztianKrajczar

Line: 1 to 1
 
META TOPICPARENT name="TrackerAlignment"

Mille/Pede Tracker Alignment How-To

Line: 699 to 699
 

Here at section 5) above, if using (t)csh then some extra attention is needed. tcsh here will not work. RooFitSetup is a (ba)sh initilizator from which it is very starightforward to write a (t)csh one. But then the fit will not build, cause some header files would not be found. Change shell here in your window and do this step in bash, instead.

Added:
>
>

February alignment - Krisztian

Email from Roberto about our resposibility and out job: email

Steps:

cd /afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/data/commonValidation/CMSSW_5_1_1_patch2/
source /afs/cern.ch/user/k/krajczar/public/TrackerAlignment_setup_env_2.csh
cd /afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/MP/MPproduction
./setupNewAlignment.sh

This results in the mp1055 directory. I take my setup used for aligning data from mp1029 and copied here. I also copied here the example 0 T config file from mp1046 (see Roberto's above-mentioned email).

cp ../mp1046/alignment_cosmics_0T.py

Observation: in this config file the the alignment database is overwritten by hand! In earlier config files we used (for instance, alignment_isolated_mu.py) this was not done. As far as understand the comment in the config file, this manual overwriting was done to get around some problem with ESPrefer. Should be checked with Gero! Does it mean that the startgeomerty.txt or the alignables.txt has no effect now, and the starting geometries are to be adjusted directly in the config file?

For the alignment of the 4 T data this will needed to be modified. After these steps I removed the unnecessary files from the directory and made the following modifications to the remaining files:

- several things in setup_align.py (the location of the MillePede scripts, endpoint directories, the config file to be run, global tag, json file)

Check with Gero: global tag (I use GR_P_V28)? JSON?

Test 0T dataset: /Cosmics/Commissioning12-TkAlCosmics0T-v1/ALCARECO

To produce the list of ROOT files corresponding to the above-mentioned dataset do:

dbs search --query='find file where dataset=/Cosmics/Commissioning12-TkAlCosmics0T-v1/ALCARECO and file.numevents>0' | grep -i store > bla.txt

Add "CastorPool=cmscaf" to the beginning of bla.txt to create the final input file list for the setup_align.py script.

I made a simply JSON file, which accepts everyting, and fed it setup_align.py

Run Mille and then Pede by:

perl setup_align.pl
mps_fire.pl 1000
mps_stat.pl
mps_retry.pl FAIL
mps_fetch.pl

mps_fire.pl -mf

The Mille jobs are reported to have failed: "gzip -f jobData/job016/STDOUTsend2nsd: NS009 - fatal configuration error: Host unknown: cnsuser.caf/store/caf/user/krajczar/MPproduction/mp1055: Host not knownmilleBinary???.dat file not found or emptyjob016 217956410 -------- FAIL".

However, the /store/caf/user/krajczar/MPproduction/mp1055 directory seem to contain all files, so it seems that Mille run successfully (?). However, the blindly started Pede jobs fails too: "zip -f jobData/jobm/STDOUTjobm 217962914 Command not foundjobm 217962914 Pede did not end normallyjobm 217962914 -------- FAIL". The jobm/STDOUT says that "/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/MP/MPproduction/mp1055/jobData/jobm/theScript.sh:112: command not found: mps_merge_millepedemonitor.pl".

 

META FILEATTACHMENT attachment="DmedianR_TPB.png" attr="" comment="DmedianR_TPB.png example" date="1301989831" name="DmedianR_TPB.png" path="DmedianR_TPB.png" size="5383" stream="DmedianR_TPB.png" tmpFilename="/usr/tmp/CGItemp13771" user="RadicsBalint" version="1"
Line: 719 to 766
 
META FILEATTACHMENT attachment="Roberto_newGeometries.log" attr="" comment="" date="1320416099" name="Roberto_newGeometries.log" path="Roberto_newGeometries.log" size="5148" stream="Roberto_newGeometries.log" tmpFilename="/usr/tmp/CGItemp18340" user="KrisztianKrajczar" version="1"
META FILEATTACHMENT attachment="Gero_plotting3.log" attr="" comment="" date="1320914235" name="Gero_plotting3.log" path="Gero_plotting3.log" size="13618" stream="Gero_plotting3.log" tmpFilename="/usr/tmp/CGItemp2142" user="KrisztianKrajczar" version="1"
META FILEATTACHMENT attachment="Roberto_GeomManipulation.txt" attr="" comment="" date="1325760696" name="Roberto_GeomManipulation.txt" path="Roberto_GeomManipulation.txt" size="3881" stream="Roberto_GeomManipulation.txt" tmpFilename="/usr/tmp/CGItemp19176" user="KrisztianKrajczar" version="1"
Added:
>
>
META FILEATTACHMENT attachment="Roberto_Febr.log" attr="" comment="" date="1330506872" name="Roberto_Febr.log" path="Roberto_Febr.log" size="2846" stream="Roberto_Febr.log" tmpFilename="/usr/tmp/CGItemp17192" user="KrisztianKrajczar" version="1"
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback