ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/Utilities/scripts/setup3XY.sh
Revision: 1.2
Committed: Fri Aug 14 13:50:33 2009 UTC (15 years, 9 months ago) by yilmaz
Content type: application/x-sh
Branch: MAIN
CVS Tags: V00-01-00
Changes since 1.1: +6 -0 lines
Log Message:
Moving slowly to official code

File Contents

# Content
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 cvs co SimGeneral/MixingModule
21 cvs co SimGeneral/CrossingFrame
22
23 # Turn off ZDC digitization
24 checkOutVersion=`echo $CMSSW_VERSION | sed "s/_patch1//g"`
25 ver=`echo $checkOutVersion | sed "s/CMSSW//g" | sed "s/_//g"`
26 if [ $ver -lt 324 ]; then
27 cvs co -r $checkOutVersion SimCalorimetry/HcalSimProducers
28 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
29 mv tmp.cc $CMSSW_BASE/src/SimCalorimetry/HcalSimProducers/src/HcalDigitizer.cc
30 fi
31
32 cvs co UserCode/yetkin/DataFormats
33 mv UserCode/yetkin/DataFormats .
34
35 cvs co UserCode/CmsHi
36 mv UserCode/CmsHi .
37
38 scramv1 b
39
40