Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TestPhotonValidator")
0004 #process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0005 #process.load("RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi")
0006 #process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0007 process.load("RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi")
0008 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0009 process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
0010 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0011 process.load("Validation.RecoEgamma.photonValidationSequence_cff")
0012 process.load("Validation.RecoEgamma.photonPostprocessing_cfi")
0013 process.load("Validation.RecoEgamma.conversionPostprocessing_cfi")
0014 
0015 
0016 process.load("Configuration.StandardSequences.GeometryDB_cff")
0017 process.load("Configuration.StandardSequences.MagneticField_cff")
0018 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0019 process.GlobalTag.globaltag = '76X_mcRun2_asymptotic_v1'
0020 
0021 process.DQMStore = cms.Service("DQMStore");
0022 process.load("DQMServices.Components.DQMStoreStats_cfi")
0023 from DQMServices.Components.DQMStoreStats_cfi import *
0024 dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0025 
0026 
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029 #input = cms.untracked.int32(100)
0030 )
0031 
0032 
0033 
0034 from Validation.RecoEgamma.photonValidationSequence_cff import *
0035 from Validation.RecoEgamma.photonPostprocessing_cfi import *
0036 from Validation.RecoEgamma.conversionPostprocessing_cfi import *
0037 
0038 photonValidation.OutputFileName = 'PhotonValidationRelVal4_2_0_pre7_H130GGgluonfusion.root'
0039 
0040 photonPostprocessing.standalone = cms.bool(True)
0041 photonPostprocessing.InputFileName = photonValidation.OutputFileName
0042 photonPostprocessing.OuputFileName = photonValidation.OutputFileName
0043 
0044 conversionPostprocessing.standalone = cms.bool(True)
0045 conversionPostprocessing.InputFileName = tkConversionValidation.OutputFileName
0046 conversionPostprocessing.OuputFileName = tkConversionValidation.OutputFileName
0047 
0048 
0049 process.source = cms.Source("PoolSource",
0050 fileNames = cms.untracked.vstring(
0051 "/store/relval/CMSSW_7_6_0_pre5/RelValH130GGgluonfusion_13/GEN-SIM-DIGI-RAW-HLTDEBUG/76X_mcRun2_asymptotic_v1-v1/00000/283D2671-4C5C-E511-B601-0025905A60D6.root"
0052     )
0053  )
0054 
0055 
0056 photonPostprocessing.rBin = 48
0057 ## For gam Jet and higgs
0058 photonValidation.eMax  = 500
0059 photonValidation.etMax = 250
0060 photonPostprocessing.eMax  = 500
0061 photonPostprocessing.etMax = 250
0062 
0063 
0064 
0065 
0066 process.FEVT = cms.OutputModule("PoolOutputModule",
0067     outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0068     fileName = cms.untracked.string('pippo.root')
0069 )
0070 
0071 process.p1 = cms.Path(process.tpSelection*process.photonPrevalidationSequence*process.photonValidationSequence*process.photonPostprocessing*process.conversionPostprocessing*process.dqmStoreStats)
0072 process.schedule = cms.Schedule(process.p1)