|
1 | 1 | #!/bin/bash |
2 | 2 |
|
3 | 3 | webDir=http://clasweb.jlab.org/clas12offline/distribution/coatjava/validation_files/eb |
4 | | -webVersion=4.4.0-fid-r11 |
| 4 | +webVersion=5.0-fid-r11 |
5 | 5 | webDir=$webDir/$webVersion |
6 | 6 |
|
7 | 7 | # coatjava must already be built at ../../coatjava/ |
@@ -124,31 +124,28 @@ then |
124 | 124 | fi |
125 | 125 |
|
126 | 126 | # download test files, if necessary: |
127 | | - rm -f ${webFileStub}.evio |
128 | | - wget -N --no-check-certificate $webDir/${webFileStub}.evio.gz |
| 127 | + wget -N --no-check-certificate $webDir/${webFileStub}.hipo |
129 | 128 | if [ $? != 0 ] ; then echo "wget validation files failure" ; exit 1 ; fi |
130 | | - gunzip -f ${webFileStub}.evio.gz |
131 | 129 |
|
132 | | - rm -f ${webFileStub}.hipo |
133 | | - rm -f out_${webFileStub}.hipo |
134 | | - |
135 | | - # convert to hipo: |
136 | | - $COAT/bin/evio2hipo -s $gemcSolenoidDefault -o ${webFileStub}.hipo ${webFileStub}.evio |
| 130 | + # update the schema dictionary: |
| 131 | + rm -f up_${webFileStub}.hipo |
| 132 | + ../../coatjava/bin/hipo-utils -update -d ../../coatjava/etc/bankdefs/hipo4/ -o up_${webFileStub}.hipo ${webFileStub}.hipo |
137 | 133 |
|
138 | 134 | # run reconstruction: |
| 135 | + rm -f out_${webFileStub}.hipo |
139 | 136 | if [ $useClara -eq 0 ] |
140 | 137 | then |
141 | 138 | GEOMDBVAR=$geoDbVariation |
142 | 139 | export GEOMDBVAR |
143 | | - ../../coatjava/bin/recon-util -i ${webFileStub}.hipo -o out_${webFileStub}.hipo -c 2 |
| 140 | + ../../coatjava/bin/recon-util -i up_${webFileStub}.hipo -o out_${webFileStub}.hipo -c 2 |
144 | 141 | else |
145 | 142 | echo "set inputDir $PWD/" > cook.clara |
146 | 143 | echo "set outputDir $PWD/" >> cook.clara |
147 | 144 | echo "set threads 7" >> cook.clara |
148 | 145 | echo "set javaMemory 2" >> cook.clara |
149 | 146 | echo "set session s_cook" >> cook.clara |
150 | 147 | echo "set description d_cook" >> cook.clara |
151 | | - ls ${webFileStub}.hipo > files.list |
| 148 | + ls up_${webFileStub}.hipo > files.list |
152 | 149 | echo "set fileList $PWD/files.list" >> cook.clara |
153 | 150 | echo "run local" >> cook.clara |
154 | 151 | echo "exit" >> cook.clara |
|
0 commit comments