ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/Utilities/scripts/setup3XY.sh
Revision: 1.1
Committed: Wed Aug 12 12:44:25 2009 UTC (15 years, 9 months ago) by yilmaz
Content type: application/x-sh
Branch: MAIN
Log Message:
Setup for 3XY

File Contents

# User Rev Content
1 yilmaz 1.1 #!/bin/sh
2    
3     export CVSROOT=:gserver:cmscvs.cern.ch:/cvs_server/repositories/CMSSW
4    
5     cd $CMSSW_BASE/src
6     eval `scramv1 ru -sh`
7    
8     cvs co RecoHI/Configuration
9     cvs co -r V01-00-04 RecoHI/HiTracking
10     cvs co RecoHI/HiJetAlgos
11     cvs co RecoHI/HiEgammaAlgos
12     cvs co RecoHI/HiCentralityAlgos
13    
14     cvs co Configuration/Generator
15     cvs co GeneratorInterface/HydjetInterface
16     cvs co -r embedding_v02 GeneratorInterface/PyquenInterface
17    
18     cvs co SimDataFormats/HiGenData
19    
20     # Turn off ZDC digitization
21     checkOutVersion=`echo $CMSSW_VERSION | sed "s/_patch1//g"`
22     ver=`echo $checkOutVersion | sed "s/CMSSW//g" | sed "s/_//g"`
23     if [ $ver -lt 324 ]; then
24     cvs co -r $checkOutVersion SimCalorimetry/HcalSimProducers
25     cat $CMSSW_BASE/src/SimCalorimetry/HcalSimProducers/src/HcalDigitizer.cc | replace "doZDC(true)" "doZDC(false)" | replace "e.getByLabel(\"mix\", zdcHitsName , zdccf)" "// e.getByLabel(\"mix\", zdcHitsName , zdccf)" | replace "colzdc(new MixCollection<PCaloHit>(zdccf.product()))" "colzdc(new MixCollection<PCaloHit>(new CrossingFrame<PCaloHit>))" | replace "theHitCorrection->fillChargeSums(*colzdc)" "// zdc correction" > tmp.cc
26     mv tmp.cc $CMSSW_BASE/src/SimCalorimetry/HcalSimProducers/src/HcalDigitizer.cc
27     fi
28    
29     cvs co UserCode/CmsHi
30     mv UserCode/CmsHi .
31    
32     scramv1 b
33    
34