ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/scripts/setup.sh
(Generate patch)

Comparing UserCode/MitAna/scripts/setup.sh (file contents):
Revision 1.35 by loizides, Thu Nov 5 10:30:05 2009 UTC vs.
Revision 1.54 by bendavid, Mon Apr 4 23:37:02 2011 UTC

# Line 29 | Line 29 | echo
29  
30   cd $CMSSW_BASE/src;
31  
32 < if test $version -lt 2002014; then
33 <    echo "Version not supported, exiting";
34 <    exit 1;
32 > if test $version -lt 4200000; then
33 >
34 >  addpkg TrackingTools/TrajectoryState V06-04-07-01
35 >  addpkg RecoEgamma/EgammaTools V08-11-08
36 >  checkdeps -a
37 >
38   fi
39  
40 +
41   case $version in
42 <    (3003002)
39 <        #Remove annoying warning messages for the jet to vertex associator.
40 <        if ! test -d "JetMETCorrections/JetVertexAssociation"; then
41 <            addpkg JetMETCorrections/JetVertexAssociation;
42 <            TMP=`mktemp`;
43 <            cat JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc |
44 <            sed -e 's/else  std::cout << \"\[Jets\] JetVertexAssociation: Warning\! problems for  Algo = 2: possible division by zero ..\" << std::endl;//' > $TMP;
45 <            mv $TMP JetMETCorrections/JetVertexAssociation/src/JetVertexMain.cc
46 <        fi
47 <        if ! test -d "RecoLocalTracker/SiPixelRecHits"; then
48 <            addpkg RecoLocalTracker/SiPixelRecHits;
49 <            patch -p0 < MitAna/scripts/SiPixelRecHits.patch
50 <        fi
42 >    (3003006)
43          ;;
44      *)
45 <        echo "Nothing known about this version, exiting";
46 <        exit 1;
45 >        #echo "Nothing known about this version, exiting";
46 >        #exit 1;
47      ;;
48   esac
49  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines