File indexing completed on 2024-04-06 12:11:24
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TKAN")
0004
0005
0006
0007 process.maxEvents = cms.untracked.PSet(
0008 input = cms.untracked.int32(-1)
0009 )
0010
0011
0012
0013
0014
0015 process.load("IOMC.RandomEngine.IOMC_cff")
0016
0017
0018 process.load("DQMServices.Core.DQM_cfg")
0019
0020
0021 process.source = cms.Source(
0022 "PoolSource",
0023
0024
0025 fileNames = cms.untracked.vstring(
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E0_1.root',
0038 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E1_1.root',
0039 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E2_1.root',
0040 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E3_1.root',
0041 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E3_2.root',
0042 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E4_1.root',
0043 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E4_2.root',
0044 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E5_1.root',
0045 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E5_2.root',
0046 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E5_3.root',
0047 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E5_4.root',
0048 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E6_1.root',
0049 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E6_2.root',
0050 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E6_3.root',
0051 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E6_4.root',
0052 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E7_1.root',
0053 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E7_2.root',
0054 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E7_3.root',
0055 'rfio:/castor/cern.ch/user/a/azzi/CMSSW350pre2/fevt_SinglePion_E7_4.root'
0056
0057
0058 ),
0059 noEventSort=cms.untracked.bool(True),
0060 duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0061 )
0062
0063
0064
0065
0066
0067
0068
0069
0070 process.testTK = cms.EDFilter(
0071 "testGeneralTracks",
0072 TestParticleFilter = cms.PSet(
0073
0074
0075 etaMax = cms.double(5.0),
0076
0077 pTMin = cms.double(0.0),
0078
0079 EMin = cms.double(0.0),
0080
0081 EProton = cms.double(99999.0)
0082 ),
0083 Full = cms.InputTag("generalTracksHighPurity","","PROD"),
0084
0085
0086 Fast = cms.InputTag("generalTracks","","TKAN"),
0087 )
0088
0089
0090 process.load("FastSimulation.Configuration.CommonInputs_cff")
0091 process.GlobalTag.globaltag = "MC_3XY_V15::All"
0092
0093 process.load("FastSimulation.Configuration.FamosSequences_cff")
0094
0095
0096 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
0097
0098 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
0099
0100 process.fastSimProducer.SimulateCalorimetry = False
0101
0102
0103 process.p = cms.Path(
0104
0105 process.famosWithTracks *
0106
0107 process.testTK
0108 )
0109
0110
0111 process.load("FWCore.MessageService.MessageLogger_cfi")
0112 process.MessageLogger.cerr.enable = False
0113 process.MessageLogger.files.test = dict(extension = 'txt')
0114
0115
0116 process.o1 = cms.OutputModule(
0117 "PoolOutputModule",
0118 fileName = cms.untracked.string('SinglePion_FastFull.root'),
0119 outputCommands = cms.untracked.vstring(
0120 "keep *",
0121 "drop *_mix_*_*"
0122 )
0123 )
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133
0134
0135
0136
0137
0138
0139
0140
0141
0142
0143
0144
0145
0146
0147
0148
0149