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