diff --git a/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py
index ea13c7edca3..fbfbf7e8be4 100644
--- a/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py
+++ b/DQM/Integration/python/clients/sistrip_dqm_sourceclient-live_cfg.py
@@ -18,7 +18,7 @@ process.MessageLogger = cms.Service("MessageLogger",
destinations = cms.untracked.vstring('cout')
)
-live=True
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import FWCore.ParameterSet.Config as cms | |
from Configuration.Eras.Era_Run3_cff import Run3 | |
process = cms.Process("BeamMonitorLegacy", Run3) | |
process.load("FWCore.MessageService.MessageLogger_cfi") | |
process.MessageLogger.cerr.FwkReport.reportEvery = 1 | |
# process.MessageLogger = cms.Service("MessageLogger", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
# Define the base folder where the search should start | |
base_folder = '.' | |
# Define the regular expression pattern to match the inclusion guard | |
guard_pattern = r'#ifndef\s+(\w+)\n#define\s+\1\n' | |
# Compile the regular expression pattern |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import FWCore.ParameterSet.Config as cms | |
from Configuration.Eras.Era_Run3_cff import Run3 | |
process = cms.Process("G4eRefit",Run3) | |
# import of standard configurations | |
process.load('Configuration.StandardSequences.Services_cff') | |
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') | |
process.load('FWCore.MessageService.MessageLogger_cfi') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+def customizeHLTfor40264(process): | |
+ process.hltPixelVertexSoAMonitorCPU = cms.EDProducer( "SiPixelMonitorVertexSoA", | |
+ pixelVertexSrc = cms.InputTag( "hltPixelVerticesSoA@cpu" ), | |
+ beamSpotSrc = cms.InputTag( "hltOnlineBeamSpot" ), | |
+ topFolderName = cms.string( "SiPixelHeterogeneous/PixelVerticesCPU" ) | |
+ ) | |
+ | |
+ process.hltPixelVertexSoAMonitorGPU = cms.EDProducer( "SiPixelMonitorVertexSoA", | |
+ pixelVertexSrc = cms.InputTag( "hltPixelVerticesSoA@cuda" ), | |
+ beamSpotSrc = cms.InputTag( "hltOnlineBeamSpot" ), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import FWCore.ParameterSet.Config as cms | |
import sys | |
from enum import Enum | |
from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValTTbarPileUpGENSIMRECO | |
class RefitType(Enum): | |
STANDARD = 1 | |
COMMON = 2 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import FWCore.ParameterSet.Config as cms | |
import sys | |
from Configuration.Eras.Era_Run3_cff import Run3 | |
process = cms.Process("TestDCS", Run3) | |
################################################################### | |
# Messages | |
################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import FWCore.ParameterSet.Config as cms | |
import sys | |
from Configuration.Eras.Era_Run3_cff import Run3 | |
process = cms.Process("BeamMonitor", Run3) | |
# Read streamer files from https://github.com/cms-data/DQM-Integration | |
import os | |
dqm_integration_data = [os.path.join(dir,'DQM/Integration/data') for dir in os.getenv('CMSSW_SEARCH_PATH','').split(":") if os.path.exists(os.path.join(dir,'DQM/Integration/data'))][0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import FWCore.ParameterSet.Config as cms | |
process = cms.Process("ONLYHISTOS") | |
#process.load("Alignment.OfflineValidation.Dataset_Validation_DoubleMuon_Run2022C_cff") | |
readFiles = cms.untracked.vstring() | |
process.source = cms.Source("PoolSource", | |
fileNames = readFiles) | |
readFiles.extend([ | |
"/store/data/Run2022B/DoubleMuon/ALCARECO/TkAlZMuMu-PromptReco-v1/000/355/368/00000/38b7a3a2-ab33-46ba-8ab3-7c341f20d344.root", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
// collect how many layers are missing | |
const auto& totalMaps = h_module_total->getAllMaps(); | |
const auto& foundMaps = h_module_found->getAllMaps(); | |
std::vector<bool> isTotalAvailable; | |
std::vector<bool> isFoundAvailable; | |
std::transform(totalMaps.begin(), totalMaps.end(), isTotalAvailable.begin(), [](auto& x) { return !(x==nullptr); }); | |
std::transform(foundMaps.begin(), foundMaps.end(), isFoundAvailable.begin(), [](auto& x) { return !(x==nullptr); }); |