ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/Utilities/scripts/setup228.sh
Revision: 1.1
Committed: Fri May 1 14:47:39 2009 UTC (16 years ago) by yilmaz
Content type: application/x-sh
Branch: MAIN
Log Message:
useful scripts

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/HiTracking/python
9     cvs co RecoHI/HiJetAlgos
10     cvs co RecoHI/HiEgammaAlgos
11    
12     cvs co GeneratorInterface/HydjetInterface
13     cvs co GeneratorInterface/PyquenInterface
14     cvs co SimDataFormats/HiGenData
15     cvs co SimDataFormats/HepMCProduct
16     cvs co SimDataFormats/GeneratorProducts
17     cvs co -r $CMSSW_VERSION SimCalorimetry/HcalSimProducers
18     cat $CMSSW_BASE/src/SimCalorimetry/HcalSimProducers/src/HcalDigiProducer.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
19     mv tmp.cc $CMSSW_BASE/src/SimCalorimetry/HcalSimProducers/src/HcalDigiProducer.cc
20     cvs co UserCode/CmsHi
21     mv UserCode/CmsHi .
22     scramv1 b
23    
24