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("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0018 process.GlobalTag.globaltag = 'START38_V7::All'
0019 
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(10)
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 = 'PhotonValidationRelVal380_QCD_Pt_20_30.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 
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 # official RelVal 380 QCD_Pt_20_30
0056         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0007/281BE2D2-4E96-DF11-A03D-00261894387D.root',
0057         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/C8157546-B395-DF11-A727-0030486790B0.root',
0058         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/ACCD0E43-B395-DF11-A2ED-002618FDA28E.root',
0059         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/A4BAE2E0-B195-DF11-97B9-002618FDA28E.root',
0060         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/9C588920-B395-DF11-94B9-00261894383B.root',
0061         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/8EF53BE5-B195-DF11-B8DE-002618943935.root',
0062         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/7AEB4A25-B395-DF11-88A2-003048678F84.root',
0063         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/4C3C4B43-B395-DF11-9657-003048678F92.root',
0064         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/24790B1E-B395-DF11-A73C-002618FDA204.root',
0065         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/240DDE48-B395-DF11-B170-003048679012.root',
0066         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0006/24036D41-B395-DF11-9100-003048678D78.root',
0067         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0005/88BEBB3E-B195-DF11-BF5C-0018F3D095EA.root',
0068         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0005/7E27A6CC-B195-DF11-AF06-002618943886.root',
0069         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-RECO/START38_V7-v1/0005/2031DBE6-B195-DF11-8603-00261894390E.root'
0070  
0071  
0072      ),
0073     
0074     secondaryFileNames = cms.untracked.vstring(
0075 # official RelVal 380 QCD_Pt_20_30
0076   '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0007/3C0EFCD4-4E96-DF11-8AB5-001A92971BBE.root',
0077         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/DCB36D3C-B395-DF11-BF6F-002618943856.root',
0078         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/DAFF9B36-B495-DF11-B1BC-001A92810AD4.root',
0079         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/CC8C6544-B395-DF11-92F8-003048678F84.root',
0080         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/C2B1E51C-B395-DF11-9DAB-003048679000.root',
0081         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/BEE226DD-B195-DF11-9F13-003048D15E02.root',
0082         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/B897CA24-B395-DF11-A681-003048678CA2.root',
0083         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/B2FAC6DB-B195-DF11-8F15-0026189438BD.root',
0084         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/B039E439-B395-DF11-A535-00261894390B.root',
0085         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/ACC53222-B395-DF11-B3DC-003048678AF4.root',
0086         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/A2796D1A-B395-DF11-B7EB-0026189438A5.root',
0087         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/9ECDFF3C-B395-DF11-AE70-003048678FF8.root',
0088         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/9E779944-B395-DF11-B732-003048678A80.root',
0089         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/9CE0BE36-B295-DF11-A837-00304867BECC.root',
0090         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/90D3121E-B395-DF11-8F95-00304867C0FC.root',
0091         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/86F5CDC9-B195-DF11-A5EC-00261894398D.root',
0092         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/867C1243-B395-DF11-A034-003048678F26.root',
0093         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/6EE13A23-B395-DF11-AA11-001A92810AE0.root',
0094         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/68393946-B395-DF11-8075-003048678F84.root',
0095         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/441C8B21-B395-DF11-822A-0026189438D8.root',
0096         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/36C53847-B395-DF11-B1C5-003048678FA6.root',
0097         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/2C2A253C-B395-DF11-B63C-002618943886.root',
0098         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/28232349-B395-DF11-BA4C-003048678FF4.root',
0099         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0006/2610123D-B395-DF11-8851-00261894394A.root',
0100         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0005/F46ED3D2-B195-DF11-8324-00304867926C.root',
0101         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0005/EA278D3D-B195-DF11-BA3B-001A92971AD0.root',
0102         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0005/A643ABDD-B195-DF11-99C1-00261894397D.root',
0103         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0005/A46A983F-B195-DF11-BF57-0018F3D096E6.root',
0104         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0005/5EB718E0-B195-DF11-8A19-002618943865.root',
0105         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0005/54C2873E-B195-DF11-BB81-0018F3D09702.root',
0106         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0005/4A2E2CD8-B195-DF11-84F4-00304867BECC.root',
0107         '/store/relval/CMSSW_3_8_0/RelValQCD_Pt_20_30/GEN-SIM-DIGI-RAW-HLTDEBUG/START38_V7-v1/0005/26741D3E-B195-DF11-B5C1-0018F3D0967A.root'
0108          
0109         )
0110  )
0111 
0112 
0113 photonPostprocessing.rBin = 48
0114 ## For gam Jet and higgs
0115 photonValidation.eMax  = 500
0116 photonValidation.etMax = 500
0117 photonPostprocessing.eMax  = 500
0118 photonPostprocessing.etMax = 500
0119 
0120 
0121 
0122 
0123 process.FEVT = cms.OutputModule("PoolOutputModule",
0124     outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0125     fileName = cms.untracked.string('pippo.root')
0126 )
0127 
0128 
0129 process.p1 = cms.Path(process.tpSelection*process.photonValidationSequence*process.photonPostprocessing*process.conversionPostprocessing*process.dqmStoreStats)
0130 process.schedule = cms.Schedule(process.p1)
0131 
0132