Back to home page

Project CMSSW displayed by LXR

 
 

    


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 = 'START311_V0::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 #input = cms.untracked.int32(10)
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 
0036 
0037 photonValidation.OutputFileName = 'PhotonValidationRelVal3_11_0_pre5_H130GGgluonfusion_FastSim_2.root'
0038 photonValidation.fastSim = True
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 process.source = cms.Source("PoolSource",
0048 noEventSort = cms.untracked.bool(True),
0049 duplicateCheckMode = cms.untracked.string('noDuplicateCheck'),
0050                             
0051     fileNames = cms.untracked.vstring(
0052         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0064/00C76A96-0424-E011-9AC4-0026189437F8.root',
0053         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/F0ABACF8-CC23-E011-9B7F-00248C55CC40.root',
0054         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/C2B098EC-CA23-E011-BB2D-002618943868.root',
0055         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/AEC5F1F1-CA23-E011-8BDD-002618943911.root',
0056         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/A0EEDA74-CB23-E011-90ED-00248C55CC40.root',
0057         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/8AF5A671-CB23-E011-891B-00261894382D.root',
0058         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/824715EC-CA23-E011-B387-002618FDA216.root',
0059         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/74DD72F2-CA23-E011-8BD5-0026189437FA.root',
0060         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/582A6B7B-CD23-E011-B2C1-0018F3D096E8.root',
0061         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/56D7057C-CD23-E011-B50B-00304867D836.root',
0062         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/50B4A078-CD23-E011-BE5E-00248C55CC40.root',
0063         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/2A52ABEE-CA23-E011-8481-001A92811708.root',
0064         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/10479EF3-CA23-E011-ACEC-001A928116DE.root',
0065         '/store/relval/CMSSW_3_11_0_pre5/RelValH130GGgluonfusion/GEN-SIM-DIGI-RECO/START311_V0_FastSim-v1/0063/0AE6F7F1-CA23-E011-95A4-0026189437FA.root'
0066     )
0067     )
0068 
0069 
0070 photonPostprocessing.rBin = 48
0071 
0072 ## For single gamma pt =10
0073 #photonValidation.eMax  = 100
0074 #photonValidation.etMax = 50
0075 #photonValidation.etScale = 0.20
0076 #photonPostprocessing.eMax  = 100
0077 #photonPostprocessing.etMax = 50
0078 
0079 ## For single gamma pt = 35
0080 #photonValidation.eMax  = 300
0081 #photonValidation.etMax = 50
0082 #photonValidation.etScale = 0.20
0083 #photonValidation.dCotCutOn = False
0084 #photonValidation.dCotCutValue = 0.15
0085 
0086 
0087 ## For gam Jet and higgs
0088 photonValidation.eMax  = 500
0089 #photonValidation.etMax = 500
0090 photonValidation.etMax = 250
0091 photonPostprocessing.eMax  = 500
0092 photonPostprocessing.etMax = 250
0093 
0094 
0095 
0096 process.FEVT = cms.OutputModule("PoolOutputModule",
0097     outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0098     fileName = cms.untracked.string('pippo.root')
0099 )
0100 
0101 
0102 
0103 
0104 #process.p1 = cms.Path(process.tpSelection*process.photonValidationSequence*process.photonPostprocessing*process.conversionPostprocessing*process.dqmStoreStats)
0105 process.p1 = cms.Path(process.tpSelection*process.photonValidation*process.photonPostprocessing*process.dqmStoreStats)
0106 process.schedule = cms.Schedule(process.p1)