File indexing completed on 2024-04-06 11:59:36
0001
0002
0003
0004 echo "using name: " $1
0005 echo "start number: " $2
0006 echo "end number: " $3
0007
0008
0009 set iCounter=${2}
0010 while ( $iCounter < $3 )
0011 echo "creating job " $iCounter
0012
0013
0014 set nEvents = 1000
0015 set nSkipEvents = $nEvents
0016 @ nSkipEvents*=${iCounter}
0017
0018 echo "skipping events: " $nSkipEvents
0019
0020
0021
0022 cat > ${1}_${iCounter}.csh <<EOI
0023
0024
0025 scramv1 project CMSSW CMSSW_2_0_6
0026 cd CMSSW_2_0_6
0027 cd src
0028
0029 eval \`scramv1 run -csh\`
0030
0031 cvs co -r V00-03-09 CalibTracker/SiPixelLorentzAngle
0032 cvs co -r V07-06-06-01 IOPool/Input
0033
0034 cd CalibTracker/SiPixelLorentzAngle
0035 scramv1 b
0036
0037
0038 cat > config.cfg <<EOF
0039
0040 process LorentzAngle = {
0041
0042 // service = MessageLogger {
0043 // untracked vstring destinations = { "/home/wilke/debug.txt"
0044 // , "/home/wilke/errors.txt"
0045 // }
0046 // untracked PSet debug.txt = { untracked string threshold = "DEBUG" }
0047 // untracked vstring debugModules = { "read"
0048 // }
0049 // }
0050
0051 untracked PSet maxEvents = {untracked int32 input = $nEvents}
0052
0053 source = PoolSource {
0054 untracked vstring fileNames = {
0055 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0021/00E04B2E-261E-DD11-A289-001D09F251CC.root',
0056 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0021/C0CB7326-281E-DD11-9349-0019B9F72D71.root',
0057 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/5E72C867-2A1E-DD11-B475-0019B9F72BFF.root',
0058 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/6A01ADF8-321E-DD11-87D1-001617DBD288.root',
0059 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/76892818-401E-DD11-AA30-000423D9870C.root',
0060 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/8650C21A-361E-DD11-911E-001617C3B70E.root',
0061 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/8A0A6C53-4F1E-DD11-A68B-001617DBD5B2.root',
0062 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/A802A049-2D1E-DD11-8980-000423D992A4.root',
0063 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/B60EE35E-1820-DD11-868F-000423D9880C.root',
0064 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/C401ABB6-AD1E-DD11-A979-000423D9853C.root',
0065 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0022/E66507FE-381E-DD11-B6C4-000423D98DC4.root',
0066 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0025/26333C78-9320-DD11-AA9E-001D09F282F5.root',
0067 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0025/3098C8B5-9120-DD11-A99C-001D09F28F25.root',
0068 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0025/8CB1D3A2-9220-DD11-8251-001D09F24259.root',
0069 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/004612F7-A120-DD11-BABD-000423D6B48C.root',
0070 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/06F52CBC-A320-DD11-AF58-000423D98FBC.root',
0071 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/1857A4B7-9E20-DD11-BA3D-001D09F24DA8.root',
0072 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/2AE8F245-9C20-DD11-B681-001D09F29524.root',
0073 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/2CC8132C-9F20-DD11-B1B5-001617C3B79A.root',
0074 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/660C7AB1-9E20-DD11-807B-000423D98A44.root',
0075 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/6AD44739-A520-DD11-A037-001D09F25041.root',
0076 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/84D6CE6E-A420-DD11-9E7D-001D09F2906A.root',
0077 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/8835CAEF-9720-DD11-802A-001617E30D38.root',
0078 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/A008DB04-9B20-DD11-9825-001D09F23A4D.root',
0079 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/AC07E2DE-9F20-DD11-92CC-0019B9F704D6.root',
0080 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/B04B5EF0-9720-DD11-A315-000423D98B6C.root',
0081 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/F82D66A9-9D20-DD11-B6BC-001617C3B710.root',
0082 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0026/FC84AC32-9620-DD11-BD94-000423D6A6F4.root',
0083 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/20F983F7-AC20-DD11-AB6F-001617C3B78C.root',
0084 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/50500F6E-B020-DD11-A452-001617C3B65A.root',
0085 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/7073B3F2-A820-DD11-9052-000423D6B5C4.root',
0086 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/9C50A315-AB20-DD11-9216-000423D99614.root',
0087 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/B0F3BEE2-A620-DD11-BBE6-000423D6B42C.root',
0088 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/B2F3CD80-AC20-DD11-8DEF-001617C3B73A.root',
0089 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/CC1836D4-A720-DD11-8942-001617E30D38.root',
0090 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/E008F5D7-A920-DD11-8152-000423D987E0.root',
0091 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/FA916FF2-BC20-DD11-AAD2-000423D98DB4.root',
0092 '/store/mc/CSA08/MuonPT5/ALCARECO/STARTUP_V2_SiPixelLorentzAngle_v1/0027/FE6B12C1-AE20-DD11-882C-000423D992DC.root'
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108 }
0109 untracked uint32 skipEvents = $nSkipEvents
0110 untracked bool useCSA08Kludge = true
0111 }
0112
0113
0114
0115
0116 include "MagneticField/Engine/data/volumeBasedMagneticField.cfi"
0117
0118
0119 // include "Geometry/TrackerRecoData/data/trackerRecoGeometryXML.cfi"
0120
0121
0122 include "Geometry/TrackerGeometryBuilder/data/trackerGeometry.cfi"
0123
0124
0125 include "Geometry/TrackerNumberingBuilder/data/trackerNumberingGeometry.cfi"
0126
0127
0128 include "TrackingTools/KalmanUpdators/data/KFUpdatorESProducer.cfi"
0129
0130
0131 include "TrackingTools/KalmanUpdators/data/Chi2MeasurementEstimatorESProducer.cfi"
0132
0133
0134 include "TrackingTools/TrackFitters/data/KFTrajectoryFitterESProducer.cfi"
0135
0136
0137 include "TrackingTools/TrackFitters/data/KFTrajectorySmootherESProducer.cfi"
0138
0139
0140 include "TrackingTools/TrackFitters/data/KFFittingSmootherESProducer.cfi"
0141
0142
0143 include "TrackingTools/MaterialEffects/data/MaterialPropagator.cfi"
0144
0145
0146 include "TrackingTools/MaterialEffects/data/OppositeMaterialPropagator.cfi"
0147
0148
0149 include "RecoLocalTracker/SiStripRecHitConverter/data/StripCPEfromTrackAngle.cfi"
0150
0151
0152 include "RecoLocalTracker/SiPixelRecHits/data/PixelCPEParmError.cfi"
0153
0154
0155 include "RecoTracker/TransientTrackingRecHit/data/TransientTrackingRecHitBuilder.cfi"
0156
0157 // include "RecoLocalTracker/SiStripRecHitConverter/data/SiStripRecHitMatcher.cfi"
0158
0159 include "Configuration/StandardSequences/data/FakeConditions.cff"
0160 // include "RecoLocalTracker/SiPixelClusterizer/data/SiPixelClusterizer.cfi"
0161 // include "RecoLocalMuon/DTRecHit/data/DTParametrizedDriftAlgo_CSA07.cfi"
0162
0163
0164
0165 module read = SiPixelLorentzAngle{
0166 // bool MTCCtrack= false
0167 string TTRHBuilder="WithTrackAngle"
0168 string Fitter = "KFFittingSmoother"
0169 string Propagator = "PropagatorWithMaterial"
0170
0171 // string src = "generalTracks"
0172 string src = "globalMuons"
0173 // string src = "ALCARECOTkAlMinBias"
0174 string fileName = "/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERCALIB/Pixels/LorentzAngle/Results/CMSSW_2_0_6/lorentzAngle_${1}_${iCounter}.root"
0175 string fileNameFit = "/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERCALIB/Pixels/LorentzAngle/Results/CMSSW_2_0_6/lorentzFit_${1}_${iCounter}.txt"
0176 int32 binsDepth = 50
0177 int32 binsDrift = 60
0178 double ptMin = 3
0179
0180 bool simData = false
0181 }
0182
0183 module mix = MixingModule
0184 {
0185 int32 bunchspace = 25
0186 string Label=""
0187 }
0188 path p = {read}
0189 }
0190
0191
0192 EOF
0193 EOI
0194
0195
0196 cat >> ${1}_${iCounter}.csh <<EOI
0197
0198
0199
0200 eval \`scramv1 run -csh\`
0201 cmsRun config.cfg >& /afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERCALIB/Pixels/LorentzAngle/Results/CMSSW_2_0_6/log${1}_${iCounter}.txt
0202
0203 EOI
0204
0205
0206
0207
0208
0209 chmod u+x ${1}_${iCounter}.csh
0210 echo "submitting file: " ${1}_${iCounter}.csh
0211 bsub -q cmscaf ${1}_${iCounter}.csh
0212
0213
0214 @ iCounter++
0215 end