-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRunPlotting.sh
More file actions
45 lines (36 loc) · 1.94 KB
/
RunPlotting.sh
File metadata and controls
45 lines (36 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export alignmentName="mc_DT-1100-111111_CMSSW_8_0_24_GTasym_45M_8TeV_misallFixsigma_03"
xmlfile_ref="Geometries/muonGeometry_IDEAL_AllZeroes.Ape6x6.StdTags.746p3.DBv2.xml" # reference geometry: initial or IDEAL
#xmlfile_ref="Geometries/data_DT-1100-111111_SingleMuon_Run2016G_MuAlCalIsolatedMu_278820_280385_8_0_24_Rerecov1_03.xml" # 2016G 6 DOF DT
#xmlfile_ref="Geometries/data_CSC-1100-110001_SingleMuon_Run2016G_MuAlCalIsolatedMu_278820_280385_8_0_24_Rerecov1_03.xml" #2016G 6 DOF CSC
#referenceName="Iter 1 vs Iter 3"
referenceName="IDEAL_Geo"
#referenceName="2016B_early"
#referenceName="2016E_3DOF"
#referenceName="2016G_6DOF"
correctionName="Displacements from ideal geometry" # 'corrections" if difference between initial and final geometries; 'displacements' if difference between IDEAL and final geometries
#correctionName="Displacements from 2016B geometry" # 'corrections" if difference between initial and final geometries; 'displacements' if difference between IDEAL and final geometries
#correctionName="Displacements from 2016E with 3DOF"#
#correctionName="Displacements from 2016G with 6DOF"#
runComparison=true
uploadComparison=true
runCorrelation=false
printCorrelationFactors=true
doDT="true"
doCSC="false"
if [ "$runComparison" = true ]; then
echo output: OUTPUT/${alignmentName}.out.txt
python PlotConfig_Generic.py $xmlfile_ref $doDT $doCSC $referenceName $correctionName > OUTPUT/${alignmentName}.out.txt -b
fi
if [ "$uploadComparison" = true ]; then
cd RESULT/
echo "copying $alignmentName"
scp -r $alignmentName ${USER}@lxplus.cern.ch:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_MUONALIGN/www/tmp/
echo "copied"
cd ..
fi
if [ "$doDT" = true -a "$runCorrelation" = true ]; then
python TMP_CREATE_CORRELATION_PLOTS_2.py $alignmentName $printCorrelationFactors $xmlfile_ref -b
fi
if [ "$doCSC" = true -a "$runCorrelation" = true ]; then
python TMP_CREATE_CORRELATION_PLOTS_3.py $alignmentName $printCorrelationFactors -b
fi