Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:39

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("TestPhotonValidator")
0005 process.load('Configuration/StandardSequences/GeometryPilot2_cff')
0006 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0007 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0008 process.load("RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi")
0009 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0010 process.load("RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi")
0011 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0012 process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
0013 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0014 process.load("Validation.RecoEgamma.photonValidationSequence_cff")
0015 process.load("Validation.RecoEgamma.photonPostprocessing_cfi")
0016 process.load("Validation.RecoEgamma.conversionPostprocessing_cfi")
0017 process.load("Validation.RecoEgamma.tkConvValidator_cfi")
0018 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0019 process.GlobalTag.globaltag = 'START310_V1::All'
0020 
0021 
0022 process.DQMStore = cms.Service("DQMStore");
0023 process.load("DQMServices.Components.DQMStoreStats_cfi")
0024 from DQMServices.Components.DQMStoreStats_cfi import *
0025 dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0026 
0027 
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030 #input = cms.untracked.int32(10)
0031 )
0032 
0033 
0034 
0035 from Validation.RecoEgamma.photonValidationSequence_cff import *
0036 from Validation.RecoEgamma.photonPostprocessing_cfi import *
0037 from Validation.RecoEgamma.conversionPostprocessing_cfi import *
0038 
0039 photonValidation.OutputFileName = 'PhotonValidationRelVal3_10_0_pre7_QCD_Pt_80_120.root'
0040 photonPostprocessing.standalone = cms.bool(True)
0041 photonPostprocessing.InputFileName = photonValidation.OutputFileName
0042 photonPostprocessing.OuputFileName = photonValidation.OutputFileName
0043 
0044 tkConversionValidation.OutputFileName = 'ConversionValidationRelVal3_10_0_pre7_QCD_Pt_80_120.root'
0045 conversionPostprocessing.standalone = cms.bool(True)
0046 conversionPostprocessing.InputFileName = tkConversionValidation.OutputFileName
0047 conversionPostprocessing.OuputFileName = tkConversionValidation.OutputFileName
0048 
0049 
0050 process.source = cms.Source("PoolSource",
0051 noEventSort = cms.untracked.bool(True),
0052 duplicateCheckMode = cms.untracked.string('noDuplicateCheck'),
0053                             
0054     fileNames = cms.untracked.vstring(
0055         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-RECO/START310_V1-v1/0103/FCC67458-45FD-DF11-AFB0-002618943836.root',
0056         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-RECO/START310_V1-v1/0101/E87E0C52-E8FC-DF11-B93A-00261894393B.root',
0057         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-RECO/START310_V1-v1/0101/B8584466-DEFC-DF11-A1E8-001A92810AEE.root',
0058         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-RECO/START310_V1-v1/0101/A4DB5410-E7FC-DF11-96FD-00261894397A.root',
0059         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-RECO/START310_V1-v1/0101/92DC5F59-E5FC-DF11-8679-002618943866.root',
0060         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-RECO/START310_V1-v1/0101/56BE56AC-E1FC-DF11-8AFE-003048D15DCA.root',
0061         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-RECO/START310_V1-v1/0101/56679781-EBFC-DF11-A5B4-003048678D52.root'
0062      ),
0063     
0064     secondaryFileNames = cms.untracked.vstring(
0065         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0102/8CB4862F-39FD-DF11-AD0A-0018F3D096D8.root',
0066         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/FA771B8C-E9FC-DF11-B821-001A92810AE0.root',
0067         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/E4E564D4-DCFC-DF11-9C46-00261894391D.root',
0068         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/C415DA82-EFFC-DF11-8CE8-001BFCDBD1BE.root',
0069         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/AE316F7D-EBFC-DF11-8785-00261894396E.root',
0070         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/A2F2220F-E7FC-DF11-925C-002618FDA28E.root',
0071         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/A0070117-E4FC-DF11-AFB2-0018F3D0970A.root',
0072         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/940F4CEE-E8FC-DF11-A7D1-003048678D78.root',
0073         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/82341469-DEFC-DF11-B3EE-0018F3D0969C.root',
0074         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/7CB9A711-E7FC-DF11-9054-00261894394B.root',
0075         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/76EAD4AF-E1FC-DF11-8DD7-0018F3D0962C.root',
0076         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/705F7C90-E0FC-DF11-9E2D-0026189438CF.root',
0077         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/426C0021-E3FC-DF11-BEBB-0026189438ED.root',
0078         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/3E18E347-E6FC-DF11-B62F-001A92971B62.root',
0079         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/3C952051-E8FC-DF11-8033-003048678AE4.root',
0080         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/3630725E-E5FC-DF11-ADF6-001A92971BB8.root',
0081         '/store/relval/CMSSW_3_10_0_pre7/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/START310_V1-v1/0101/302C2CE2-DEFC-DF11-9ED4-001BFCDBD19E.root'
0082 
0083 
0084         )
0085  )
0086 
0087 
0088 photonPostprocessing.rBin = 48
0089 ## For gam Jet and higgs
0090 photonValidation.eMax  = 500
0091 photonValidation.etMax = 500
0092 photonPostprocessing.eMax  = 500
0093 photonPostprocessing.etMax = 500
0094 
0095 
0096 
0097 
0098 process.FEVT = cms.OutputModule("PoolOutputModule",
0099     outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0100     fileName = cms.untracked.string('pippo.root')
0101 )
0102 
0103 process.p1 = cms.Path(process.tpSelection*process.photonPrevalidationSequence*process.photonValidationSequence*process.photonPostprocessing*process.conversionPostprocessing*process.dqmStoreStats)
0104 process.schedule = cms.Schedule(process.p1)
0105 
0106