18 |
|
|
19 |
|
cd $CMSSW_BASE/src; |
20 |
|
|
21 |
< |
if test $version -lt 20108; then |
21 |
> |
if test $version -lt 20108; then |
22 |
|
echo "Nothing to be done, exiting"; |
23 |
|
exit 1; |
24 |
|
elif test $version -eq 20108; then |
27 |
|
cvs co -r V02-09-00 JetMETCorrections/Modules; |
28 |
|
|
29 |
|
#to remove annoying Warning messages for the jet to vertex associator. |
30 |
< |
cvs co JetMETCorrections/JetVertexAssociation |
31 |
< |
cat JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc | sed -e 's/else std::cout << \"\[Jets\] JetVertexAssociation: Warning\! problems for Algo = 2: possible division by zero ..\" << std::endl;//' > tmp |
32 |
< |
mv tmp JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc |
30 |
> |
cvs co JetMETCorrections/JetVertexAssociation; |
31 |
> |
TMP=`mktemp`; |
32 |
> |
cat JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc | |
33 |
> |
sed -e 's/else std::cout << \"\[Jets\] JetVertexAssociation: Warning\! problems for Algo = 2: possible division by zero ..\" << std::endl;//' > $TMP; |
34 |
> |
mv $TMP JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc |
35 |
> |
else |
36 |
> |
echo "Nothing known about this version, exiting"; |
37 |
> |
exit 1; |
38 |
|
fi |
39 |
|
|
40 |
|
echo "Setup done; you probably want to compile your project area now"; |