Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration of input collection parameters to untracked for CTPPS and DTMonitorModule #38854

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
9dcb610
[master]add gen fragment for LLP relval
Jun 24, 2022
4114b32
update HTo2LLP genfragment config
Jul 8, 2022
fa7720d
fix LLP genfragment
Jul 12, 2022
883c3c3
Remove reclustering of jets in HI miniAOD that was used for 2018 PbPb
mandrenguyen Jul 12, 2022
c1d3d15
Remove commented line
mandrenguyen Jul 12, 2022
9340531
improve caching of MF geometry across runs
namapane Jul 14, 2022
3f512ee
add reminiaod wf for Run 3 PbPb (159.01)
mandrenguyen Jul 14, 2022
4803016
fix conddb dump functionality for tags and gts
francescobrivio Jul 15, 2022
3bb89c7
Try to avoid obsolete codes in CondTools/RunInfo
Jul 17, 2022
948d599
update conddb dump unitTest
francescobrivio Jul 18, 2022
d18ad23
Replace_Geometry_cff with GeometryDB_cff
jeongeun Jul 19, 2022
3399035
Add CPPF DQM modules
zhangcg123 Jun 28, 2022
d2f2f4a
Test alpaka-based modules and data formats
fwyzard Apr 26, 2022
9b8f8f9
Add read streamer and validation printout to check the memory layout
ericcano May 5, 2022
0a58127
Implement a generic macro-based SoA template
ericcano Jun 7, 2022
631f867
Add documentation and tests for the SoA templates
ericcano Jun 20, 2022
e798805
Automate the generation of the SoA data structures
ericcano Jun 7, 2022
8a00ed8
Implement a ConstBuffer interface for non-mutable buffers
fwyzard Jul 13, 2022
0d19313
Make View inherit from ConstView
fwyzard Jul 14, 2022
e03c9bd
Implement const and non-const view accessors for PortableCollections
fwyzard Jul 19, 2022
6bbc387
Add initialization list style assignment operator to view elements
ericcano Jul 18, 2022
956d55b
Fix initialization list style assignment operator to view elements
fwyzard Jul 20, 2022
51292ce
add relval wfs to test run3 skims
kskovpen Jul 22, 2022
1d0e439
throw in IBooker::bookME when illegal characters for the DQM GUI uplo…
mmusich Jul 22, 2022
fb68d30
fix wfs
kskovpen Jul 22, 2022
e4bc1e1
update
kskovpen Jul 23, 2022
a433d41
fix cosmics skim wfs
kskovpen Jul 23, 2022
7ee6725
Update the validation scripts for HFNose in Validation/HGCalValidatio…
Jul 23, 2022
dec9747
Code check
Jul 23, 2022
5028bac
Correct the sampic record name
Jul 23, 2022
f3ece2b
remove wfs
kskovpen Jul 23, 2022
b38d83d
Use the correct ERA for 2026D94 scenario
Jul 24, 2022
332ef23
Add testing of accessing partial wafer coordinates from Digi's and Re…
Jul 21, 2022
4588660
Code check
Jul 21, 2022
e0278c4
Take Andrea's suggestions
Jul 24, 2022
58de769
added BH tagger variable
jainshilpi Jul 25, 2022
6248d48
Update from run2_design to phase1_2022_design.
Jul 19, 2022
31417af
Modify the muon tomography script which now generates the hit file an…
Jul 25, 2022
fb5cf2f
Migration of input collection parameters to untracked for CTPPS and D…
NiharSaha Jul 25, 2022
6f18ae0
Code check
Jul 25, 2022
e034bfb
Code check a
Jul 25, 2022
1bc9549
Code check b
Jul 25, 2022
866bf1d
Improve the example kernel
fwyzard Jul 21, 2022
ca284ed
Merge pull request #38807 from bsunanda/Phase2-hgx319B
cmsbuild Jul 25, 2022
d44f06d
Implemented optional Dark Bremsstrahlung process into custom physics
Jul 25, 2022
6489059
Added timestamps to externalGenerator output
Dr15Jones Jul 25, 2022
478e889
include back the rest of wfs
kskovpen Jul 25, 2022
03969cf
fix
kskovpen Jul 25, 2022
ddff1f1
add GEM recHit/segment to ALCARECOMuAlCalIsolatedMu and ALCARECOMuAlG…
hyunyong Jul 25, 2022
31274fd
add GEM recHit/segment to ALCARECOMuAlGlobalCosmicsInCollisions
hyunyong Jul 25, 2022
d13385b
Merge pull request #38850 from jainshilpi/BHtaggerNano_masterV0
cmsbuild Jul 26, 2022
088f8b1
Merge pull request #38783 from yuanchao/cond_sistrip
cmsbuild Jul 26, 2022
a3a819a
Merge pull request #38843 from ChrisMisan/correct_sampic_record_name
cmsbuild Jul 26, 2022
42502cd
add era
kskovpen Jul 26, 2022
d274e60
Merge pull request #38329 from revering/DBremSim_12_5_X
cmsbuild Jul 26, 2022
a7cb997
Fix 60deg sector 0 and 1 definition
jbsauvan Jul 26, 2022
d11ee2f
update cosmics
kskovpen Jul 26, 2022
b6cd744
Update APrimePhysics.h
perrotta Jul 26, 2022
37ea99a
goemtry ok (for run1). not able to get event content
VinInn Jul 26, 2022
84ea5ec
code format
VinInn Jul 26, 2022
2816210
add unit test
VinInn Jul 26, 2022
57fb8a8
Merge pull request #38862 from cms-sw/FixHeaderGuardAPrimePhysics
cmsbuild Jul 26, 2022
580c410
Merge pull request #38830 from kskovpen/run3skimrelval
cmsbuild Jul 26, 2022
df1cbb6
Merge pull request #38855 from fwyzard/alpaka_and_SoA_data_formats
cmsbuild Jul 26, 2022
61a96f0
Merge pull request #38711 from mandrenguyen/dontReclusterAAMiniAOD
cmsbuild Jul 26, 2022
471587e
Merge pull request #38861 from jbsauvan/fix-sector-rotation
cmsbuild Jul 26, 2022
d103406
Merge pull request #38496 from kakwok/12_5_X_LLP-genfragment
cmsbuild Jul 26, 2022
125e9ab
Modernized modules in L1Trigger/RegionalCaloTrigger
Dr15Jones Jul 26, 2022
d071d1f
remove run3_GEM modifier
hyunyong Jul 26, 2022
ae6c00c
Add printout of ProductID (or BranchID) to edmProvDump
makortel Jul 22, 2022
0ae735e
Delete alcareco.py
jeongeun Jul 27, 2022
386cf0d
fix config for Run3
VinInn Jul 27, 2022
264a5ff
simple test runs (up to 150cm)
VinInn Jul 27, 2022
94b2eb1
Merge pull request #38737 from namapane/MF_issue38669
cmsbuild Jul 27, 2022
089a546
Merge pull request #38857 from Dr15Jones/externalGeneratorTimestamps
cmsbuild Jul 27, 2022
db4ff9a
Merge pull request #38846 from bsunanda/Phase2-hgx318A
cmsbuild Jul 27, 2022
4147990
Use thread friendly modules in L1Trigger/L1TNtuples
Dr15Jones Jul 27, 2022
c8c63c9
import MagneticField from g4SimHits
VinInn Jul 27, 2022
6975e4d
Add missing dependencies
makortel Jul 27, 2022
f7c501a
Merge pull request #38874 from makortel/patch-5
cmsbuild Jul 28, 2022
62d132a
Merge pull request #38858 from makortel/edmProvDumpProductID
cmsbuild Jul 28, 2022
194fba8
Merge pull request #38757 from francescobrivio/fix_conddb
cmsbuild Jul 28, 2022
6a5fde9
Merge pull request #38859 from hyunyong/addGEMToALCARECOMuAlCalIsolat…
cmsbuild Jul 28, 2022
9fb18d7
Merge pull request #38564 from zhangcg123/cppfdqm_to_master
cmsbuild Jul 28, 2022
d2c7143
Update the test scripts in Geometry/HGCalGeometry/test/python
Jul 28, 2022
fa0034a
Merge pull request #38831 from mmusich/safeCharsForDQMUpload
cmsbuild Jul 28, 2022
7178892
Merge pull request #38841 from bsunanda/Run3-sim123
cmsbuild Jul 28, 2022
9906115
Merge pull request #38852 from bsunanda/Phase2-hgx319D
cmsbuild Jul 28, 2022
8bb9eb0
check for nans earlier in the template reco
tvami Jul 28, 2022
16417bc
Merge pull request #38865 from Dr15Jones/deprecatedL1TriggerRegionalC…
cmsbuild Jul 28, 2022
b0ff40a
Merge pull request #38873 from Dr15Jones/deprecatedL1TriggerL1TNtuples
cmsbuild Jul 28, 2022
cce0fce
Merge pull request #38768 from bsunanda/Run3-gex136G
cmsbuild Jul 28, 2022
9160f64
Add missing #include
makortel Jul 28, 2022
1937c7f
Merge pull request #38878 from bsunanda/Phase2-hgx319E
cmsbuild Jul 29, 2022
230caf5
Merge pull request #38788 from jeongeun/geo_recovertex
cmsbuild Jul 29, 2022
791d9de
Merge pull request #38881 from tvami/FixForNanInLocAngle
cmsbuild Jul 29, 2022
a1ee449
Merge pull request #38889 from makortel/edmProvDumpFixGcc11
cmsbuild Jul 29, 2022
af61d7b
Merge pull request #38864 from VinInn/FixGeomProd
cmsbuild Jul 30, 2022
0883be0
Merged refs/pull/38854/head from repository cms-sw with cms-merge-topic
NiharSaha Jul 31, 2022
3eab39d
Update
NiharSaha Jul 31, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import FWCore.ParameterSet.Config as cms


# AlCaReco output for track based muon alignment using muons from collisions
OutALCARECOMuAlCalIsolatedMu_noDrop = cms.PSet(
SelectEvents = cms.untracked.PSet(
Expand All @@ -16,6 +17,8 @@
'keep *_dt4DSegments_*_*',
'keep *_csc2DRecHits_*_*',
'keep *_cscSegments_*_*',
'keep *_gemRecHits_*_*',
'keep *_gemSegments_*_*',
'keep *_rpcRecHits_*_*',
'keep L1AcceptBunchCrossings_*_*_*',
'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
'keep *_dt4DSegments_*_*',
'keep *_csc2DRecHits_*_*',
'keep *_cscSegments_*_*',
'keep *_gemRecHits_*_*',
'keep *_gemSegments_*_*',
'keep *_rpcRecHits_*_*',
'keep L1AcceptBunchCrossings_*_*_*',
'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
'keep *_dt4DSegments_*_*',
'keep *_csc2DRecHits_*_*',
'keep *_cscSegments_*_*',
'keep *_gemRecHits_*_*',
'keep *_gemSegments_*_*',
'keep *_rpcRecHits_*_*',
'keep L1AcceptBunchCrossings_*_*_*',
'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
Expand Down
6 changes: 3 additions & 3 deletions CondCore/Utilities/scripts/conddb
Original file line number Diff line number Diff line change
Expand Up @@ -2555,16 +2555,16 @@ def dump(args):
filter(IOV.tag_name == name).\
distinct():
if args.format == 'xml':
xmlProcessor.payload2xml(session, payload)
xmlProcessor.payload2xml(session, payload, args.destfile)
else:
_dump_payload(session, payload, args.loadonly)

elif args.type == 'gt' and _exists(session, conddb.GlobalTag.name, name) != None:
elif args.type == 'gt' and _exists(session, GlobalTag.name, name) != None:
for payload, in session.query(IOV.payload_hash).\
filter(GlobalTagMap.global_tag_name == name, IOV.tag_name == GlobalTagMap.tag_name).\
distinct():
if args.format == 'xml':
xmlProcessor.payload2xml(session, payload)
xmlProcessor.payload2xml(session, payload, args.destfile)
else:
_dump_payload(session, payload, args.loadonly)

Expand Down
7 changes: 6 additions & 1 deletion CondCore/Utilities/test/test_conddb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ conddb diffGlobalTagsAtRun -R 120X_mcRun3_2021_realistic_v1 -T 120X_mcRun3_2021_
echo -ne '\n\n'

echo "===========> testing conddb dump"
conddb dump 4b97f78682aac6254bbcba54cedbde468202bf5b || die 'failed comparing metadata with reference' $?
conddb dump 4b97f78682aac6254bbcba54cedbde468202bf5b || die 'failed conddb dump payload' $?
conddb dump 4b97f78682aac6254bbcba54cedbde468202bf5b --destfile payload_dump.xml || die 'failed conddb dump payload to file' $?
conddb dump SiPixelQuality_phase1_2021_v1 || die 'failed conddb dump tag' $?
conddb dump SiPixelQuality_phase1_2021_v1 --destfile tag_dump.xml || die 'failed conddb dump tag to file' $?
conddb dump Test_CMSSW_IB_unitTest_v1 || die 'failed conddb dump gt' $?
conddb dump Test_CMSSW_IB_unitTest_v1 --destfile gt_dump.xml || die 'failed conddb dump gt to file' $?
echo -ne '\n\n'

#conddb showFCSR || die 'failed conddb showFCSR' $? # the FCSR is not always a real run...
3 changes: 1 addition & 2 deletions CondFormats/Common/test/DropBoxMetadataReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
"SiPixelQualityFromDbRcd_other",
"SiPixelLorentzAngleRcd",
"CTPPSRPAlignmentCorrectionsDataRcd",
"PPSTimingCalibrationRcd",
"PPSTimingCalibrationRcd_Sampic"
"PPSTimingCalibrationRcd"
) # same strings as fType
)

Expand Down
8 changes: 1 addition & 7 deletions CondFormats/Common/test/ProduceDropBoxMetadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,7 @@ def encodeJsonInString(filename):
FileClass = cms.untracked.string("ALCA"),
prodMetaData = cms.untracked.string(PPSTimingCalibrationRcd_prod_str),
prepMetaData = cms.untracked.string(PPSTimingCalibrationRcd_prep_str),
),
cms.PSet(record = cms.untracked.string('PPSTimingCalibrationRcd_Sampic'),
Source = cms.untracked.string("AlcaHarvesting"),
FileClass = cms.untracked.string("ALCA"),
prodMetaData = cms.untracked.string(PPSTimingCalibrationRcd_Sampic_prod_str),
prepMetaData = cms.untracked.string(PPSTimingCalibrationRcd_Sampic_prep_str),
),
)
),
# this boolean will read the content of whichever payload is available and print its content to stoutput
# set this to false if you write out a sqlite.db translating the json's into a payload
Expand Down
12 changes: 6 additions & 6 deletions CondFormats/SiPixelTransient/src/SiPixelTemplate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,12 @@ void SiPixelTemplate::postInit(std::vector<SiPixelTemplateStore>& thePixelTemp_)
bool SiPixelTemplate::interpolate(int id, float cotalpha, float cotbeta, float locBz, float locBx) {
// Interpolate for a new set of track angles

//check for nan's
if (!edm::isFinite(cotalpha) || !edm::isFinite(cotbeta)) {
success_ = false;
return success_;
}

// Local variables
int i, j;
int ilow, ihigh, iylow, iyhigh, Ny, Nxx, Nyx, imidy, imaxx;
Expand Down Expand Up @@ -1393,12 +1399,6 @@ bool SiPixelTemplate::interpolate(int id, float cotalpha, float cotbeta, float l
throw cms::Exception("DataCorrupt")
<< "SiPixelTemplate::interpolate can't find needed template ID = " << id << std::endl;
}

//check for nan's
if (!edm::isFinite(cotalpha) || !edm::isFinite(cotbeta)) {
success_ = false;
return success_;
}
#else
assert(index_id_ >= 0 && index_id_ < (int)thePixelTemp_.size());
#endif
Expand Down
12 changes: 6 additions & 6 deletions CondFormats/SiPixelTransient/src/SiPixelTemplate2D.cc
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,12 @@ bool SiPixelTemplate2D::getid(int id) {
bool SiPixelTemplate2D::interpolate(int id, float cotalpha, float cotbeta, float locBz, float locBx) {
// Interpolate for a new set of track angles

//check for nan's
if (!edm::isFinite(cotalpha) || !edm::isFinite(cotbeta)) {
success_ = false;
return success_;
}

// Local variables

float acotb, dcota, dcotb;
Expand Down Expand Up @@ -680,12 +686,6 @@ bool SiPixelTemplate2D::interpolate(int id, float cotalpha, float cotbeta, float
#ifndef SI_PIXEL_TEMPLATE_STANDALONE
throw cms::Exception("DataCorrupt")
<< "SiPixelTemplate2D::illegal subdetector ID = " << thePixelTemp_[index_id_].head.Dtype << std::endl;

//check for nan's
if (!edm::isFinite(cotalpha) || !edm::isFinite(cotbeta)) {
success_ = false;
return success_;
}
#else
std::cout << "SiPixelTemplate:2D:illegal subdetector ID = " << thePixelTemp_[index_id_].head.Dtype << std::endl;
#endif
Expand Down
4 changes: 4 additions & 0 deletions CondTools/RunInfo/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@
<library file="XangleBetaStarFilter.cc">
<flags EDM_PLUGIN="1"/>
</library>

<library file="L1TriggerScalerESAnalyzer.cc" name="CondToolsL1TriggerScalerESAnalyzer">
<flags EDM_PLUGIN="1"/>
</library>
151 changes: 47 additions & 104 deletions CondTools/RunInfo/plugins/L1TriggerScalerESAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,86 +2,72 @@
#include <string>
#include <iostream>
#include <map>
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/MakerMacros.h"

#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/EventSetup.h"

#include "CondFormats/RunInfo/interface/L1TriggerScaler.h"

#include "CondFormats/DataRecord/interface/L1TriggerScalerRcd.h"

using namespace std;





namespace edmtest
{
class L1TriggerScalerESAnalyzer : public edm::EDAnalyzer
{
namespace edmtest {
class L1TriggerScalerESAnalyzer : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
public:
explicit L1TriggerScalerESAnalyzer(edm::ParameterSet const& p)
{
std::cout<<"L1TriggerScalerESAnalyzer"<<std::endl;
explicit L1TriggerScalerESAnalyzer(edm::ParameterSet const& p)
: scaler1Token_(esConsumes<L1TriggerScaler, L1TriggerScalerRcd, edm::Transition::BeginRun>()),
scaler2Token_(esConsumes<L1TriggerScaler, L1TriggerScalerRcd>()) {
edm::LogVerbatim("L1TriggerScaler") << "L1TriggerScalerESAnalyzer";
}
explicit L1TriggerScalerESAnalyzer(int i)
{ std::cout<<"L1TriggerScalerESAnalyzer "<<i<<std::endl; }
virtual ~L1TriggerScalerESAnalyzer() {
std::cout<<"~L1TriggerScalerESAnalyzer "<<std::endl;
explicit L1TriggerScalerESAnalyzer(int i)
: scaler1Token_(esConsumes<L1TriggerScaler, L1TriggerScalerRcd, edm::Transition::BeginRun>()),
scaler2Token_(esConsumes<L1TriggerScaler, L1TriggerScalerRcd>()) {
edm::LogVerbatim("L1TriggerScaler") << "L1TriggerScalerESAnalyzer " << i;
}
virtual void beginJob();
virtual void beginRun(const edm::Run&, const edm::EventSetup& context);
virtual void analyze(const edm::Event& e, const edm::EventSetup& c);
~L1TriggerScalerESAnalyzer() override { edm::LogVerbatim("L1TriggerScaler") << "~L1TriggerScalerESAnalyzer "; }
void beginJob() override;
void beginRun(const edm::Run&, const edm::EventSetup& context) override;
void analyze(const edm::Event& e, const edm::EventSetup& c) override;
void endRun(const edm::Run&, const edm::EventSetup& context) override {}

private:
const edm::ESGetToken<L1TriggerScaler, L1TriggerScalerRcd> scaler1Token_;
const edm::ESGetToken<L1TriggerScaler, L1TriggerScalerRcd> scaler2Token_;
};


void
L1TriggerScalerESAnalyzer::beginRun(const edm::Run&, const edm::EventSetup& context){
std::cout<<"###L1TriggerScalerESAnalyzer::beginRun"<<std::endl;
edm::ESHandle<L1TriggerScaler> L1TriggerScaler_lumiarray;
std::cout<<"got eshandle"<<std::endl;
context.get<L1TriggerScalerRcd>().get(L1TriggerScaler_lumiarray);
std::cout<<"got data"<<std::endl;

void L1TriggerScalerESAnalyzer::beginRun(const edm::Run&, const edm::EventSetup& context) {
edm::LogVerbatim("L1TriggerScaler") << "###L1TriggerScalerESAnalyzer::beginRun";
const edm::ESHandle<L1TriggerScaler>& L1TriggerScaler_lumiarray = context.getHandle(scaler1Token_);
edm::LogVerbatim("L1TriggerScaler") << " got eshandle with flag " << L1TriggerScaler_lumiarray.isValid()
<< " got data";
}

void
L1TriggerScalerESAnalyzer::beginJob(){
std::cout<<"###L1TriggerScalerESAnalyzer::beginJob"<<std::endl;


void L1TriggerScalerESAnalyzer::beginJob() {
edm::LogVerbatim("L1TriggerScaler") << "###L1TriggerScalerESAnalyzer::beginJob";
}


void
L1TriggerScalerESAnalyzer::analyze(const edm::Event& e, const edm::EventSetup& context){

void L1TriggerScalerESAnalyzer::analyze(const edm::Event& e, const edm::EventSetup& context) {
using namespace edm::eventsetup;
std::cout<<"###L1TriggerScalerESAnalyzer::analyze"<<std::endl;
edm::LogVerbatim("L1TriggerScaler") << "###L1TriggerScalerESAnalyzer::analyze";

// Context is not used.
std::cout <<" I AM IN RUN NUMBER "<<e.id().run() <<std::endl;
std::cout <<" ---EVENT NUMBER "<<e.id().event() <<std::endl;
edm::eventsetup::EventSetupRecordKey recordKey(edm::eventsetup::EventSetupRecordKey::TypeTag::findType("L1TriggerScalerRcd"));
if( recordKey.type() == edm::eventsetup::EventSetupRecordKey::TypeTag()) {
edm::LogVerbatim("L1TriggerScaler") << " I AM IN RUN NUMBER " << e.id().run();
edm::LogVerbatim("L1TriggerScaler") << " ---EVENT NUMBER " << e.id().event();
edm::eventsetup::EventSetupRecordKey recordKey(
edm::eventsetup::EventSetupRecordKey::TypeTag::findType("L1TriggerScalerRcd"));
if (recordKey.type() == edm::eventsetup::EventSetupRecordKey::TypeTag()) {
//record not found
std::cout <<"Record \"L1TriggerScalerRcd"<<"\" does not exist "<<std::endl;
edm::LogVerbatim("L1TriggerScaler") << "Record \"L1TriggerScalerRcd"
<< "\" does not exist ";
}
edm::ESHandle<L1TriggerScaler> l1tr;
std::cout<<"got eshandle"<<std::endl;
context.get<L1TriggerScalerRcd>().get(l1tr);
std::cout<<"got context"<<std::endl;
const L1TriggerScaler* l1lumiscaler=l1tr.product();
std::cout<<"got L1TriggerScaler* "<< std::endl;
const edm::ESHandle<L1TriggerScaler>& l1tr = context.getHandle(scaler2Token_);
edm::LogVerbatim("L1TriggerScaler") << " got eshandle\n got context";
const L1TriggerScaler* l1lumiscaler = l1tr.product();
edm::LogVerbatim("L1TriggerScaler") << "got L1TriggerScaler* ";

/* let's user the printValues method
std::cout<< "print result" << std::endl;
l1lumiscaler->printAllValues();
std::cout<< "print finished" << std::endl;
*/
std::cout<< "print result" << std::endl;
edm::LogVerbatim("L1TriggerScaler") << "print result";
l1lumiscaler->printRunValue();
l1lumiscaler->printLumiSegmentValues();
l1lumiscaler->printFormat();
Expand All @@ -95,50 +81,7 @@ std::cout<< "print result" << std::endl;
l1lumiscaler->printGTPartition0TriggerRates();
l1lumiscaler->printGTPartition0DeadTime();
l1lumiscaler->printGTPartition0DeadTimeRatio();
std::cout<< "print finished" << std::endl;



/*
for(std::vector<L1TriggerScaler::Lumi>::const_iterator it=l1lumiscaler->m_run.begin(); it!=l1lumiscaler->m_run.end(); ++it){
std::cout << " run: " <<it->m_rn<<
"\nlumisegment: " << it->m_lumisegment<<std::endl;



for(size_t i=0; i<it->m_GTAlgoRates.size(); i++ ){
std::cout << "m_GTAlgoRates["<<i<<"] = "<< it->m_GTAlgoRates[i]<<std::endl;
}
for(size_t i=0; i<it->m_GTAlgoPrescaling.size(); i++ ){
std::cout << "m_GTAlgoPrescaling["<<i<<"] = "<< it->m_GTAlgoPrescaling[i]<<std::endl;
}
for(size_t i=0; i<it->m_GTTechCounts.size(); i++ ){
std::cout << " m_GTTechCounts["<<i<<"] = "<< it->m_GTTechCounts[i]<<std::endl;
}

for(size_t i=0; i<it->m_GTTechRates.size(); i++ ){
std::cout << " m_GTTechRates["<<i<<"] = "<< it->m_GTTechRates[i]<<std::endl;
}
for(size_t i=0; i<it->m_GTTechPrescaling.size(); i++ ){
std::cout << " m_GTTechPrescaling["<<i<<"] = "<< it->m_GTTechPrescaling[i]<<std::endl;
}
for(size_t i=0; i<it->m_GTPartition0TriggerCounts.size(); i++ ){
std::cout << " m_GTPartition0TriggerCounts["<<i<<"] = "<< it->m_GTPartition0TriggerCounts[i]<<std::endl;
}
for(size_t i=0; i<it->m_GTPartition0TriggerRates.size(); i++ ){
std::cout << " m_GTPartition0TriggerRates["<<i<<"] = "<< it->m_GTPartition0TriggerRates[i]<<std::endl;
}

for(size_t i=0; i<it->m_GTPartition0DeadTime.size(); i++ ){
std::cout << " m_GTPartition0DeadTime["<<i<<"] = "<< it->m_GTPartition0DeadTime[i]<<std::endl;
}
for(size_t i=0; i<it->m_GTPartition0DeadTimeRatio.size(); i++ ){
std::cout << " m_GTPartition0DeadTimeRatio["<<i<<"] = "<< it->m_GTPartition0DeadTimeRatio[i]<<std::endl;
}
}
*/
edm::LogVerbatim("L1TriggerScaler") << "print finished";
}
DEFINE_FWK_MODULE(L1TriggerScalerESAnalyzer);
}


} // namespace edmtest
2 changes: 1 addition & 1 deletion CondTools/SiStrip/test/SiStripDetVOffFakeBuilder_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
from Configuration.AlCa.autoCond import autoCond
process.GlobalTag.globaltag = autoCond['run2_design']
process.GlobalTag.globaltag = autoCond['phase1_2022_design']
print("taking geometry from %s" % process.GlobalTag.globaltag.value())
process.load("Configuration.StandardSequences.GeometryDB_cff")

Expand Down
2 changes: 1 addition & 1 deletion CondTools/SiStrip/test/SiStripFedCablingBuilder_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
from Configuration.AlCa.autoCond import autoCond
process.GlobalTag.globaltag = autoCond['run2_design']
process.GlobalTag.globaltag = autoCond['phase1_2022_design']
print("taking geometry from %s" % process.GlobalTag.globaltag.value())
process.load("Configuration.StandardSequences.GeometryDB_cff")

Expand Down
2 changes: 1 addition & 1 deletion CondTools/SiStrip/test/SiStripFedCablingReader_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
from Configuration.AlCa.autoCond import autoCond
process.GlobalTag.globaltag = autoCond['run2_design']
process.GlobalTag.globaltag = autoCond['phase1_2022_design']
print("taking geometry from %s" % process.GlobalTag.globaltag.value())
process.load("Configuration.StandardSequences.GeometryDB_cff")

Expand Down
6 changes: 6 additions & 0 deletions Configuration/Eras/python/Era_Phase2C18I13M9_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.Era_Phase2C17I13M9_cff import Phase2C17I13M9
from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose

Phase2C18I13M9 = cms.ModifierChain(Phase2C17I13M9, phase2_hfnose)
Loading