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('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("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0016 process.GlobalTag.globaltag = 'MC_31X_V9::All'
0017 
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 
0035 photonValidation.OutputMEsInRootFile = True
0036 #photonValidation.OutputFileName = 'PhotonValidationRelVal330_SingleGammaPt10.root'
0037 photonValidation.OutputFileName = 'PhotonValidationRelVal330_SingleGammaPt35.root'
0038 #photonValidation.OutputFileName = 'PhotonValidationRelVal330_SingleGammaFlatPt10_100.root'
0039 #photonValidation.OutputFileName = 'PhotonValidationRelVal330_H130GGgluonfusion.root'
0040 #photonValidation.OutputFileName = 'PhotonValidationRelVal330_GammaJets_Pt_80_120.root'
0041 #photonValidation.OutputFileName = 'PhotonValidationRelVal330_QCD_Pt_80_120.root'
0042 
0043 photonPostprocessing.batch = cms.bool(True)
0044 photonPostprocessing.InputFileName = photonValidation.OutputFileName
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 
0052     
0053         
0054 # official RelVal 330 single Photons pt=10GeV
0055 # '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt10/GEN-SIM-RECO/MC_31X_V9-v1/0009/F6476C34-75B7-DE11-A407-001D09F28755.root',
0056 # '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt10/GEN-SIM-RECO/MC_31X_V9-v1/0009/6E994B34-22B7-DE11-8A71-001D09F28F11.root'
0057 
0058 
0059 # official RelVal 330 single Photons pt=35GeV            
0060 
0061 
0062  '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt35/GEN-SIM-RECO/MC_31X_V9-v1/0009/38B8D900-75B7-DE11-8893-001D09F2910A.root',
0063  '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt35/GEN-SIM-RECO/MC_31X_V9-v1/0008/E2A42FA3-8CB6-DE11-9FB6-001D09F24682.root'
0064 
0065 
0066 # official RelVal 330 single Photons Flat pt 10-100GeV
0067 
0068 
0069         
0070 # official RelVal 330 RelValH130GGgluonfusion
0071 # '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-RECO/STARTUP31X_V8-v1/0009/E60407BB-24B7-DE11-AC69-001D09F29169.root',
0072 # '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-RECO/STARTUP31X_V8-v1/0009/D630EDA3-25B7-DE11-84F4-001D09F24934.root',
0073 # '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-RECO/STARTUP31X_V8-v1/0009/C231EEC1-23B7-DE11-92E4-0019B9F70468.root',
0074 # '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-RECO/STARTUP31X_V8-v1/0009/90A8F208-75B7-DE11-98E0-001D09F295A1.root',
0075 # '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-RECO/STARTUP31X_V8-v1/0008/9232C3EA-1DB7-DE11-A0E4-001D09F2AF96.root'
0076  
0077         
0078 # official RelVal 330 GammaJets_Pt_80_120
0079 
0080 # official RelVal 330 QCD_Pt_80_120
0081 
0082 
0083 # '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0009/880AA097-75B7-DE11-B848-001D09F23C73.root',
0084 # '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/CC9C9FAC-86B6-DE11-8A1B-001D09F24FEC.root',
0085 # '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/A44075CB-7FB6-DE11-8010-000423D98868.root',
0086 # '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/6E433585-84B6-DE11-A3E1-001D09F2437B.root',
0087 # '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/285A7AC1-82B6-DE11-BA29-001D09F2525D.root',
0088 # '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/12755919-88B6-DE11-8FF2-000423D996C8.root',
0089 # '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-RECO/MC_31X_V9-v1/0008/04B93222-89B6-DE11-93E9-001D09F29524.root'
0090  
0091 
0092  
0093     ),
0094                             
0095                             
0096     secondaryFileNames = cms.untracked.vstring(
0097 
0098 # official RelVal 330 single Photons pt=10GeV    
0099 
0100 #        '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0009/D8504B33-75B7-DE11-BA0A-001D09F24FEC.root',
0101 #        '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0009/5EE6322A-21B7-DE11-AACA-001D09F2960F.root',
0102 #        '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0009/26A09364-22B7-DE11-95E3-0019B9F70468.root'
0103         
0104     
0105 # official RelVal 330 single Photons pt=35GeV
0106 
0107         '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/D4425DF8-8DB6-DE11-B613-001D09F282F5.root',
0108         '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/C81D2B6E-8AB6-DE11-906D-001D09F25109.root',
0109         '/store/relval/CMSSW_3_3_0/RelValSingleGammaPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/1CB473F3-8BB6-DE11-902B-000423D94990.root'
0110 
0111 # official RelVal 330 single Photons Flat pt 10-100GeV
0112 
0113 
0114 # official RelVal 330 RelValH130GGgluonfusion
0115 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/FCF13148-23B7-DE11-80E8-001D09F2A690.root',
0116 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/F8B012C3-25B7-DE11-9F69-001D09F28F1B.root',
0117 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/E8F7F230-23B7-DE11-9539-0019B9F70468.root',
0118 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/C64BFC48-25B7-DE11-B800-0019B9F72CE5.root',
0119 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/740F185B-26B7-DE11-B73C-0019B9F72F97.root',
0120 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/6EF9F602-75B7-DE11-B653-001D09F28D54.root',
0121 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/6E4CBC3B-24B7-DE11-9DA2-0019B9F72CE5.root',
0122 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/58794B0D-25B7-DE11-9450-001D09F2841C.root',
0123 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/54FF7E21-24B7-DE11-84E3-001D09F29619.root',
0124 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0009/38161AD6-24B7-DE11-8AC9-001D09F253D4.root',
0125 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0008/8C42FD91-1EB7-DE11-85B6-001D09F248F8.root',
0126 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0008/7ACC86AC-1BB7-DE11-938D-001D09F290CE.root',
0127 #        '/store/relval/CMSSW_3_3_0/RelValH130GGgluonfusion/GEN-SIM-DIGI-RAW-HLTDEBUG/STARTUP31X_V8-v1/0008/30810D88-1CB7-DE11-8FB5-001D09F2437B.root'
0128 
0129 
0130 # official RelVal 330 GammaJets_Pt_80_120
0131 
0132 # official RelVal 330 QCD_Pt_80_120
0133 
0134 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0009/D6C17CFC-74B7-DE11-AB70-001D09F292D1.root',
0135 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/E8967CA5-86B6-DE11-A98B-000423D990CC.root',
0136 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/A6D46FD2-88B6-DE11-9A62-001D09F295FB.root',
0137 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/A6581A1E-87B6-DE11-ABC8-001D09F24D4E.root',
0138 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/986674A5-7DB6-DE11-B624-001D09F2AD84.root',
0139 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/8CD25F56-81B6-DE11-BFCA-001D09F297EF.root',
0140 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/8AF01E8C-89B6-DE11-AA50-000423D996C8.root',
0141 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/888A2A74-80B6-DE11-A90D-001D09F28F0C.root',
0142 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/82606045-86B6-DE11-BEBD-001D09F25109.root',
0143 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/7C232926-89B6-DE11-87E0-000423D996C8.root',
0144 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/6AFFC2DB-7EB6-DE11-BC1B-001D09F2B2CF.root',
0145 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/64E7D72F-84B6-DE11-B9C1-001D09F2AF96.root',
0146 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/462CE89F-82B6-DE11-ABCE-001D09F34488.root',
0147 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/26CC8AAE-83B6-DE11-8952-001D09F28F25.root',
0148 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/240A57B3-85B6-DE11-B626-0019B9F6C674.root',
0149 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/16421F6E-88B6-DE11-9EF2-000423D996C8.root',
0150 #        '/store/relval/CMSSW_3_3_0/RelValQCD_Pt_80_120/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0008/06BCF7D6-87B6-DE11-801E-001D09F27067.root'
0151 
0152 
0153     
0154     )
0155  )
0156 
0157 
0158 photonPostprocessing.rBin = 48
0159 
0160 ## For single gamma fla pt =10-150
0161 #photonValidation.eMax  = 300
0162 #photonValidation.etMax = 300
0163 #photonValidation.etScale = 0.10
0164 
0165 
0166 ## For single gamma pt =10
0167 #photonValidation.eMax  = 100
0168 #photonValidation.etMax = 50
0169 #photonValidation.etScale = 0.20
0170 #photonPostprocessing.eMax  = 100
0171 #photonPostprocessing.etMax = 50
0172 
0173 
0174 ## For single gamma pt = 35
0175 photonValidation.eMax  = 300
0176 photonValidation.etMax = 50
0177 photonValidation.etScale = 0.20
0178 photonValidation.dCotCutOn = False
0179 photonValidation.dCotCutValue = 0.15
0180 #photonValidation.likelihoodCut = 0.90
0181 
0182 ## For gam Jet and higgs
0183 #photonValidation.eMax  = 500
0184 #photonValidation.etMax = 500
0185 #photonPostprocessing.eMax  = 500
0186 #photonPostprocessing.etMax = 500
0187 
0188 
0189 
0190 
0191 process.FEVT = cms.OutputModule("PoolOutputModule",
0192     outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0193     fileName = cms.untracked.string('pippo.root')
0194 )
0195 
0196 
0197 #process.p1 = cms.Path(process.photonValidation)
0198 process.p1 = cms.Path(process.tpSelection*process.photonValidationSequence*process.photonPostprocessing*process.dqmStoreStats)
0199 #process.p1 = cms.Path(process.mix*process.trackingParticles*process.tpSelection*process.photonValidation)
0200 process.schedule = cms.Schedule(process.p1)
0201 
0202 
0203