Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DQMTest")
0004 
0005 #set DQM enviroment
0006 process.load("DQMServices.Core.DQM_cfg")
0007 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0008 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0009 process.load("DQMServices.Components.DQMEnvironment_cfi")
0010 
0011 #load and setup E/g HLT Offline DQM module
0012 process.load("DQMOffline.Trigger.EgHLTOfflineSource_cfi")
0013 #load calo geometry
0014 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0015 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
0016 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0017 
0018 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0019 # Other statements
0020 #use two following lines to grab GlobalTag automatically
0021 #from Configuration.AlCa.autoCond import autoCond
0022 #process.GlobalTag.globaltag = autoCond['hltonline']
0023 process.GlobalTag.globaltag = 'GR_R_50_V11::All'
0024 #configure message logger to something sane
0025 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0026 process.MessageLogger.cerr.INFO.limit = 0
0027 process.MessageLogger.cout.threshold = cms.untracked.string('WARNING')
0028 process.MessageLogger.cerr.FwkSummary = cms.untracked.PSet(
0029     reportEvery = cms.untracked.int32(500),
0030     limit = cms.untracked.int32(10000000)
0031 )
0032 #process.options = cms.untracked.PSet(wantSummary=cms.untracked.bool(True))
0033 
0034 #process.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
0035 #    HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT' )
0036 #)
0037 
0038 process.source = cms.Source("PoolSource",
0039     fileNames = cms.untracked.vstring(),
0040 )
0041 process.source.fileNames=[
0042        #'/store/relval/CMSSW_3_5_0/RelValZTT/GEN-SIM-RECO/START3X_V21-v1/0014/A43F691A-6D13-DF11-99D0-001A92971BDC.root',
0043        #'/store/relval/CMSSW_3_5_0/RelValZTT/GEN-SIM-RECO/START3X_V21-v1/0013/F0BF21B7-5513-DF11-8A40-0018F3D09688.root',
0044        #'/store/relval/CMSSW_3_5_0/RelValZTT/GEN-SIM-RECO/START3X_V21-v1/0013/CA5E6D51-5113-DF11-8CC2-001A92811748.root',
0045        #'/store/relval/CMSSW_3_5_0/RelValZTT/GEN-SIM-RECO/START3X_V21-v1/0013/82ABD700-5613-DF11-92D2-0018F3D09664.root',
0046        #'/store/relval/CMSSW_3_5_0/RelValZTT/GEN-SIM-RECO/START3X_V21-v1/0013/3C397451-6213-DF11-B274-0018F3D095FA.root',
0047        #'/store/relval/CMSSW_3_5_0/RelValZTT/GEN-SIM-RECO/START3X_V21-v1/0013/385227FB-5413-DF11-8E1A-0018F3D09634.root'
0048     
0049      '/store/relval/CMSSW_5_2_0_pre3/SingleElectron/RECO/GR_R_50_V11_RelVal_electron2011B-v1/0000/0CCB804F-154C-E111-A8A7-001A92810A94.root',
0050      '/store/relval/CMSSW_5_2_0_pre3/SingleElectron/RECO/GR_R_50_V11_RelVal_electron2011B-v1/0000/740FF94D-154C-E111-95C8-001A928116C0.root',
0051      '/store/relval/CMSSW_5_2_0_pre3/SingleElectron/RECO/GR_R_50_V11_RelVal_electron2011B-v1/0000/92D7A150-154C-E111-94C9-003048FFD7C2.root',
0052      '/store/relval/CMSSW_5_2_0_pre3/SingleElectron/RECO/GR_R_50_V11_RelVal_electron2011B-v1/0000/96F9074C-154C-E111-BD78-001A92810AA6.root',
0053      '/store/relval/CMSSW_5_2_0_pre3/SingleElectron/RECO/GR_R_50_V11_RelVal_electron2011B-v1/0000/DEDE1B51-154C-E111-9CD6-001A92810AEE.root',
0054      '/store/relval/CMSSW_5_2_0_pre3/SingleElectron/RECO/GR_R_50_V11_RelVal_electron2011B-v1/0000/ECFBE94D-154C-E111-B5A8-001A92971BC8.root',
0055   #   '/store/relval/CMSSW_5_2_0_pre3/SingleElectron/RECO/GR_R_50_V11_RelVal_electron2011A-v1/0000/60F854F0-504C-E111-9C47-002618943932.root',
0056   #   '/store/relval/CMSSW_5_2_0_pre3/SingleElectron/RECO/GR_R_50_V11_RelVal_electron2011A-v1/0000/EAD4E6ED-504C-E111-9AF3-003048678A7E.root',
0057 
0058     #  '/store/data/Run2011A/DoubleElectron/RECO/PromptReco-v4/000/165/088/66AD1342-E47F-E011-B825-003048F01E88.root',
0059     #  '/store/data/Run2011A/SingleElectron/RECO/PromptReco-v4/000/165/098/203C4130-DA7F-E011-9BD0-003048F11CF0.root',
0060     #  '/store/data/Run2011A/DoubleElectron/RECO/PromptReco-v4/000/165/098/C4A7FB10-DA7F-E011-97CF-0030487CD718.root',
0061     #  '/store/data/Run2011A/SingleElectron/RECO/PromptReco-v4/000/165/099/3A9A0435-D17F-E011-9999-0030487C6A66.root',
0062     #  '/store/data/Run2011A/DoubleElectron/RECO/PromptReco-v4/000/165/099/82CDB84B-D17F-E011-8C79-0030487CD710.root',
0063     #  '/store/data/Run2011A/SingleElectron/RECO/PromptReco-v4/000/165/102/2A1014DE-CF80-E011-9924-001617DBD5AC.root',
0064     #  '/store/data/Run2011A/DoubleElectron/RECO/PromptReco-v4/000/165/102/00530480-CF80-E011-B76C-001617E30D4A.root',
0065     #  '/store/data/Run2011A/SingleElectron/RECO/PromptReco-v4/000/165/103/0EB41167-EE80-E011-8B64-003048F024DC.root',
0066     #  '/store/data/Run2011A/DoubleElectron/RECO/PromptReco-v4/000/165/103/B0BACE7E-EE80-E011-886C-00304879BAB2.root',
0067     #  '/store/data/Run2011A/SingleElectron/RECO/PromptReco-v5/000/172/163/0C163946-FCBB-E011-8C0C-BCAEC5329719.root',
0068         #-----test across runs----
0069         #   '/store/data/Run2011A/SingleElectron/RECO/PromptReco-v4/000/165/467/7E4DDAD6-ED85-E011-AC8D-001D09F24600.root',
0070         #   '/store/data/Run2011A/SingleElectron/RECO/PromptReco-v4/000/165/472/361C4077-3386-E011-A483-001D09F2960F.root',
0071 
0072         ]
0073 
0074 process.maxEvents = cms.untracked.PSet(
0075 
0076     input = cms.untracked.int32(-1)
0077 )
0078 
0079 
0080 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0081 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0082 process.load("Configuration.StandardSequences.Reconstruction_cff")    
0083 process.load("Configuration.EventContent.EventContent_cff")
0084 
0085 
0086 
0087 process.FEVT = cms.OutputModule("PoolOutputModule",
0088     process.FEVTEventContent,
0089     dataset = cms.untracked.PSet(dataTier = cms.untracked.string('RECO')),
0090  #   fileName = cms.untracked.string('/data/ndpc3/c/dmorse/HLTDQMrootFiles/May18/SourceTest_420_2.root')
0091  #   fileName = cms.untracked.string('Run2011A_SingleElectronRuns165364-166462Et40cut_RECO.root')
0092     fileName = cms.untracked.string('SingleElectron_CMSSW_5_2_0_pre3_RECO_2011B.root')
0093 )
0094 process.FEVT.outputCommands = cms.untracked.vstring('drop *','keep *_MEtoEDMConverter_*_DQMTest')
0095 
0096 
0097 #monitor elements are converted to EDM format to store in CMSSW file
0098 #client will convert them back before processing
0099 process.psource = cms.Path(process.egHLTOffDQMSource*process.MEtoEDMConverter)
0100 process.outpath = cms.EndPath(process.FEVT)
0101 process.MEtoEDMConverter.Verbosity = 0
0102 process.DQMStore.verbose = 0
0103 process.DQM.collectorHost = ''
0104