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 = 'MC_310_V1::All'
0018
0019 process.DQMStore = cms.Service("DQMStore");
0020 process.load("DQMServices.Components.DQMStoreStats_cfi")
0021 from DQMServices.Components.DQMStoreStats_cfi import *
0022 dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0023
0024
0025
0026 process.maxEvents = cms.untracked.PSet(
0027
0028 )
0029
0030
0031
0032 from Validation.RecoEgamma.photonValidationSequence_cff import *
0033 from Validation.RecoEgamma.photonPostprocessing_cfi import *
0034 from Validation.RecoEgamma.conversionPostprocessing_cfi import *
0035 photonValidation.OutputFileName = 'PhotonValidationRelVal3_10_0_pre7_SingleGammaPt35.root'
0036
0037 photonPostprocessing.standalone = cms.bool(True)
0038 photonPostprocessing.InputFileName = photonValidation.OutputFileName
0039 photonPostprocessing.OuputFileName = photonValidation.OutputFileName
0040
0041 conversionPostprocessing.standalone = cms.bool(True)
0042 conversionPostprocessing.InputFileName = tkConversionValidation.OutputFileName
0043 conversionPostprocessing.OuputFileName = tkConversionValidation.OutputFileName
0044
0045
0046 process.source = cms.Source("PoolSource",
0047 noEventSort = cms.untracked.bool(True),
0048 duplicateCheckMode = cms.untracked.string('noDuplicateCheck'),
0049
0050 fileNames = cms.untracked.vstring(
0051 '/store/relval/CMSSW_3_10_0_pre7/RelValSingleGammaPt35/GEN-SIM-RECO/MC_310_V1-v1/0103/505D3954-45FD-DF11-96EF-002618FDA21D.root',
0052 '/store/relval/CMSSW_3_10_0_pre7/RelValSingleGammaPt35/GEN-SIM-RECO/MC_310_V1-v1/0100/04923A79-CDFC-DF11-89FB-003048678BF4.root'
0053 ),
0054
0055 secondaryFileNames = cms.untracked.vstring(
0056 '/store/relval/CMSSW_3_10_0_pre7/RelValSingleGammaPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_310_V1-v1/0101/405A3329-39FD-DF11-A691-001A92810AD8.root',
0057 '/store/relval/CMSSW_3_10_0_pre7/RelValSingleGammaPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_310_V1-v1/0100/D4F8B779-CDFC-DF11-82A8-003048678BAA.root',
0058 '/store/relval/CMSSW_3_10_0_pre7/RelValSingleGammaPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_310_V1-v1/0100/9E00A87B-CDFC-DF11-AF4E-001A92811730.root',
0059 '/store/relval/CMSSW_3_10_0_pre7/RelValSingleGammaPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_310_V1-v1/0100/002510AF-CEFC-DF11-BFDA-0030486790FE.root'
0060 )
0061
0062 )
0063
0064 photonPostprocessing.rBin = 48
0065
0066
0067 photonValidation.eMax = 300
0068 photonValidation.etMax = 50
0069 photonValidation.etScale = 0.20
0070 photonValidation.dCotCutOn = False
0071 photonValidation.dCotCutValue = 0.15
0072
0073 process.FEVT = cms.OutputModule("PoolOutputModule",
0074 outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0075 fileName = cms.untracked.string('pippo.root')
0076 )
0077
0078
0079
0080 process.p1 = cms.Path(process.tpSelection*process.photonPrevalidationSequence*process.photonValidationSequence*process.photonPostprocessing*process.conversionPostprocessing*process.dqmStoreStats)
0081 process.schedule = cms.Schedule(process.p1)