ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/Utilities/scripts/setup3XY.sh
Revision: 1.10
Committed: Thu Aug 20 12:58:16 2009 UTC (15 years, 8 months ago) by yilmaz
Content type: application/x-sh
Branch: MAIN
Changes since 1.9: +2 -1 lines
Log Message:
Pyquen for mixing

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