File indexing completed on 2022-02-13 23:39:11
0001 import FWCore.ParameterSet.Config as cms
0002
0003 import sys
0004 from Configuration.Eras.Era_Run3_cff import Run3
0005 process = cms.Process("DQM", Run3)
0006
0007 unitTest = False
0008 if 'unitTest=True' in sys.argv:
0009 unitTest=True
0010
0011 if unitTest:
0012 process.load("DQM.Integration.config.unittestinputsource_cfi")
0013 from DQM.Integration.config.unittestinputsource_cfi import options
0014 else:
0015
0016 process.load("DQM.Integration.config.inputsource_cfi")
0017 from DQM.Integration.config.inputsource_cfi import options
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 process.load("DQM.Integration.config.environment_cfi")
0030
0031 process.dqmEnv.subSystemFolder = 'HLT'
0032 process.dqmSaver.tag = 'HLT'
0033 process.dqmSaver.runNumber = options.runNumber
0034 process.dqmSaverPB.tag = 'HLT'
0035 process.dqmSaverPB.runNumber = options.runNumber
0036
0037 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0038 process.load("Configuration.StandardSequences.MagneticField_cff")
0039 process.GlobalTrackingGeometryESProducer = cms.ESProducer( "GlobalTrackingGeometryESProducer" )
0040 process.HLTSiStripClusterChargeCutNone = cms.PSet( value = cms.double( -1.0 ) )
0041 process.ClusterShapeHitFilterESProducer = cms.ESProducer( "ClusterShapeHitFilterESProducer",
0042 ComponentName = cms.string( "ClusterShapeHitFilter" ),
0043 PixelShapeFileL1 = cms.string( "RecoPixelVertexing/PixelLowPtUtilities/data/pixelShapePhase1_loose.par" ),
0044 clusterChargeCut = cms.PSet( refToPSet_ = cms.string( "HLTSiStripClusterChargeCutNone" ) ),
0045 PixelShapeFile = cms.string( "RecoPixelVertexing/PixelLowPtUtilities/data/pixelShapePhase1_noL1.par" )
0046 )
0047
0048 process.load("CalibTracker.SiStripCommon.TkDetMapESProducer_cfi")
0049
0050
0051 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0052
0053
0054
0055
0056 process.hltESSHcalSeverityLevel = cms.ESSource( "EmptyESSource",
0057 iovIsRunNotTime = cms.bool( True ),
0058 recordName = cms.string( "HcalSeverityLevelComputerRcd" ),
0059 firstValid = cms.vuint32( 1 )
0060 )
0061 process.hcalRecAlgos = cms.ESProducer( "HcalRecAlgoESProducer",
0062 RecoveredRecHitBits = cms.vstring( 'TimingAddedBit',
0063 'TimingSubtractedBit' ),
0064 SeverityLevels = cms.VPSet(
0065 cms.PSet( ChannelStatus = cms.vstring( ),
0066 RecHitFlags = cms.vstring( ),
0067 Level = cms.int32( 0 )
0068 ),
0069 cms.PSet( ChannelStatus = cms.vstring( 'HcalCellCaloTowerProb' ),
0070 RecHitFlags = cms.vstring( ),
0071 Level = cms.int32( 1 )
0072 ),
0073 cms.PSet( ChannelStatus = cms.vstring( 'HcalCellExcludeFromHBHENoiseSummary' ),
0074 RecHitFlags = cms.vstring( 'HSCP_R1R2',
0075 'HSCP_FracLeader',
0076 'HSCP_OuterEnergy',
0077 'HSCP_ExpFit',
0078 'ADCSaturationBit',
0079 'HBHEIsolatedNoise',
0080 'AddedSimHcalNoise' ),
0081 Level = cms.int32( 5 )
0082 ),
0083 cms.PSet( ChannelStatus = cms.vstring( ),
0084 RecHitFlags = cms.vstring( 'HBHEHpdHitMultiplicity',
0085 'HBHEPulseShape',
0086 'HOBit',
0087 'HFInTimeWindow',
0088 'ZDCBit',
0089 'CalibrationBit',
0090 'TimingErrorBit',
0091 'HBHETriangleNoise',
0092 'HBHETS4TS5Noise' ),
0093 Level = cms.int32( 8 )
0094 ),
0095 cms.PSet( ChannelStatus = cms.vstring( ),
0096 RecHitFlags = cms.vstring( 'HFLongShort',
0097 'HFPET',
0098 'HFS8S1Ratio',
0099 'HFDigiTime' ),
0100 Level = cms.int32( 11 )
0101 ),
0102 cms.PSet( ChannelStatus = cms.vstring( 'HcalCellCaloTowerMask' ),
0103 RecHitFlags = cms.vstring( 'HBHEFlatNoise',
0104 'HBHESpikeNoise' ),
0105 Level = cms.int32( 12 )
0106 ),
0107 cms.PSet( ChannelStatus = cms.vstring( 'HcalCellHot' ),
0108 RecHitFlags = cms.vstring( ),
0109 Level = cms.int32( 15 )
0110 ),
0111 cms.PSet( ChannelStatus = cms.vstring( 'HcalCellOff',
0112 'HcalCellDead' ),
0113 RecHitFlags = cms.vstring( ),
0114 Level = cms.int32( 20 )
0115 )
0116 ),
0117 DropChannelStatusBits = cms.vstring( 'HcalCellMask',
0118 'HcalCellOff',
0119 'HcalCellDead' )
0120 )
0121
0122
0123 process.load("DQM.HLTEvF.HLTObjectMonitor_cff")
0124
0125
0126
0127
0128 process.load("DQM.HLTEvF.HLTObjectMonitor_Client_cff")
0129
0130
0131
0132 process.pp = cms.Path(process.dqmEnv+process.dqmSaver+process.dqmSaverPB)
0133
0134
0135
0136
0137 from DQM.Integration.config.online_customizations_cfi import *
0138 process = customise(process)
0139 print("Final Source settings:", process.source)