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('TEST') | |
import FWCore.ParameterSet.VarParsing as VarParsing | |
options = VarParsing.VarParsing('analysis') | |
options.setDefault('inputFiles', [ | |
'root://eoscms.cern.ch//eos/cms/store/data/Run2023D/EphemeralHLTPhysics0/RAW/v1/000/370/293/00000/2ef73d2a-1fb7-4dac-9961-149525f9e887.root' | |
]) | |
options.setDefault('maxEvents', 100) |
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
diff --git a/HLTrigger/Configuration/python/customizeHLTforCMSSW.py b/HLTrigger/Configuration/python/customizeHLTforCMSSW.py | |
index 655a9660556..34fd2254d35 100644 | |
--- a/HLTrigger/Configuration/python/customizeHLTforCMSSW.py | |
+++ b/HLTrigger/Configuration/python/customizeHLTforCMSSW.py | |
@@ -231,6 +231,23 @@ def customiseForOffline(process): | |
for prod in esproducers_by_type(process, 'OnlineBeamSpotESProducer'): | |
prod.timeThreshold = int(1e6) | |
+ # For running HLT offline and relieve the strain on Frontier so it will no longer inject a | |
+ # transaction id which tells Frontier to add a unique "&freshkey" to many query URLs. |
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
diff --git a/Configuration/AlCa/python/autoCondPhase2.py b/Configuration/AlCa/python/autoCondPhase2.py | |
index ae5d08ffff6..93cb958777a 100644 | |
--- a/Configuration/AlCa/python/autoCondPhase2.py | |
+++ b/Configuration/AlCa/python/autoCondPhase2.py | |
@@ -75,7 +75,7 @@ allTags["TkAlignment"] = { | |
'T25' : ( ','.join( [ 'TrackerAlignment_Upgrade2026_T25_design_v0' ,TkAlRecord, connectionString, "", "2023-03-16 15:30:00"] ), ), | |
'T30' : ( ','.join( [ 'TrackerAlignment_Upgrade2026_T30_design_v0' ,TkAlRecord, connectionString, "", "2023-03-16 15:30:00"] ), ), | |
'T33' : ( ','.join( [ 'TrackerAlignment_Upgrade2026_T33_design_v0' ,TkAlRecord, connectionString, "", "2023-06-07 21:00:00"] ), ), | |
- 'T36' : ( ','.join( [ 'TrackerAlignment_Upgrade2026_T36_design_v0' ,TkAlRecord, connectionString, "", "2024-??-?? ??:00:00"] ), ), | |
+ #'T36' : ( ','.join( [ 'TrackerAlignment_Upgrade2026_T36_design_v0' ,TkAlRecord, connectionString, "", "2024-??-?? ??:00:00"] ), ), |
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
#include <memory> | |
#include <iostream> | |
#include "CommonTools/Statistics/interface/ChiSquaredProbability.h" | |
#include "FWCore/Framework/interface/Frameworkfwd.h" | |
#include "FWCore/Framework/interface/EDAnalyzer.h" | |
#include "FWCore/Framework/interface/ESHandle.h" | |
#include "FWCore/Framework/interface/ESWatcher.h" | |
#include "FWCore/Framework/interface/Event.h" |
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
27-Jul-2023 19:58:12 CEST Initiating request to open file root://eoscms.cern.ch//eos/cms/store/hidata/HIRun2022A/HITestRaw6/RAW/v1/000/362/321/00000/76c3e7a8-896e-4671-9563-d6c596da5252.root | |
%MSG-w XrdAdaptorInternal: file_open 27-Jul-2023 19:58:13 CEST pre-events | |
Failed to open file at URL root://eoscms.cern.ch:1094//eos/cms/store/hidata/HIRun2022A/HITestRaw6/RAW/v1/000/362/321/00000/76c3e7a8-896e-4671-9563-d6c596da5252.root?xrdcl.requuid=ffe68c7c-2ce4-4be9-96b5-7c91bf4b1a46. | |
%MSG | |
%MSG-w XrdAdaptorInternal: file_open 27-Jul-2023 19:58:13 CEST pre-events | |
Failed to open file at URL root://eoscms.cern.ch:1094//eos/cms/store/hidata/HIRun2022A/HITestRaw6/RAW/v1/000/362/321/00000/76c3e7a8-896e-4671-9563-d6c596da5252.root?tried=&xrdcl.requuid=932b456b-bde8-4a1d-9abf-e62c1aaef69f. | |
%MSG | |
27-Jul-2023 19:58:13 CEST Initiating request to open file root://xrootd-cms.infn.it//store/hidata/HIRun2022A/HITestRaw6/RAW/v1/000/362/321/00000/76c3e7a8-896e-4671-9563-d6c596da5252.root | |
%MSG-w XrdAdaptor: file_open 27-Jul-2023 1 |
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
#include "DQMOffline/RecoB/plugins/PrimaryVertexMonitor.h" | |
#include "FWCore/ServiceRegistry/interface/Service.h" | |
#include "FWCore/Framework/interface/MakerMacros.h" | |
#include "FWCore/Utilities/interface/isFinite.h" | |
#include "CommonTools/Statistics/interface/ChiSquaredProbability.h" | |
#include "FWCore/MessageLogger/interface/MessageLogger.h" | |
#include "TMath.h" |
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 | |
import FWCore.PythonUtilities.LumiList as LumiList | |
from Alignment.OfflineValidation.TkAlAllInOneTool.defaultInputFiles_cff import filesDefaultData_MinBias2018B | |
from FWCore.ParameterSet.VarParsing import VarParsing | |
from Alignment.OfflineValidation.TkAlAllInOneTool.utils import _byteify | |
import json | |
import os |
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
/* | |
// defaults (Run-3) | |
double pMass = 0.938; // GeV (proton) | |
double E = 6800; // GeV (beam energy) | |
std::regex pattern("20\\d{2}"); // Regular expression pattern to match "20" followed by two digits | |
std::smatch matches; | |
if (std::regex_search(tagname, matches, pattern)) { | |
int secondTwoDigits = std::stoi(matches[1].str()); |
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 | |
import sys | |
from Configuration.Eras.Era_Run3_cff import Run3 | |
process = cms.Process("TestDCS", Run3) | |
################################################################### | |
# Messages | |
################################################################### | |
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
import requests | |
import datetime | |
import json | |
# Set the GitHub API endpoint and headers | |
api_url = "https://api.github.com" | |
headers = { | |
"Accept": "application/vnd.github.v3+json" | |
} |
NewerOlder