ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/Utilities/scripts/setup3XY.sh
Revision: 1.4
Committed: Tue Aug 18 08:24:49 2009 UTC (15 years, 8 months ago) by yilmaz
Content type: application/x-sh
Branch: MAIN
Changes since 1.3: +6 -0 lines
Log Message:
setup cleanup

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 yilmaz 1.2 cvs co SimGeneral/MixingModule
21     cvs co SimGeneral/CrossingFrame
22    
23 yilmaz 1.3 cvs co DataFormats/HeavyIonEvent
24    
25 yilmaz 1.1 # Turn off ZDC digitization
26     checkOutVersion=`echo $CMSSW_VERSION | sed "s/_patch1//g"`
27     ver=`echo $checkOutVersion | sed "s/CMSSW//g" | sed "s/_//g"`
28     if [ $ver -lt 324 ]; then
29     cvs co -r $checkOutVersion SimCalorimetry/HcalSimProducers
30     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
31     mv tmp.cc $CMSSW_BASE/src/SimCalorimetry/HcalSimProducers/src/HcalDigitizer.cc
32     fi
33    
34 yilmaz 1.2 cvs co UserCode/yetkin/DataFormats
35     mv UserCode/yetkin/DataFormats .
36    
37 yilmaz 1.3 ### Do this if you need gen-level filter for signal-mixing
38     ### Warning: Not compatible with consistent b generation pyquen
39    
40     #rm -r GeneratorInterface/PyquenInterface
41     #cvs co UserCode/yetkin/GeneratorInterface
42     #mv UserCode/yetkin/GeneratorInterface/* GeneratorInterface/
43    
44     ################################
45    
46 yilmaz 1.1 cvs co UserCode/CmsHi
47 yilmaz 1.4 cvs co -r V00-01-00 UserCode/CmsHi/Utilities
48 yilmaz 1.1 mv UserCode/CmsHi .
49    
50 yilmaz 1.4 # Not needed anymore, these are in SimGeneral
51     rm CmsHi/Utilities/plugins/HiEventEmbedder.cc
52     rm CmsHi/Utilities/plugins/MixEvtVtxGenerator.cc
53    
54    
55 yilmaz 1.1 scramv1 b
56    
57