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 |
edwenger |
1.5 |
# latest reconstruction code
|
9 |
yilmaz |
1.1 |
cvs co RecoHI/Configuration
|
10 |
|
|
cvs co -r V01-00-04 RecoHI/HiTracking
|
11 |
|
|
cvs co RecoHI/HiJetAlgos
|
12 |
|
|
cvs co RecoHI/HiEgammaAlgos
|
13 |
|
|
cvs co RecoHI/HiCentralityAlgos
|
14 |
edwenger |
1.6 |
cvs co -r V00-00-04 RecoHI/HiMuonAlgos
|
15 |
yilmaz |
1.1 |
|
16 |
edwenger |
1.5 |
# latest generator configurations
|
17 |
yilmaz |
1.1 |
cvs co Configuration/Generator
|
18 |
edwenger |
1.5 |
# latest generator interfaces (consistent impact parameter generation)
|
19 |
yilmaz |
1.1 |
cvs co GeneratorInterface/HydjetInterface
|
20 |
|
|
cvs co -r embedding_v02 GeneratorInterface/PyquenInterface
|
21 |
edwenger |
1.5 |
# heavy ion event mixing tools
|
22 |
yilmaz |
1.2 |
cvs co SimGeneral/MixingModule
|
23 |
|
|
cvs co SimGeneral/CrossingFrame
|
24 |
|
|
|
25 |
edwenger |
1.5 |
# latest centrality and event plane formats
|
26 |
yilmaz |
1.3 |
cvs co DataFormats/HeavyIonEvent
|
27 |
|
|
|
28 |
edwenger |
1.5 |
# Turn off ZDC digitization for versions before 3_2_4
|
29 |
yilmaz |
1.1 |
checkOutVersion=`echo $CMSSW_VERSION | sed "s/_patch1//g"`
|
30 |
|
|
ver=`echo $checkOutVersion | sed "s/CMSSW//g" | sed "s/_//g"`
|
31 |
|
|
if [ $ver -lt 324 ]; then
|
32 |
|
|
cvs co -r $checkOutVersion SimCalorimetry/HcalSimProducers
|
33 |
|
|
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
|
34 |
|
|
mv tmp.cc $CMSSW_BASE/src/SimCalorimetry/HcalSimProducers/src/HcalDigitizer.cc
|
35 |
|
|
fi
|
36 |
|
|
|
37 |
edwenger |
1.5 |
# Disable RecoHIMuon/HiMuTracking plugins with duplicate names
|
38 |
|
|
cvs co RecoHIMuon/HiMuTracking
|
39 |
|
|
cat $CMSSW_BASE/src/RecoHIMuon/HiMuTracking/plugins/SealModule.cc | replace "DEFINE_ANOTHER_FWK_MODULE" "// DEFINE_ANOTHER_FWK_MODULE" > tmp2.cc
|
40 |
|
|
mv tmp2.cc $CMSSW_BASE/src/RecoHIMuon/HiMuTracking/plugins/SealModule.cc
|
41 |
|
|
cat $CMSSW_BASE/src/RecoHIMuon/HiMuTracking/plugins/BuildFile | replace "RecoHI/HiMuonAlgos" "RecoHIMuon/HiMuTracking" | replace "RecoHIHiMuonAlgos" "RecoHIMuonHiMuTracking" > tmp3
|
42 |
|
|
mv tmp3 $CMSSW_BASE/src/RecoHIMuon/HiMuTracking/plugins/BuildFile
|
43 |
|
|
|
44 |
|
|
# for heavy ion PAT candidates
|
45 |
yilmaz |
1.2 |
cvs co UserCode/yetkin/DataFormats
|
46 |
|
|
mv UserCode/yetkin/DataFormats .
|
47 |
|
|
|
48 |
edwenger |
1.5 |
### Use the code below if you need gen-level filter for signal-mixing
|
49 |
yilmaz |
1.3 |
### Warning: Not compatible with consistent b generation pyquen
|
50 |
|
|
|
51 |
|
|
#rm -r GeneratorInterface/PyquenInterface
|
52 |
|
|
#cvs co UserCode/yetkin/GeneratorInterface
|
53 |
|
|
#mv UserCode/yetkin/GeneratorInterface/* GeneratorInterface/
|
54 |
|
|
|
55 |
|
|
################################
|
56 |
|
|
|
57 |
yilmaz |
1.1 |
cvs co UserCode/CmsHi
|
58 |
yilmaz |
1.4 |
cvs co -r V00-01-00 UserCode/CmsHi/Utilities
|
59 |
yilmaz |
1.1 |
mv UserCode/CmsHi .
|
60 |
|
|
|
61 |
|
|
scramv1 b
|
62 |
|
|
|
63 |
|
|
|