Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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_38Y_V7::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 = 'PhotonValidationRelVal380_SingleGammaFlatPt10To100.root'
0038 
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 
0048 
0049 process.source = cms.Source("PoolSource",
0050 noEventSort = cms.untracked.bool(True),
0051 duplicateCheckMode = cms.untracked.string('noDuplicateCheck'),
0052                             
0053     fileNames = cms.untracked.vstring(
0054 # official RelVal 380 single Photons pt=10to100 GeV
0055         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-RECO/MC_38Y_V7-v1/0007/E0129BE0-C495-DF11-9BB9-003048678D52.root',
0056         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-RECO/MC_38Y_V7-v1/0007/5ACA3FEB-C595-DF11-AEBB-00304867926C.root',
0057         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-RECO/MC_38Y_V7-v1/0007/2ADCCE62-C495-DF11-9B1B-00261894396A.root',
0058         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-RECO/MC_38Y_V7-v1/0007/08B89B62-C595-DF11-B204-003048678D52.root'        
0059 
0060     ),
0061                             
0062     secondaryFileNames = cms.untracked.vstring(
0063 # official RelVal 380 single Photons pt=10to100GeV
0064         
0065         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/E2526065-C595-DF11-A3C5-003048678B06.root',
0066         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/D033B2E0-C495-DF11-8E41-002618943937.root',
0067         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/D0218DE0-C495-DF11-9CF7-003048678C06.root',
0068         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/BC3B6364-C495-DF11-841B-0018F3D095F8.root',
0069         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/5CCBAAEB-C595-DF11-BB53-0018F3D0968C.root',
0070         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/5AD17AEA-C595-DF11-9C4A-002618943886.root',
0071         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/4E2D2565-C495-DF11-A6AF-001A92810AD2.root',
0072         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/44FF7B64-C495-DF11-B9B9-0018F3D096DA.root',
0073         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0007/34A1F2C6-4E96-DF11-9FE0-001A92971B56.root',
0074         '/store/relval/CMSSW_3_8_0/RelValSingleGammaFlatPt10To100/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_38Y_V7-v1/0006/8EB149DD-C295-DF11-9D54-0018F3C3E3A6.root'       
0075     )
0076  )
0077 
0078 
0079 photonPostprocessing.rBin = 48
0080 
0081 ## For single gamma pt = 35
0082 photonValidation.eMax  = 300
0083 photonValidation.etMax = 50
0084 photonValidation.etScale = 0.20
0085 photonValidation.dCotCutOn = False
0086 photonValidation.dCotCutValue = 0.15
0087 
0088 process.FEVT = cms.OutputModule("PoolOutputModule",
0089     outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0090     fileName = cms.untracked.string('pippo.root')
0091 )
0092 
0093 
0094 
0095 process.p1 = cms.Path(process.tpSelection*process.photonValidationSequence*process.photonPostprocessing*process.conversionPostprocessing*process.dqmStoreStats)
0096 process.schedule = cms.Schedule(process.p1)