Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:53

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DQM")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring(
0007 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/FCA048AB-4C4F-E011-8555-003048F1C58C.root',
0008 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/FA514098-4A4F-E011-ADAA-0030487CD13A.root',
0009 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/F89CE0F8-4B4F-E011-8346-003048F1182E.root',
0010 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/D855D8F9-4B4F-E011-A37B-003048F024E0.root',
0011 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/D4D56CFD-4B4F-E011-ABB1-003048F118E0.root',
0012 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/CE2ACEF7-4B4F-E011-B274-0030487C6090.root',
0013 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/CCE39EBC-4A4F-E011-B44B-0030487BC68E.root',
0014 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/C8C63CF8-4B4F-E011-9C74-003048F1BF66.root',
0015 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/C2D88A37-494F-E011-BE4C-003048F1C420.root',
0016 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/B0D2DEF8-4B4F-E011-B0DE-003048F11C28.root',
0017 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/B042C396-4A4F-E011-A9CD-0030487A1FEC.root',
0018 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/AEA74AE4-494F-E011-BB1E-000423D33970.root',
0019 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/967AC8A0-4A4F-E011-A564-0030487C90D4.root',
0020 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/94F807B3-4A4F-E011-A47B-0030487CD704.root',
0021 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/92D3ECF8-4B4F-E011-8D03-003048F1C836.root',
0022 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/8C5DF496-4A4F-E011-B32A-003048F1C58C.root',
0023 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/8C30042E-494F-E011-880B-003048CFB40C.root',
0024 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/80AD139D-4A4F-E011-98FA-003048F118E0.root',
0025 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/76BD8436-494F-E011-BEB7-003048F1C424.root',
0026 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/76026696-4A4F-E011-927F-0030487C5CE2.root',
0027 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/6A2E65B8-4A4F-E011-A977-0030487A195C.root',
0028 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/6437D7B1-4A4F-E011-B09A-003048F1C836.root',
0029 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/5C84A6B6-4A4F-E011-89A6-0030487CD180.root',
0030 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/584AF8B0-4B4F-E011-9D63-0030487CD13A.root',
0031 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/4CE97EA2-4A4F-E011-95C6-0030487C912E.root',
0032 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/4CE2E1B4-4A4F-E011-86EC-0030487C6090.root',
0033 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/3C24DBE9-494F-E011-8603-0030487C7828.root',
0034 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/34C5BAA7-4A4F-E011-8502-000423D9890C.root',
0035 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/34AA912E-494F-E011-AA98-0030487CD13A.root',
0036 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/303205B1-4C4F-E011-AC44-003048F0258C.root',
0037 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/22F10A9D-4A4F-E011-8C51-0030487A18A4.root',
0038 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/1CA95DA7-4A4F-E011-9C5B-000423D9997E.root',
0039 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/1245CC9C-4A4F-E011-90DA-0030487CD7EA.root',
0040 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/0C8305B3-4A4F-E011-83E7-0030487A3232.root',
0041 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/080C69B6-4A4F-E011-9D5A-0030487CD7E0.root',
0042 '/store/data/Run2011A/MinimumBias/RECO/PromptReco-v1/000/160/410/02939897-4A4F-E011-82A3-003048F118C6.root',
0043 
0044 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-v2/000/146/510/7AA2EFFA-A9C7-DF11-A332-001617C3B69C.root',
0045 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-Dec22ReReco_v1/0068/B866C769-441B-E011-8CD1-0018F3D09704.root',
0046 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-Dec22ReReco_v1/0062/C4AA5585-FA1A-E011-BD3B-003048678B1A.root',
0047 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-Dec22ReReco_v1/0060/6A05E181-E51A-E011-9AD4-0026189438DD.root',
0048 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-Dec22ReReco_v1/0068/2EA3886D-451B-E011-B06B-001A92810ADC.root',
0049 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-Dec22ReReco_v1/0066/30DB81E5-2B1B-E011-9A57-00261894392D.root',
0050 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-Dec22ReReco_v1/0063/201CD781-041B-E011-9B12-002618943836.root',
0051 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-Dec22ReReco_v1/0062/F818CA1B-FD1A-E011-ABD3-0026189438B8.root',
0052 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-Dec22ReReco_v1/0060/18B1105A-E81A-E011-86E4-00261894389C.root',
0053 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-v2/000/146/514/C8E7D08D-BBC7-DF11-9617-001617E30E28.root',
0054 #'/store/data/Run2010B/MinimumBias/ALCARECO/TkAlMinBias-v2/000/146/514/02FDBC55-30C8-DF11-BB4C-001617DBD224.root',
0055 #'/store/relval/CMSSW_3_8_0/MinimumBias/ALCARECO/GR_R_38X_V7_RelVal_col_10_bs_TkAlMinBias-v1/0007/90B6F8D6-4E96-DF11-B3A9-0018F3D0970A.root',
0056 #'/store/relval/CMSSW_3_8_0/MinimumBias/ALCARECO/GR_R_38X_V7_RelVal_col_10_bs_TkAlMinBias-v1/0007/8A6CDD40-C995-DF11-B6D5-0018F3D096AA.root'
0057     )
0058 #    , duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0059 )
0060 
0061 # initialize MessageLogger
0062 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0063 
0064 process.MessageLogger.cerr = cms.untracked.PSet(enable = cms.untracked.bool(False))
0065 process.MessageLogger.cout = cms.untracked.PSet(
0066     threshold = cms.untracked.string('INFO'),
0067     default = cms.untracked.PSet(
0068        limit = cms.untracked.int32(0)
0069     ),
0070     AlcaBeamMonitor = cms.untracked.PSet(
0071         #reportEvery = cms.untracked.int32(100) # every 1000th only
0072     limit = cms.untracked.int32(0)
0073     )
0074 )
0075 #process.MessageLogger.cout.enableStatistics = cms.untracked.bool(True)
0076 
0077 process.maxEvents = cms.untracked.PSet(
0078     input = cms.untracked.int32(-1)
0079 )
0080 
0081 # this is for filtering on L1 technical trigger bit
0082 #process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0083 #process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0084 #process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0085 #process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string('0 AND ( 40 OR 41 ) AND NOT (36 OR 37 OR 38 OR 39)')
0086                                                                                                                                          
0087 #process.load("Configuration.StandardSequences.MagneticField_cff")
0088 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0089 #process.GlobalTag.globaltag = 'GR_R_38X_V9::All' #'GR_R_35X_V8::All'
0090 
0091 process.load("DQMServices.Core.DQM_cfg")
0092 process.load("DQMServices.Components.DQMEnvironment_cfi")
0093 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0094 process.load('Configuration.EventContent.EventContent_cff')
0095 
0096 process.load("DQM.BeamMonitor.AlcaBeamMonitor_cff")
0097 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0098 
0099 #process.AlcaBeamMonitor.TrackLabel = 'ALCARECOTkAlMinBias'
0100 #process.AlcaBeamMonitor.BeamFitter.TrackCollection = 'ALCARECOTkAlMinBias'
0101 
0102 process.BeamSpotDBSource = cms.ESSource("PoolDBESSource",
0103                                         process.CondDBSetup,
0104                                         toGet = cms.VPSet(cms.PSet(
0105                                        record = cms.string('BeamSpotObjectsRcd'),                   
0106 #                                      tag = cms.string('BeamSpotObjects_2009_LumiBased_SigmaZ_v19_offline') 
0107                                        tag = cms.string('BeamSpotObject_ByLumi') 
0108                                       )
0109                                  ),                                     
0110 #                                          connect = cms.string('frontier://cmsfrontier.cern.ch:8000/Frontier/CMS_COND_31X_BEAMSPOT')
0111                                          connect = cms.string('sqlite_file:ALCAPROMPTHarvest-Run160410-StreamExpress-ALCAPROMPT-744882.db')
0112 #                                         connect = cms.string('sqlite_file:/afs/cern.ch/cms/CAF/CMSALCA/ALCA_PROMPT/ALCAPROMPTHarvest-Run146514-StreamExpress-ALCAPROMPT-305756.db')
0113 #                                         connect = cms.string('sqlite_file:Payloads_568825468682397_641212847489195_BeamSpotObjects_2009_LumiBased_SigmaZ_v20_offline@1de2dc56-4500-11e0-a46a-003048d2bf8c.db')
0114                                          #connect = cms.string('oracle://cms_orcoff_prod/CMS_COND_31X_BEAMSPOT')
0115                                          #connect = cms.string('frontier://PromptProd/CMS_COND_31X_BEAMSPOT')
0116                                         )
0117 
0118 #process.es_prefer_beamspot = cms.ESPrefer("PoolDBESSource","BeamSpotDBSource")
0119 
0120 
0121 process.DQMoutput = cms.OutputModule("PoolOutputModule",
0122     splitLevel = cms.untracked.int32(0),
0123     outputCommands = process.DQMEventContent.outputCommands,
0124     fileName = cms.untracked.string('AlcaBeamMonitorDQM_160410.root'),
0125     dataset = cms.untracked.PSet(
0126         filterName = cms.untracked.string(''),
0127         dataTier = cms.untracked.string('')
0128     )
0129 )
0130 
0131 process.DQMoutput.outputCommands.append('drop *')
0132 process.DQMoutput.outputCommands.append('keep *_MEtoEDMConverter_*_*')
0133 
0134 # # summary
0135 process.options = cms.untracked.PSet(
0136     wantSummary = cms.untracked.bool(True)
0137     )
0138 
0139 process.pp = cms.Path(#process.hltLevel1GTSeed*
0140                       process.AlcaBeamMonitor
0141               *process.endOfProcess
0142               )
0143 process.ep = cms.EndPath(process.DQMoutput)
0144 #process.schedule = cms.Schedule(process.pp)