File indexing completed on 2024-04-06 12:11:26
0001
0002
0003
0004
0005
0006
0007
0008
0009 import FWCore.ParameterSet.Config as cms
0010
0011 process = cms.Process("MULTITRACKVALIDATOR")
0012
0013
0014 process.MessageLogger = cms.Service("MessageLogger",
0015 default = cms.untracked.PSet( limit = cms.untracked.int32(10) )
0016 )
0017
0018
0019
0020 process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
0021 ignoreTotal=cms.untracked.int32(1),
0022 oncePerEventMode=cms.untracked.bool(True)
0023 )
0024
0025 process.Timing = cms.Service("Timing"
0026 ,summaryOnly = cms.untracked.bool(True)
0027 )
0028
0029
0030 source = cms.Source ("PoolSource",fileNames = cms.untracked.vstring("file:GENSIMDIGIRECO.root"))
0031
0032 """
0033 # source
0034 readFiles = cms.untracked.vstring()
0035 secFiles = cms.untracked.vstring()
0036 source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
0037 readFiles.extend( [
0038 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-RECO/PU25ns_MCRUN2_74_V1-v3/00000/067739D0-AFAB-E411-AC03-0025905A48D0.root'
0039 ] )
0040
0041
0042 secFiles.extend( [
0043 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/041672CC-60AB-E411-B86C-003048FFCC0A.root',
0044 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/06DFB267-64AB-E411-A22D-0025905A60EE.root',
0045 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/0E932222-60AB-E411-952C-0025905A6088.root',
0046 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/1272643C-62AB-E411-969A-0025905A48B2.root',
0047 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/12BCC0BA-60AB-E411-83AA-0025905B85EE.root',
0048 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/2628B0FE-66AB-E411-83C3-0025905A48BC.root',
0049 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/26CA1B5B-61AB-E411-B134-0025905A612A.root',
0050 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/2CDDCDFD-66AB-E411-9ABA-0025905A60AA.root',
0051 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/32E319C0-60AB-E411-B983-0025905B855C.root',
0052 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/349C841F-63AB-E411-8805-0025905A48D8.root',
0053 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/36CBCF5E-61AB-E411-A75C-003048FF86CA.root',
0054 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/36E480F6-5EAB-E411-B272-0025905A48BC.root',
0055 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/4A703881-63AB-E411-A2BA-0025905B858A.root',
0056 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/4C0C75D7-5FAB-E411-9B34-0025905A608E.root',
0057 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/4E0352FF-66AB-E411-8751-0025905B8576.root',
0058 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/4E2491BA-64AB-E411-8F76-0025905B85D8.root',
0059 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/541FAFC2-60AB-E411-8B77-0025905A60A6.root',
0060 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/583B2424-60AB-E411-80B3-0025905B858E.root',
0061 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/58DBD23C-62AB-E411-8F4C-0025905A60EE.root',
0062 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/603F7120-60AB-E411-B0F6-0025905964C4.root',
0063 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/62ECB36D-71AB-E411-8BA6-003048FFD720.root',
0064 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/64BE7CF9-75AB-E411-A588-0025905B85E8.root',
0065 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/68815A64-61AB-E411-99D1-0025905A48BC.root',
0066 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/6EEC89BF-60AB-E411-9D75-0025905B85D8.root',
0067 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/76680CD8-5FAB-E411-99D8-0025905964A2.root',
0068 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/84CE7508-61AB-E411-9124-0025905B85EE.root',
0069 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/84FD8400-76AB-E411-8D13-0025905A612C.root',
0070 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/8670B486-5FAB-E411-A4B1-0025905A60B6.root',
0071 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/88BBBFD3-5FAB-E411-866C-0025905B85B2.root',
0072 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/88CF55D6-62AB-E411-924D-0025905A60B6.root',
0073 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/8A63EA7C-6EAB-E411-A961-0025905B85A2.root',
0074 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/8C717324-60AB-E411-B721-0025905AA9F0.root',
0075 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/9462F7B8-6CAB-E411-A0CC-0025905964B6.root',
0076 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/9E532222-60AB-E411-9353-0025905A60CE.root',
0077 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/A64050C2-60AB-E411-B9B9-0025905A60B0.root',
0078 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/AE05F253-65AB-E411-A528-0025905A60B6.root',
0079 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/AE8613EF-68AB-E411-9283-003048FFD744.root',
0080 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/BC55E7BE-60AB-E411-96A2-0025905A606A.root',
0081 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/CA18EDF3-5EAB-E411-BABF-002618943862.root',
0082 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/D6FF76A7-65AB-E411-8CA0-0025905B8610.root',
0083 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/DCB00F5C-61AB-E411-8A47-003048FFCB96.root',
0084 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/E295E1D2-5FAB-E411-8205-0026189438A9.root',
0085 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/E8821C20-6CAB-E411-8FC1-0025905A6126.root',
0086 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/F27EA4C0-60AB-E411-BD34-003048FFD744.root',
0087 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/F8D4970C-61AB-E411-B866-0025905A48D0.root',
0088 '/store/relval/CMSSW_7_4_0_pre6/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_74_V1-v3/00000/FE40619E-61AB-E411-B453-0025905B858C.root',
0089 ] )
0090 """
0091 process.source = source
0092 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(400) )
0093
0094
0095 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0096 from Configuration.AlCa.GlobalTag import GlobalTag
0097 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0098
0099
0100 process.load('Configuration/StandardSequences/Services_cff')
0101 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0102 process.load("Configuration.StandardSequences.RawToDigi_cff")
0103 process.load("Configuration.EventContent.EventContent_cff")
0104 process.load("Configuration.StandardSequences.Reconstruction_cff")
0105 process.load("Configuration.StandardSequences.MagneticField_cff")
0106 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0107
0108
0109
0110
0111 process.load("SimTracker.TrackAssociatorProducers.quickTrackAssociatorByHits_cfi")
0112 process.load("SimTracker.TrackAssociation.trackingParticleRecoTrackAsssociation_cfi")
0113 process.load("Validation.RecoTrack.cuts_cff")
0114 process.load("Validation.RecoTrack.MultiTrackValidator_cff")
0115 process.load("DQMServices.Components.EDMtoMEConverter_cff")
0116 process.load("Validation.Configuration.postValidation_cff")
0117 process.quickTrackAssociatorByHits.SimToRecoDenominator = 'reco'
0118
0119
0120
0121
0122
0123 process.multiTrackValidator.associators = ['quickTrackAssociatorByHits']
0124
0125
0126 process.multiTrackValidator.label = ['cutsRecoTracks']
0127 process.multiTrackValidator.histoProducerAlgoBlock.useLogPt = True
0128 process.multiTrackValidator.histoProducerAlgoBlock.minPt = 0.1
0129 process.multiTrackValidator.histoProducerAlgoBlock.maxPt = 3000.0
0130 process.multiTrackValidator.histoProducerAlgoBlock.nintPt = 40
0131 process.multiTrackValidator.UseAssociators = True
0132
0133
0134
0135
0136
0137
0138
0139
0140
0141 process.quickTrackAssociatorByHits.useClusterTPAssociation = True
0142 process.load("SimTracker.TrackerHitAssociation.tpClusterProducer_cfi")
0143
0144
0145
0146
0147 process.validation = cms.Sequence(
0148
0149 process.quickTrackAssociatorByHits *
0150 process.multiTrackValidator
0151 )
0152
0153
0154
0155 process.val = cms.Path(
0156 process.cutsRecoTracks
0157 * process.validation
0158 )
0159
0160
0161 process.DQMoutput = cms.OutputModule("PoolOutputModule",
0162 splitLevel = cms.untracked.int32(0),
0163 outputCommands = process.DQMEventContent.outputCommands,
0164 fileName = cms.untracked.string('file:MTV_inDQM.root'),
0165 dataset = cms.untracked.PSet(
0166 filterName = cms.untracked.string(''),
0167 dataTier = cms.untracked.string('DQM')
0168 )
0169 )
0170
0171 process.endjob_step = cms.EndPath(process.endOfProcess)
0172 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0173
0174
0175 process.schedule = cms.Schedule(
0176 process.val,process.endjob_step,process.DQMoutput_step
0177 )
0178
0179 process.options = cms.untracked.PSet(
0180 numberOfThreads = cms.untracked.uint32(8),
0181 numberOfStreams = cms.untracked.uint32(8),
0182 wantSummary = cms.untracked.bool(True)
0183 )
0184
0185
0186