Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("BeamMonitor")
0004 
0005 #----------------------------
0006 # Event Source
0007 #-----------------------------
0008 #process.load("DQM.Integration.test.inputsource_playback_cfi")
0009 process.source = cms.Source("EventStreamHttpReader",
0010     sourceURL = cms.string('http://srv-c2d05-05:50082/urn:xdaq-application:lid=29'),
0011     consumerPriority = cms.untracked.string('normal'),
0012     max_event_size = cms.int32(7000000),
0013     consumerName = cms.untracked.string('Playback Source'),
0014     SelectHLTOutput = cms.untracked.string('hltOutputDQM'),
0015     max_queue_depth = cms.int32(5),
0016     maxEventRequestRate = cms.untracked.double(60.0),
0017     SelectEvents = cms.untracked.PSet(
0018         SelectEvents = cms.vstring('*')
0019     ),
0020     headerRetryInterval = cms.untracked.int32(3)
0021 )
0022 process.EventStreamHttpReader.SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('HLT_MinBiasBSC','HLT_L1_BSC'))
0023 
0024 #--------------------------
0025 # Filters
0026 #--------------------------
0027 # HLT Filter
0028 process.load("HLTrigger.special.HLTTriggerTypeFilter_cfi")
0029 # 0=random, 1=physics, 2=calibration, 3=technical
0030 process.hltTriggerTypeFilter.SelectedTriggerType = 1
0031 
0032 # L1 Trigger Bit Selection (bit 40 and 41 for BSC trigger)
0033 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0034 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0035 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0036 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string('40 OR 41')
0037 
0038 #----------------------------
0039 # DQM Live Environment
0040 #-----------------------------
0041 process.load("DQM.Integration.test.environment_cfi")
0042 process.dqmEnv.subSystemFolder = 'BeamMonitor'
0043 
0044 import DQMServices.Components.DQMEnvironment_cfi
0045 process.dqmEnvPixelLess = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone()
0046 process.dqmEnvPixelLess.subSystemFolder = 'BeamMonitor_PixelLess'
0047 
0048 #----------------------------
0049 # BeamMonitor
0050 #-----------------------------
0051 process.load("DQM.BeamMonitor.BeamMonitor_cff")
0052 process.load("DQM.BeamMonitor.BeamMonitor_PixelLess_cff")
0053 process.load("DQM.BeamMonitor.BeamConditionsMonitor_cff")
0054 
0055 ####  SETUP TRACKING RECONSTRUCTION ####
0056 
0057 #-------------------------------------------------
0058 # GEOMETRY
0059 #-------------------------------------------------
0060 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0061 
0062 #-----------------------------
0063 # Magnetic Field
0064 #-----------------------------
0065 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0066 
0067 #--------------------------
0068 # Calibration
0069 #--------------------------
0070 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0071 
0072 #-----------------------
0073 #  Reconstruction Modules
0074 #-----------------------
0075 ## Collision Reconstruction
0076 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0077 process.load("Configuration.StandardSequences.Reconstruction_cff")
0078 
0079 ## Pixelless Tracking
0080 process.load('RecoTracker/Configuration/RecoTrackerNotStandard_cff')
0081 process.MeasurementTracker.pixelClusterProducer = cms.string("")
0082 
0083 # Offline Beam Spot
0084 process.load("RecoVertex.BeamSpotProducer.BeamSpot_cff")
0085 
0086 #### END OF TRACKING RECONSTRUCTION ####
0087 
0088 #--------------------------
0089 # Scheduling
0090 #--------------------------
0091 process.phystrigger = cms.Sequence(process.hltTriggerTypeFilter*process.gtDigis*process.hltLevel1GTSeed)
0092 process.tracking = cms.Sequence(process.siPixelDigis*process.siStripDigis*process.trackerlocalreco*process.offlineBeamSpot*process.recopixelvertexing*process.ckftracks)
0093 process.monitor = cms.Sequence(process.dqmBeamMonitor*process.dqmEnv)
0094 process.tracking_pixelless = cms.Sequence(process.siPixelDigis*process.siStripDigis*process.trackerlocalreco*process.offlineBeamSpot*process.ctfTracksPixelLess)
0095 process.monitor_pixelless = cms.Sequence(process.dqmBeamMonitor_pixelless*process.dqmEnvPixelLess)
0096 
0097 process.p = cms.Path(process.phystrigger*process.tracking*process.monitor*process.dqmSaver)
0098 #process.p = cms.Path(process.phystrigger*process.tracking_pixelless*process.monitor_pixelless*process.dqmSaver)
0099 #process.p = cms.Path(process.phystrigger*process.tracking*process.monitor+process.tracking_pixelless*process.monitor_pixelless+process.dqmSaver)
0100