File indexing completed on 2024-04-06 12:33:06
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TestPhotonValidator")
0004 process.load('Configuration/StandardSequences/GeometryPilot2_cff')
0005 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0006 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0007 process.load("RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi")
0008 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0009 process.load("RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi")
0010 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0011 process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
0012 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0013 process.load("Validation.RecoEgamma.photonValidationSequence_cff")
0014 process.load("Validation.RecoEgamma.photonPostprocessing_cfi")
0015 process.load("Validation.RecoEgamma.conversionPostprocessing_cfi")
0016 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0017 process.GlobalTag.globaltag = 'START310_V1::All'
0018
0019
0020 process.DQMStore = cms.Service("DQMStore");
0021 process.load("DQMServices.Components.DQMStoreStats_cfi")
0022 from DQMServices.Components.DQMStoreStats_cfi import *
0023 dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0024
0025
0026
0027 process.maxEvents = cms.untracked.PSet(
0028
0029 )
0030
0031
0032
0033 from Validation.RecoEgamma.photonValidationSequence_cff import *
0034 from Validation.RecoEgamma.photonPostprocessing_cfi import *
0035 from Validation.RecoEgamma.conversionPostprocessing_cfi import *
0036
0037 photonValidation.OutputFileName = 'PhotonValidationRelVal3_10_0_pre7_PhotonJets_Pt_10.root'
0038
0039 photonPostprocessing.standalone = cms.bool(True)
0040 photonPostprocessing.InputFileName = photonValidation.OutputFileName
0041 photonPostprocessing.OuputFileName = photonValidation.OutputFileName
0042
0043 conversionPostprocessing.standalone = cms.bool(True)
0044 conversionPostprocessing.InputFileName = tkConversionValidation.OutputFileName
0045 conversionPostprocessing.OuputFileName = tkConversionValidation.OutputFileName
0046
0047
0048
0049 process.source = cms.Source("PoolSource",
0050 noEventSort = cms.untracked.bool(True),
0051 duplicateCheckMode = cms.untracked.string('noDuplicateCheck'),
0052
0053 fileNames = cms.untracked.vstring(
0054 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START310_V1-v1/0101/E2D0FE92-F0FC-DF11-966E-0018F3D09676.root',
0055 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START310_V1-v1/0101/9E2182E7-E8FC-DF11-93DF-003048678B5E.root',
0056 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START310_V1-v1/0101/723E8CC5-ECFC-DF11-9A22-0018F3D095EC.root',
0057 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START310_V1-v1/0101/5279082D-39FD-DF11-8C1B-0018F3D096D8.root'
0058 ),
0059
0060 secondaryFileNames = cms.untracked.vstring(
0061 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0103/9A5A0C53-45FD-DF11-BEC6-00261894389A.root',
0062 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/CA6AAA67-E9FC-DF11-AD36-003048D42D92.root',
0063 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/B497BB2C-EDFC-DF11-98AD-00304867BEDE.root',
0064 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/A2C1496B-EFFC-DF11-B999-001A92971ACE.root',
0065 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/8AAC55F9-E6FC-DF11-B92E-00304867C136.root',
0066 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/665A5653-EEFC-DF11-B233-001A92971BBA.root',
0067 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/5E4A8DAA-E1FC-DF11-85DA-003048678FD6.root',
0068 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/56C45505-F2FC-DF11-A699-001A928116D4.root',
0069 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/48284C92-F0FC-DF11-8197-0018F3D09678.root',
0070 '/store/relval/CMSSW_3_10_0_pre7/RelValPhotonJets_Pt_10/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/109BB16A-EBFC-DF11-A40C-003048678DA2.root'
0071
0072
0073 )
0074 )
0075
0076
0077 photonPostprocessing.rBin = 48
0078
0079 photonValidation.eMax = 100
0080 photonValidation.etMax = 50
0081 photonValidation.etScale = 0.20
0082 photonPostprocessing.eMax = 100
0083 photonPostprocessing.etMax = 50
0084
0085
0086
0087
0088 process.FEVT = cms.OutputModule("PoolOutputModule",
0089 outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0090 fileName = cms.untracked.string('pippo.root')
0091 )
0092
0093 process.p1 = cms.Path(process.tpSelection*process.photonPrevalidationSequence*process.photonValidationSequence*process.photonPostprocessing*process.conversionPostprocessing*process.dqmStoreStats)
0094 process.schedule = cms.Schedule(process.p1)