Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-14 23:57:21

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DQM")
0004 process.load("DQMServices.Core.DQM_cfg")
0005 
0006 process.load("DQM.BeamMonitor.BeamMonitor_cff")
0007 process.load("DQM.BeamMonitor.BeamMonitorBx_cff")
0008 process.load("DQM.BeamMonitor.BeamConditionsMonitor_cff")
0009 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0010 process.load("DQMServices.Components.DQMEnvironment_cfi")
0011 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(-1)
0015 )
0016 
0017 process.source = cms.Source(
0018     "PoolSource",
0019     fileNames = cms.untracked.vstring(
0020         'file:/data1/heavyion/0662E9D1-D070-DF11-8329-001E68865F6D.root',
0021         'file:/data1/heavyion/06B2AC18-8170-DF11-A5E0-001E6878F716.root',
0022         'file:/data1/heavyion/0A61729E-8270-DF11-A629-00E081300BDA.root',
0023         'file:/data1/heavyion/0C0A25E3-8070-DF11-BF64-001E688629B3.root',
0024         'file:/data1/heavyion/246A161A-8170-DF11-A8B1-001E6849D384.root',
0025         'file:/data1/heavyion/3679ED40-8070-DF11-8A80-001E6865A59A.root',
0026         'file:/data1/heavyion/409BE308-BD71-DF11-8494-00188B7ABC14.root',
0027         'file:/data1/heavyion/445EF2FD-7F70-DF11-BF0A-00188B7ABC0E.root',
0028         'file:/data1/heavyion/4CB4830C-8270-DF11-B4A7-001E6849D21C.root',
0029         'file:/data1/heavyion/54A93027-3A71-DF11-8B43-00E081300BDA.root',
0030         'file:/data1/heavyion/580BCF18-8170-DF11-B39A-001E6878F716.root',
0031         'file:/data1/heavyion/5AA1030A-8270-DF11-9DB8-00188B7AC862.root',
0032         'file:/data1/heavyion/5E068F91-9770-DF11-92D9-001E6878FA76.root',
0033         'file:/data1/heavyion/5E5DF809-8270-DF11-86F2-00188B7ACD60.root',
0034         'file:/data1/heavyion/72A5783E-8070-DF11-ACBC-00E08130DD28.root',
0035         'file:/data1/heavyion/865B5019-8170-DF11-ADF2-001E6878FB3A.root',
0036         'file:/data1/heavyion/8EA97318-8170-DF11-8C7E-00E0813006F4.root',
0037         'file:/data1/heavyion/9086C3E5-7F70-DF11-94B7-0026B95C2418.root',
0038         'file:/data1/heavyion/AEA8BE40-8070-DF11-B89F-0026B95BCAC3.root',
0039         'file:/data1/heavyion/B48E08CF-7F70-DF11-BDEE-00E081300BDA.root',
0040         'file:/data1/heavyion/B69BA9EF-8170-DF11-9D35-001E68659F36.root',
0041         'file:/data1/heavyion/C2F8E48F-9770-DF11-97F0-00E0813000C2.root',
0042         'file:/data1/heavyion/EACFBC1A-8170-DF11-996D-001E68865F71.root',
0043         'file:/data1/heavyion/FA3B59E5-7F70-DF11-BC81-001E68862AE3.root',
0044         'file:/data1/heavyion/FC6349FD-7F70-DF11-AE96-00188B7ACD5D.root',
0045         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0005/54A93027-3A71-DF11-8B43-00E081300BDA.root',
0046         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0005/409BE308-BD71-DF11-8494-00188B7ABC14.root',
0047         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0005/0662E9D1-D070-DF11-8329-001E68865F6D.root',
0048         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/FC6349FD-7F70-DF11-AE96-00188B7ACD5D.root',
0049         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/FA3B59E5-7F70-DF11-BC81-001E68862AE3.root',
0050         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/EACFBC1A-8170-DF11-996D-001E68865F71.root',
0051         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/C2F8E48F-9770-DF11-97F0-00E0813000C2.root',
0052         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/B69BA9EF-8170-DF11-9D35-001E68659F36.root',
0053         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/B48E08CF-7F70-DF11-BDEE-00E081300BDA.root',
0054         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/AEA8BE40-8070-DF11-B89F-0026B95BCAC3.root',
0055         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/9086C3E5-7F70-DF11-94B7-0026B95C2418.root',
0056         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/8EA97318-8170-DF11-8C7E-00E0813006F4.root',
0057         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/865B5019-8170-DF11-ADF2-001E6878FB3A.root',
0058         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/72A5783E-8070-DF11-ACBC-00E08130DD28.root',
0059         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/5E5DF809-8270-DF11-86F2-00188B7ACD60.root',
0060         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/5E068F91-9770-DF11-92D9-001E6878FA76.root',
0061         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/5AA1030A-8270-DF11-9DB8-00188B7AC862.root',
0062         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/580BCF18-8170-DF11-B39A-001E6878F716.root',
0063         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/4CB4830C-8270-DF11-B4A7-001E6849D21C.root',
0064         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/445EF2FD-7F70-DF11-BF0A-00188B7ABC0E.root',
0065         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/3679ED40-8070-DF11-8A80-001E6865A59A.root',
0066         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/246A161A-8170-DF11-A8B1-001E6849D384.root',
0067         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/0C0A25E3-8070-DF11-BF64-001E688629B3.root',
0068         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/0A61729E-8270-DF11-A629-00E081300BDA.root',
0069         #'/store/mc/Spring10/Hydjet_Quenched_MinBias_2760GeV/GEN-SIM-RECO/MC_36Y_V7A-v1/0002/06B2AC18-8170-DF11-A5E0-001E6878F716.root',
0070     )
0071     , duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0072 
0073 )
0074 
0075 #process.source.lumisToProcess = cms.untracked.VLuminosityBlockRange('124120:1-124120:59')
0076 
0077 # this is for filtering on L1 technical trigger bit
0078 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0079 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0080 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0081 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string('0 AND ( 40 OR 41 )')
0082 
0083 #### remove beam scraping events
0084 process.noScraping= cms.EDFilter("FilterOutScraping",
0085     applyfilter = cms.untracked.bool(True),
0086     debugOn = cms.untracked.bool(False), ## Or 'True' to get some per-event info
0087     numtrack = cms.untracked.uint32(10),
0088     thresh = cms.untracked.double(0.20)
0089 )
0090 
0091 #process.dqmBeamMonitor.Debug = True
0092 #process.dqmBeamMonitor.BeamFitter.Debug = True
0093 process.dqmBeamMonitor.BeamFitter.WriteAscii = True
0094 process.dqmBeamMonitor.BeamFitter.AsciiFileName = 'BeamFitResults.txt'
0095 #process.dqmBeamMonitor.BeamFitter.WriteDIPAscii = True
0096 process.dqmBeamMonitor.BeamFitter.DIPFileName = 'BeamFitResults.txt'
0097 #process.dqmBeamMonitor.BeamFitter.SaveFitResults = True
0098 process.dqmBeamMonitor.BeamFitter.OutputFileName = 'BeamFitResults.root'
0099 #process.dqmBeamMonitor.resetEveryNLumi = 10
0100 #process.dqmBeamMonitor.resetPVEveryNLumi = 5
0101 
0102 ## bx
0103 #process.dqmBeamMonitorBx.Debug = True
0104 #process.dqmBeamMonitorBx.BeamFitter.Debug = True
0105 process.dqmBeamMonitorBx.BeamFitter.WriteAscii = True
0106 process.dqmBeamMonitorBx.BeamFitter.AsciiFileName = 'BeamFitResultsBx.txt'
0107 
0108 ### TKStatus
0109 process.dqmTKStatus = cms.EDAnalyzer("TKStatus",
0110     BeamFitter = cms.PSet(
0111     DIPFileName = process.dqmBeamMonitor.BeamFitter.DIPFileName
0112     )
0113 )
0114 ###
0115 
0116 process.pp = cms.Path(process.onlineMetaDataDigis*
0117                       process.dqmTKStatus*
0118                       #process.hltLevel1GTSeed*
0119                       process.dqmBeamMonitor+
0120                       #process.dqmBeamMonitorBx+
0121                       process.dqmEnv+
0122                       process.dqmSaver)
0123 
0124 process.DQMStore.verbose = 0
0125 #process.DQM.collectorHost = 'cmslpc17.fnal.gov'
0126 process.DQM.collectorHost = 'localhost'
0127 process.DQM.collectorPort = 9190
0128 process.dqmSaver.dirName = '.'
0129 process.dqmSaver.producer = 'Playback'
0130 process.dqmSaver.convention = 'Online'
0131 process.dqmEnv.subSystemFolder = 'BeamMonitor'
0132 process.dqmSaver.saveByRun = 1
0133 process.dqmSaver.saveAtJobEnd = True
0134 
0135 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0136 process.GlobalTag.globaltag = 'MC_36Y_V7A::All'
0137 
0138 #process.BeamSpotDBSource = cms.ESSource("PoolDBESSource",
0139                                         #process.CondDBSetup,
0140                                         #toGet = cms.VPSet(cms.PSet(
0141     #record = cms.string('BeamSpotObjectsRcd'),
0142     #tag = cms.string('Early10TeVCollision_3p8cm_v3_mc_IDEAL')
0143     #)),
0144 ##    connect = cms.string('oracle://cms_orcoff_prod/CMS_COND_31X_BEAMSPOT')
0145     #connect = cms.string('frontier://FrontierProd/CMS_COND_31X_BEAMSPOT')
0146 #)
0147 
0148 # # summary
0149 process.options = cms.untracked.PSet(
0150     wantSummary = cms.untracked.bool(True)
0151     )
0152 
0153 process.schedule = cms.Schedule(process.pp)
0154