ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/Utilities/scripts/setup3XY.sh
Revision: 1.14
Committed: Mon Sep 7 20:02:21 2009 UTC (15 years, 8 months ago) by yilmaz
Content type: application/x-sh
Branch: MAIN
Changes since 1.13: +13 -9 lines
Log Message:
Some tags for hybrid 3_1_2 (No physics effect)

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 edwenger 1.5 # latest reconstruction code
9 edwenger 1.12 cvs co -r V00-00-00 RecoHI/Configuration
10     cvs co -r V01-00-05 RecoHI/HiTracking
11     cvs co -r V00-00-01 RecoHI/HiJetAlgos
12     cvs co -r V00-00-03 RecoHI/HiEgammaAlgos
13     cvs co -r V00-00-05 RecoHI/HiMuonAlgos
14 yilmaz 1.1 cvs co RecoHI/HiCentralityAlgos
15 edwenger 1.9 cvs co RecoHI/HiEvtPlaneAlgos
16 yilmaz 1.1
17 edwenger 1.5 # latest generator configurations
18 yilmaz 1.1 cvs co Configuration/Generator
19 edwenger 1.5 # latest generator interfaces (consistent impact parameter generation)
20 yilmaz 1.10 cvs co GeneratorInterface/Core
21 yilmaz 1.1 cvs co GeneratorInterface/HydjetInterface
22 yilmaz 1.14 cvs co GeneratorInterface/PyquenInterface # genfiltering in branch
23 edwenger 1.5 # heavy ion event mixing tools
24 yilmaz 1.14 cvs co -r V05-00-00 SimGeneral/MixingModule
25     cvs co -r V04-00-00 SimDataFormats/CrossingFrame
26     cvs co -r V03-02-00 Mixing/Base
27     cvs co -r V00-15-07 FWCore/Sources
28 yilmaz 1.2
29 edwenger 1.5 # latest centrality and event plane formats
30 yilmaz 1.3 cvs co DataFormats/HeavyIonEvent
31    
32 edwenger 1.5 # Turn off ZDC digitization for versions before 3_2_4
33 yilmaz 1.1 checkOutVersion=`echo $CMSSW_VERSION | sed "s/_patch1//g"`
34     ver=`echo $checkOutVersion | sed "s/CMSSW//g" | sed "s/_//g"`
35     if [ $ver -lt 324 ]; then
36     cvs co -r $checkOutVersion SimCalorimetry/HcalSimProducers
37     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
38     mv tmp.cc $CMSSW_BASE/src/SimCalorimetry/HcalSimProducers/src/HcalDigitizer.cc
39     fi
40    
41 edwenger 1.5 # Disable RecoHIMuon/HiMuTracking plugins with duplicate names
42     cvs co RecoHIMuon/HiMuTracking
43     cat $CMSSW_BASE/src/RecoHIMuon/HiMuTracking/plugins/SealModule.cc | replace "DEFINE_ANOTHER_FWK_MODULE" "// DEFINE_ANOTHER_FWK_MODULE" > tmp2.cc
44     mv tmp2.cc $CMSSW_BASE/src/RecoHIMuon/HiMuTracking/plugins/SealModule.cc
45     cat $CMSSW_BASE/src/RecoHIMuon/HiMuTracking/plugins/BuildFile | replace "RecoHI/HiMuonAlgos" "RecoHIMuon/HiMuTracking" | replace "RecoHIHiMuonAlgos" "RecoHIMuonHiMuTracking" > tmp3
46     mv tmp3 $CMSSW_BASE/src/RecoHIMuon/HiMuTracking/plugins/BuildFile
47    
48 yilmaz 1.14 ################################
49    
50     #cvs co -r V00-01-02 UserCode/CmsHi/Utilities #HEAD as of Aug 19 without Philip's hiGenParticle modifications
51    
52     cvs co -r Development_34x_HeavyIons PhysicsTools/HepMCCandAlgos
53     cvs co -r Development_34x_HeavyIons DataFormats/HepMCCandidate
54 yilmaz 1.2
55 yilmaz 1.3
56 yilmaz 1.14 cvs co -r UserCode/CmsHi/Utilities/python
57     cvs co -r UserCode/CmsHi/Utilities/test
58 yilmaz 1.1 mv UserCode/CmsHi .
59    
60     scramv1 b
61    
62