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

Update master-106X to CMSSW_10_6_2 #391

Merged
merged 290 commits into from
Aug 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
2988b47
Merge pull request #26762 from ggovi/condcore-conddb-tests-fix0-106X
cmsbuild May 13, 2019
0a9504c
Update offline and relval GTs
christopheralanwest May 14, 2019
f0e4a80
Update 106X PromptLike GTs
christopheralanwest May 14, 2019
ed29751
Merge pull request #26764 from fabiocos/fc-nanProtection
cmsbuild May 14, 2019
4985c11
Merge pull request #26735 from gkaratha/lostTrack_fix
cmsbuild May 14, 2019
9b4a734
DyT v2 on up to eta 1p2
clacaputo May 14, 2019
3a207d7
adjust impact parameter selection for avoiding the 1st layer of the p…
mtosi May 8, 2019
517d2f4
update
mtosi May 8, 2019
f457c68
fix
mtosi May 8, 2019
761bf3d
fix
mtosi May 9, 2019
6cbf57a
Modify Hcal geometry in view of no HE (backporting PR #26749)
May 15, 2019
bf8f7ee
fixing typo
yhaddad May 16, 2019
621771f
Transfer the changes made to the PR for master
May 16, 2019
4dd3a2a
new settings needed for pythia8 v gt 235 for all tunes
efeyazgan May 16, 2019
bcb68cc
new settings needed for pythia8v240 all tunes
efeyazgan May 16, 2019
414103e
backport of updated monopole skim
May 17, 2019
043c0b5
updating HTXS::HiggsClassification class
yhaddad May 17, 2019
dcd24bd
STXS to HTXS
yhaddad May 17, 2019
a16c1f0
STXS to HTXS
yhaddad May 17, 2019
57a8ca3
Merge branch 'pr_26486' into mergeatt
peruzzim May 20, 2019
ee14568
Added more debug info
May 20, 2019
a82bc9a
Added support for recent bot changes
May 20, 2019
258b7db
Update 2023 realistic GT to include new ECAL conditions
christopheralanwest May 20, 2019
b7c6cf1
Fix file path forgotten after 2019-->2021 migration
boudoul May 21, 2019
5a8e69a
Add VVLoose WP of MVAIso for newDMs and oldDMs cone of R=0.3
mbluj May 17, 2019
78c4a9a
Add VVLoose WP of MVAIso for newDMs and oldDMs cone of R=0.3 to PAT
mbluj May 17, 2019
c0d3e92
Add VVLoose WP of MVAIso for newDMs and oldDMs cone of R=0.3 to RECO/…
mbluj May 20, 2019
9e9d485
Add all type of MVA TauID with 2017v2 training to miniAOD_94XFall17 w…
mbluj May 20, 2019
8e29806
CMS Coding Rules
boudoul May 21, 2019
9d1ea3d
Merge pull request #26787 from bsunanda/Run3-hcx201
cmsbuild May 21, 2019
ce49a0d
Fix calibrated electrons and photons on new data format
peruzzim May 21, 2019
fe1350e
Use regexp for filters.
alja May 22, 2019
176d58c
backport from 110X of PR #26897
jandrea May 23, 2019
cb1c7fc
Merge pull request #26857 from boudoul/fixmuonCut_106
cmsbuild May 23, 2019
f735efe
new scenario for Run 3 with flat distribution from 55 to 75
plujan May 23, 2019
40a0ba2
fix prob function so it starts at 0
plujan May 23, 2019
2a72760
Turn off CR for 0T running
May 23, 2019
5286827
Merge pull request #26914 from plujan/FlatPileupRun3
cmsbuild May 24, 2019
3457566
Fixed DQM bin by bin tool to upload all produced files to GUI
May 24, 2019
2ec6784
Ignore PFJetSelector being on an EndPath
benkrikler May 24, 2019
a03b07b
Remove the Timing module from the uGT sequence, for UL
benkrikler May 24, 2019
08a6399
Merge pull request #26781 from christopheralanwest/alca-106X-gt-backport
cmsbuild May 24, 2019
f5285f8
Turn on CR only if not running at 0T
May 24, 2019
2e69004
Fixed an issue where string couldn't have the same name as a histogra…
May 24, 2019
0615e0e
fix problem of segmentation violation when accessing globalPosition o…
jandrea May 24, 2019
0719e48
Revert "Turn on CR only if not running at 0T"
May 25, 2019
16052e3
Revert "Turn off CR for 0T running"
May 25, 2019
7e88102
modify producer to get only the default label
cmantill May 25, 2019
956cb21
Merge pull request #26929 from andrius-k/dqm-binbybin-fix
cmsbuild May 27, 2019
e8f11ea
Merge pull request #26935 from andrius-k/dqm-binbybin-string-fix
cmsbuild May 27, 2019
db03cb9
Bugfix. Turn off 2D for magnetic field not = 3.8T instead of on
May 27, 2019
64d6aae
Fixes the segmentaion violation in Phase2 workflow with darkening
May 27, 2019
8fcddad
Update beamspot tag for 2021 realistic scenario
christopheralanwest May 23, 2019
22ce7a9
Update default beamspot for 2021 realistic scenario
christopheralanwest May 28, 2019
10c4b8f
Merge pull request #26821 from efeyazgan/tunesnippet10_6
cmsbuild May 29, 2019
3216a34
Merge pull request #26965 from bsunanda/Run3-hcx205
cmsbuild May 29, 2019
1ace19a
Fixed incorrect string comparison method
Jun 3, 2019
7ce960a
Returning a lost method call
Jun 4, 2019
203187a
Heavily modified nLayers variable; runs much faster now
Jun 4, 2019
e361777
Merge pull request #26783 from fabiocos/fc-bp26700TO106X
cmsbuild Jun 5, 2019
54415a4
Merge pull request #26826 from srimanob/106X_MonopoleSkimForRun2UL
cmsbuild Jun 5, 2019
a0cac0b
Merge pull request #26876 from alja/from-CMSSW_10_6_0
cmsbuild Jun 5, 2019
eb7af90
Merge pull request #26955 from andrius-k/dqm-binbybin-upload-fix
cmsbuild Jun 5, 2019
ad57f9a
Merge pull request #26970 from christopheralanwest/alca-new-beamspot-…
cmsbuild Jun 5, 2019
64de087
Merge pull request #26797 from Sam-Harper/EGSCRegULUpdate_1050
cmsbuild Jun 6, 2019
032fc79
Merge pull request #26827 from clacaputo/DyT_v2_10_6_X_barrel
cmsbuild Jun 6, 2019
37397d4
Merge pull request #26845 from cms-nanoAOD/nanoPR_106X_190520_plus_26486
cmsbuild Jun 6, 2019
77f0f88
Merge pull request #26847 from yhaddad/topic-stxs-stage1p1-cmssw-106X
cmsbuild Jun 6, 2019
a4ecfb8
Merge pull request #26859 from mbluj/CMSSW_10_6_X_MVA2017v2_followup_UL
cmsbuild Jun 6, 2019
5e248a9
Merge pull request #26937 from benkrikler/from-CMSSW_10_6_X_2019-05-2…
cmsbuild Jun 6, 2019
7af8667
Merge pull request #26861 from missirol/devel_DQMOffline_Trigger_Top_…
cmsbuild Jun 6, 2019
75cc115
update the way to tag bad ROCs
tocheng Dec 7, 2018
a7f7f0a
remove unused variables
tocheng Dec 18, 2018
6bcf37c
Add description to SiPixelStatus producer
tocheng Jan 31, 2019
dc3e2f2
update the way to tag bad ROCs
tocheng Dec 7, 2018
a9a8fc8
remove unused variables
tocheng Dec 18, 2018
a7dd32e
Add description to SiPixelStatus producer
tocheng Jan 31, 2019
91154f1
Update ALCARECO production and harvest testers
tocheng Feb 28, 2019
9c42572
Add TH1F for debugging and make threshold configurable
tocheng Apr 18, 2019
19c5d6e
Using Tracker DQM framework instead of TH1 and TFileService
tocheng Apr 19, 2019
7db93a6
Fix bug in plot naming and add total Bpix and total Fpix plot
tocheng Apr 19, 2019
29d96db
Still fill permanent bad components when run has low stat
tocheng Apr 20, 2019
cb79ce1
Tune the overflow bin for dead ROCs
tocheng Apr 20, 2019
07ce89a
Add a new threshold point 0.05
tocheng Apr 21, 2019
05a29f6
Add more plots to check pixel quality
tocheng Apr 23, 2019
86134bc
fix bug in calculating layer-1 occupancy
tocheng Apr 24, 2019
6a0c749
add per-lumi inst lumi from LHCinfo; add tree to host digi loss rate …
tocheng Apr 24, 2019
69a5469
seperate PCL code and code to check thresholds
tocheng Apr 25, 2019
5e4a91b
fix bug in integer division and fix segmentation of assigning last pa…
tocheng Apr 26, 2019
d86a1bf
Add a boolean to turn off TFileService in case of emptyRun (to avoid …
tocheng Apr 30, 2019
8257142
different thresholds for different sub-components
tocheng May 4, 2019
e1d8455
remove the ntuple/TH1F/DQM plots that are used to test/check the thre…
tocheng May 22, 2019
cc225eb
update Era usage
tocheng May 22, 2019
45d432b
remove un-needed commented lines
tocheng May 23, 2019
edf6ab8
still upload one payload for low stat run
tocheng Jun 2, 2019
2b93e9f
Revert "Add one payload to last_lumi+1 lumi section for the run : pro…
tocheng Jun 2, 2019
398d8df
fix cmssw code check
tocheng Jun 2, 2019
33e00df
fix the decription in SiPixelCalZeroBias producer
tocheng Jun 2, 2019
ca9198f
Skeleton for DeepTau v2.
kandrosov Apr 18, 2019
d551588
motifications for the TauBlockInputs
Apr 19, 2019
9d31d75
fixed some issues
Apr 19, 2019
f8185c9
Improved CellGrid implementation.
kandrosov Apr 19, 2019
87c9144
changes in the hadronBlock
Apr 20, 2019
27bf424
updates in the hadron block
Apr 22, 2019
e64a74d
Fixed some problems with the hadron block
Apr 23, 2019
fb2e87f
Continue fixing some problems in the hadron block
Apr 23, 2019
96781e4
Continue fixing some problems in the hadron block
Apr 23, 2019
20f0354
Updates in the electron block
Apr 24, 2019
fa47606
Fix in the GetValue function
Apr 25, 2019
6d673c5
Fixed some indentation problems
Apr 25, 2019
867493a
Applied comments
Apr 26, 2019
03d1482
applied comments
Apr 26, 2019
6115ca9
Fixed indentation
Apr 26, 2019
30942f7
improvements into the muon block
Apr 29, 2019
06faf2e
Modifications in the muon block
Apr 30, 2019
7ac2bc8
applied comments
Apr 30, 2019
21d2a1d
Modificacion to add v2 in the python config
May 1, 2019
f8341fc
Fixed bug
May 1, 2019
9b7d569
fixed bugs
May 2, 2019
06f6565
applied some comments
May 2, 2019
eb38558
Fixed some bugs of previus PR
MRD2F May 4, 2019
c4a36cc
Applied PR comments
MRD2F May 5, 2019
beac110
Fixed indentetion problem
MRD2F May 5, 2019
9cbae59
applied comments
MRD2F May 5, 2019
e7f0ab6
Fixed some errors and create a new method printInputs
MRD2F May 7, 2019
dcf7874
return previus runDeepTauIDsOnMiniAOD.py configuration
MRD2F May 7, 2019
8437b8c
applied PR comments
MRD2F May 7, 2019
d8a4649
applied commets
MRD2F May 7, 2019
4761101
FIxed sample name
MRD2F May 7, 2019
dbb49f2
fixed some bugs in DeepTauId.cc and implemented new reading version …
MRD2F May 10, 2019
ff420b4
remove some aditional spaces
MRD2F May 10, 2019
693e7c9
applied PR commets
MRD2F May 10, 2019
d29ef8c
Improved memory usage
MRD2F May 13, 2019
2d11f94
Add DeepTauId 2017v2 to MiniAOD workflow
mbluj May 16, 2019
7a71ff8
Initialization by a number rather than by a function
mbluj May 16, 2019
e22a1b2
Use `static constexpr` rather than `static const`
mbluj May 17, 2019
9b0b09c
remove ambiguous enum in namespace
mbluj May 17, 2019
bc6ffbf
remove unused variable
mbluj May 17, 2019
f1f1232
remove unused variable (bug fix)
mbluj May 18, 2019
5e851dd
Improved CPU timing of deepTauId.
kandrosov May 27, 2019
497acaf
Bugfixes in DeepTauId.
kandrosov May 28, 2019
cc0497f
Applied comments from the central DeepTau v2 PR.
kandrosov Jun 4, 2019
0b171bb
Fixed deltaPhi calls.
kandrosov Jun 4, 2019
bbf2f6e
Backport 11_0_X code format
DryRun Jun 7, 2019
e0154d4
Run 3 HB
DryRun May 24, 2019
6f71b90
Run 3 HB (fix pedestal task)
DryRun May 24, 2019
0ff95e3
Run 3 HB (more fixes)
DryRun May 24, 2019
1bbce21
Fix QIE8 filter bug
DryRun May 29, 2019
7651c56
Formatting
DryRun May 29, 2019
eafc8d0
Fix crash due to QIE10 in 2016 data but not in conditions
DryRun Jun 7, 2019
8912ae4
Deal with redefinition of hcalFraction variable wrt pre 10_6_X
mbluj Jun 11, 2019
91ba701
zeroing PF clustering uncertainty
Sam-Harper Jun 12, 2019
1d2c2c7
Fix suggested by the static analyzer (std::isnan does not work when f…
mbluj Jun 12, 2019
85d3e92
add pileup scenario for 2018 ultra legacy
plujan Jun 13, 2019
9108c5e
Update GTs to include new EGamma regression
christopheralanwest Jun 4, 2019
72c671a
Global tag renaming to use standard conventions
christopheralanwest Jun 4, 2019
50d0e2d
Use correct 2017 MC GT
christopheralanwest Jun 4, 2019
6ed8329
Updated EGamma regression for PR 26892
christopheralanwest Jun 6, 2019
31c63f2
Updated EGamma regression for PR 26892
christopheralanwest Jun 10, 2019
ece48fd
Blacklisted more plots from DQM/TimerServices in DQM bin by bin tool
Jun 13, 2019
4b9eed8
updating EG regression modifiers
Sam-Harper May 22, 2019
080e4d8
general fixes for regression to run correctly
Sam-Harper May 25, 2019
8a0241f
updating to new regression interface
Sam-Harper Jun 4, 2019
e545b2f
adding code review comments
Sam-Harper Jun 5, 2019
b091339
adding e/gamma modifiers
Sam-Harper Jun 6, 2019
4ad0a09
setting the 94X regression as the default regression for 106X
Sam-Harper Jun 6, 2019
a5448e8
allowing option to restrict rawEnergy to the resolution estimates
Sam-Harper Jun 7, 2019
bc44cf3
setting rawEnergy cap for endcap to be 1.2 TeV
Sam-Harper Jun 8, 2019
4daff64
fixing typos
Sam-Harper Jun 10, 2019
80af1fd
Merge pull request #26898 from jandrea/cmssw_110X_stripclustmaps_back…
cmsbuild Jun 13, 2019
1d25e25
Merge pull request #27044 from OzAmram/CR_0T_fix
cmsbuild Jun 13, 2019
dc804fb
Merge pull request #27086 from andrius-k/dqm-binbybin-10-6
cmsbuild Jun 13, 2019
c3662eb
Merge pull request #27101 from emacdonald16/BackPortForOTTP
cmsbuild Jun 13, 2019
0cb5aec
Merge pull request #27130 from tocheng/SiPixelQualityForUL_final_106X
cmsbuild Jun 13, 2019
f216677
Merge pull request #27203 from Sam-Harper/EGRegModifierUpdates_for1061
cmsbuild Jun 14, 2019
f5897bf
Merge pull request #27205 from christopheralanwest/alca-new-gt-for-pr…
cmsbuild Jun 14, 2019
7118dfe
Merge pull request #27200 from plujan/Pileup2018UL
cmsbuild Jun 14, 2019
6af6c5f
Merge pull request #27146 from cms-tau-pog/CMSSW_10_6_X_tau-pog_DeepT…
cmsbuild Jun 14, 2019
5a2a7c5
Fix python3 interface problem in RecoTauTag/RecoTau
Dr15Jones Jun 12, 2019
d032c93
Merge pull request #27208 from Sam-Harper/ZeroPFClusEUncert_1060
cmsbuild Jun 17, 2019
d10f146
Merge pull request #27209 from fabiocos/fc-bp27189to106X
cmsbuild Jun 17, 2019
4d7c87b
Small fixes in Validation packages
perrotta Jun 17, 2019
af9060c
Small fixes in Validation packages
perrotta Jun 5, 2019
bd7178f
adjust
perrotta Jun 5, 2019
be7bfa9
Merge pull request #27202 from andrius-k/dqm-binby-bin-blacklist-10-6
cmsbuild Jun 17, 2019
d6cf41e
Add DeepTau2017v2 variables to the tau table
mbluj Jun 17, 2019
11312a0
Improve the fix from a0c43f3ea4e248d.
schneiml Jun 18, 2019
e6888e9
Merge pull request #27152 from DryRun/CMSSW_10_6_0_patch2_ngHB
cmsbuild Jun 19, 2019
ae1ce36
add TkAlMinBias producer to JetHT dataset
mmusich Jun 21, 2019
8e2acfe
Fix BoostedDoubleSVProd
Jun 18, 2019
9811983
Apply format changes
Jun 18, 2019
cc7733a
Use edm::isFinite.h to be fast-math compliant, add addition nan/inf c…
Jun 18, 2019
1d5d854
update Pixel CPE conditions for 2021 workflows as in https://hypernew…
mmusich Jun 17, 2019
16dafb8
Update pixel conditions for 2021 scenarios
christopheralanwest Jun 24, 2019
754ed45
fix SiPixelGenError Interpolation for Irradiation Bias Correction
mmusich Jun 26, 2019
aa98aa6
fixed double counting
civanch Jun 28, 2019
fd4728f
Allow adding to existing tauEmbedder
mbluj Jun 27, 2019
7dd48e4
Add LogWarnings
Jun 24, 2019
c6e9c33
Update offline data GTs for 2017 ultra-legacy reprocessing
christopheralanwest Jun 26, 2019
e1ca868
Update prompt-like global tags to fix vertical dispersion issue for PPS
christopheralanwest Jun 26, 2019
b1f9a48
Finalize 2017 MC GT for ultra-legacy reprocessing
christopheralanwest Jun 26, 2019
1e77359
Revert unintended change to EcalPFRecHitThresholds for pre-2017 IOVs
christopheralanwest Jun 26, 2019
9778d89
Update ECAL tags to ensure 2018 conditions are unchanged
christopheralanwest Jun 28, 2019
fdcd03c
Make BeamSpotObjectsRcd tag consistent with 2018 history.
christopheralanwest Jul 1, 2019
3e5f98a
Update 2017 realistic MC GT to remove unused record SiPixelCPEGeneric…
christopheralanwest Jul 1, 2019
e39a7af
Merge pull request #27227 from cms-tau-pog/CMSSW_10_6_X_tau-pog_DeepT…
cmsbuild Jul 2, 2019
141105a
Merge pull request #27239 from schneiml/dqm-improve-tracking-perlumi-…
cmsbuild Jul 2, 2019
88fe980
Merge pull request #27381 from CMSTrackerDPG/fixSiPixelGenErrorInterp…
cmsbuild Jul 2, 2019
a455878
Merged refs/pull/26806/head from repository cms-sw with cms-merge-topic
boudoul Jul 2, 2019
5e3fb63
Merge pull request #27308 from mmusich/addTkAlMinBiasToJetHT106X
cmsbuild Jul 2, 2019
74be976
Merge pull request #27328 from andrzejnovak/backport106X
cmsbuild Jul 2, 2019
4c7470b
Merge pull request #27335 from christopheralanwest/alca-gt-for-pr2718…
cmsbuild Jul 2, 2019
22573f3
Merge pull request #27398 from cms-tau-pog/CMSSW_10_6_X_tau-pog_tauId…
cmsbuild Jul 2, 2019
fc6cf13
Merge pull request #27420 from christopheralanwest/alca-2017ul-gt-106X
cmsbuild Jul 2, 2019
6333da0
Merge pull request #27396 from civanch/removed_double_counting_bp
cmsbuild Jul 2, 2019
ce58ceb
In ConfigBuilder.py use hashlib to shorten profilerFormat name
gudrutis Jun 21, 2019
0e3fa02
Resolved merge conflict for one file
gudrutis Jun 24, 2019
66cc191
Commit formating
gudrutis Jun 25, 2019
11e6e80
Remove emacs temp file
mrodozov Jul 3, 2019
9c67587
Backport from #27330
hbecerri Jul 3, 2019
528623e
Merge pull request #27432 from mrodozov/bp-zygis-changes-on-106
cmsbuild Jul 5, 2019
71bfc83
fixed_monopole_ionisation
civanch Jul 7, 2019
10bb439
Merge pull request #27423 from boudoul/DTPhase2PhDigi_v106X_backport
cmsbuild Jul 9, 2019
4703713
Merge pull request #27455 from civanch/fixed_monopole_ionisation
cmsbuild Jul 9, 2019
6bf8314
Added ctpps_2017 and ctpps_2018 era modifiers.
jan-kaspar Jul 4, 2019
781895d
Association cuts updated.
jan-kaspar Jul 4, 2019
885bfc0
Review suggestions implemented.
jan-kaspar Jul 9, 2019
ec5286f
GEMStatusDigi bug fix
hyunyong Jul 10, 2019
e9ca039
adding PSweights for Herwig7
Jul 11, 2019
c35ac92
add PSweights to example config
Jul 11, 2019
4f99453
Fixing issue where the change of lumiblock lead to segfault
Jul 11, 2019
601889f
using smart pointer for GenLumiInfoHeader
Jul 11, 2019
605fffe
fix energy fractions after jet resolution smearing
ahinzmann Jul 12, 2019
ebf0021
add newline
ahinzmann Jul 15, 2019
eddd0f4
Add scenario Run3 to Configuration/DataProcessing
fabiocos Jul 16, 2019
a39cb72
Add scenario Run3 to Configuration/DataProcessing without _2021
fabiocos Jul 16, 2019
a6f661f
Update to Run3 also trackingOnlyEra
fabiocos Jul 16, 2019
aca6171
Merge pull request #27537 from fabiocos/fc-DPRun3-106X
cmsbuild Jul 17, 2019
1fa1040
Remove all the ocurrences of SetCanExtend from TrackAnalyzer
hbecerri Jul 22, 2019
41eca26
Reverting old default cuts for 2017 data
fabferro Jul 22, 2019
8c448ed
Update ECAL conditions to provide correct reference for 2016 and 2018 UL
christopheralanwest Jul 24, 2019
4771790
Merge pull request #27224 from perrotta/validationFixes106X
cmsbuild Aug 6, 2019
8f1eddf
Merge pull request #27435 from hbecerri/DQMTkQCbackport106
cmsbuild Aug 6, 2019
e74f6d2
Merge pull request #27475 from CTPPS/association_cuts_10_6
cmsbuild Aug 6, 2019
e38c395
Merge pull request #27487 from hyunyong/GEMDQM_10_6_X
cmsbuild Aug 6, 2019
9f6b0c8
Merge pull request #27496 from Andrej-CMS/PR_UltraLegacy_PSWeigts
cmsbuild Aug 6, 2019
956d9af
Merge pull request #27506 from ahinzmann/JERfractionsFix106X
cmsbuild Aug 6, 2019
2795fe5
Merge pull request #27605 from christopheralanwest/alca-fix-ecal-ul-r…
cmsbuild Aug 6, 2019
d2e930f
Revert "Reverting old default cuts for 2017 data"
fabiocos Aug 7, 2019
781d8a3
Merge pull request #27709 from fabiocos/fc-restorePPS2017
cmsbuild Aug 8, 2019
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
11 changes: 5 additions & 6 deletions CalibCalorimetry/HcalPlugins/src/HcalHardcodeCalibrations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,18 @@ namespace {

const std::vector<HcalGenericDetId>& allCells (const HcalTopology& hcaltopology, bool killHE = false) {
static std::vector<HcalGenericDetId> result;
int maxDepthHB=hcaltopology.maxDepthHB();
int maxDepthHE=hcaltopology.maxDepthHE();
int maxDepth=hcaltopology.maxDepth();

#ifdef DebugLog
std::cout << std::endl << "HcalHardcodeCalibrations: maxDepthHB, maxDepthHE = "
<< maxDepthHB << ", " << maxDepthHE << std::endl;
std::cout << std::endl << "HcalHardcodeCalibrations: maxDepth = "
<< maxDepth << std::endl;
#endif

if (result.empty()) {
for (int eta = -HcalDetId::kHcalEtaMask2;
eta <= (int)(HcalDetId::kHcalEtaMask2); eta++) {
for (unsigned int phi = 0; phi <= HcalDetId::kHcalPhiMask2; phi++) {
for (int depth = 1; depth < maxDepthHB + maxDepthHE; depth++) {
for (int depth = 1; depth <= maxDepth; depth++) {
for (int det = 1; det <= HcalForward; det++) {
HcalDetId cell ((HcalSubdetector) det, eta, phi, depth);
if( killHE && HcalEndcap == cell.subdetId() ) continue;
Expand Down Expand Up @@ -506,7 +505,7 @@ std::unique_ptr<HcalRespCorrs> HcalHardcodeCalibrations::produceRespCorrs (const
//set depth segmentation for HB/HE recalib - only happens once
if((he_recalibration && !setHEdsegm) || (hb_recalibration && !setHBdsegm)){
std::vector<std::vector<int>> m_segmentation;
int maxEta = topo->lastHERing();
int maxEta = std::max(topo->lastHERing(),topo->lastHBRing());
m_segmentation.resize(maxEta);
for (int i = 0; i < maxEta; i++) {
topo->getDepthSegmentation(i+1,m_segmentation[i]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,9 @@ std::shared_ptr<const SiPixel2DTemplateDBObject> SiPixel2DTemplateDBObjectESProd
GlobalPoint center(0.0, 0.0, 0.0);
float theMagField = magfield.product()->inTesla(center).mag();

std::string label = "numerator"; // The correct default
// std::string label = "denominator"; // Outdated. Used for MC in older GT's
// std::string label = ""; // Outdated. Old default

if( theMagField>=-0.1 && theMagField<1.0 ) label = "0T";
else if(theMagField>=1.0 && theMagField<2.5 ) label = "2T";
else if(theMagField>=2.5 && theMagField<3.25) label = "3T";
else if(theMagField>=3.25 && theMagField<3.65) label = "35T";
else if(theMagField>=3.9 && theMagField<4.1 ) label = "4T";
else {
//label = "3.8T";
if(theMagField>=4.1 || theMagField<-0.1) edm::LogWarning("UnexpectedMagneticFieldUsingDefaultPixel2DTemplate") << "Magnetic field is " << theMagField;
}
std::string label = "numerator"; // The correct default
if(theMagField>=4.1 || theMagField<-0.1) edm::LogWarning("UnexpectedMagneticFieldUsingDefaultPixel2DTemplate") << "Magnetic field is " << theMagField;

ESHandle<SiPixel2DTemplateDBObject> dbobject;
iRecord.getRecord<SiPixel2DTemplateDBObjectRcd>().get(label,dbobject);

Expand Down
1 change: 1 addition & 0 deletions CalibTracker/SiPixelQuality/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<use name="DataFormats/SiPixelDetId"/>
<use name="DataFormats/FEDRawData"/>
<use name="CondFormats/DataRecord"/>
<use name="CondFormats/RunInfo"/>
<use name="CondFormats/SiPixelObjects"/>
<use name="DQM/SiPixelPhase1Common"/>
<use name="CalibTracker/SiPixelQuality"/>
Expand Down
168 changes: 128 additions & 40 deletions CalibTracker/SiPixelQuality/plugins/SiPixelStatusHarvester.cc

Large diffs are not rendered by default.

20 changes: 17 additions & 3 deletions CalibTracker/SiPixelQuality/plugins/SiPixelStatusHarvester.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
// Pixel quality harvester
#include "CalibTracker/SiPixelQuality/interface/SiPixelStatusManager.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelQuality.h"

// PixelDQM Framework
#include "DQM/SiPixelPhase1Common/interface/SiPixelPhase1Base.h"
// PixelPhase1 HelperClass
#include "DQM/SiPixelPhase1Common/interface/SiPixelCoordinates.h"

// Threshold testing
#include "TH1.h"
#include "TFile.h"

class SiPixelStatusHarvester : public one::DQMEDAnalyzer<edm::one::WatchLuminosityBlocks>, private HistogramManagerHolder {
enum {
Expand Down Expand Up @@ -45,6 +51,7 @@ class SiPixelStatusHarvester : public one::DQMEDAnalyzer<edm::one::WatchLuminosi
private:

// Parameters
double thresholdL1_, thresholdL2_, thresholdL3_, thresholdL4_, thresholdRNG1_, thresholdRNG2_;
std::string outputBase_;
int aveDigiOcc_;
int nLumi_;
Expand All @@ -69,10 +76,15 @@ class SiPixelStatusHarvester : public one::DQMEDAnalyzer<edm::one::WatchLuminosi
const SiPixelFedCabling* cablingMap_ = nullptr;
std::map<int, unsigned int> sensorSize_;

SiPixelCoordinates coord_;

// pixel online to offline pixel row/column
std::map<int, std::map<int, std::pair<int,int> > > pixelO2O_;

//Helper functions
std::vector<std::string> substructures;
double perLayerRingAverage(int detid, SiPixelDetectorStatus tmpSiPixelStatus);
std::string substructure(int detid);

// "step function" for IOV
edm::LuminosityBlockNumber_t stepIOV(edm::LuminosityBlockNumber_t pin, std::map<edm::LuminosityBlockNumber_t,edm::LuminosityBlockNumber_t> IOV);
Expand All @@ -81,8 +93,10 @@ class SiPixelStatusHarvester : public one::DQMEDAnalyzer<edm::one::WatchLuminosi
bool equal(SiPixelQuality* a, SiPixelQuality* b);

// Tag constructor
void constructTag(std::map<int,SiPixelQuality*>siPixelQualityTag, edm::Service<cond::service::PoolDBOutputService> &poolDbService, std::string tagName, edm::Run& iRun);

void constructTag(std::map<int, SiPixelQuality*> siPixelQualityTag,
edm::Service<cond::service::PoolDBOutputService>& poolDbService,
std::string tagName,
edm::Run& iRun);

};

Expand Down
26 changes: 20 additions & 6 deletions CalibTracker/SiPixelQuality/plugins/SiPixelStatusProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@
#include <string>
// ROOT
#include "TMath.h"

// CMSSW FW
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/ESWatcher.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/ESWatcher.h"

// CMSSW DataFormats
#include "DataFormats/Common/interface/ConditionsInEdm.h"
#include "DataFormats/Common/interface/DetSetVector.h"
Expand All @@ -30,7 +28,6 @@
#include "DataFormats/SiPixelDigi/interface/PixelDigi.h"
// "FED error 25"
#include "DataFormats/SiPixelDetId/interface/PixelFEDChannel.h"

// CMSSW CondFormats
#include "CondFormats/RunInfo/interface/RunSummary.h"
#include "CondFormats/RunInfo/interface/RunInfo.h"
Expand All @@ -40,11 +37,9 @@
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
#include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"

// EDProducer related dataformat
#include "DQM/SiPixelPhase1Common/interface/SiPixelCoordinates.h"
#include "CalibTracker/SiPixelQuality/interface/SiPixelDetectorStatus.h"

// header file
#include "CalibTracker/SiPixelQuality/plugins/SiPixelStatusProducer.h"

Expand Down Expand Up @@ -404,4 +399,23 @@ int SiPixelStatusProducer::indexROC(int irow, int icol, int nROCcolumns){

}

//--------------------------------------------------------------------------------------------------
//edmPythonConfigToCppValidation CalibTracker/SiPixelQuality/python/SiPixelStatusProducer_cfi.py
void SiPixelStatusProducer::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
// siPixelStatusProducer
edm::ParameterSetDescription desc;
{
edm::ParameterSetDescription psd0;
psd0.addUntracked<int>("resetEveryNLumi", 1);
psd0.addUntracked<edm::InputTag>("pixelClusterLabel", edm::InputTag("siPixelClusters","","RECO"));
psd0.add<std::vector<edm::InputTag>>("badPixelFEDChannelCollections", {
edm::InputTag("siPixelDigis"),
});
desc.add<edm::ParameterSetDescription>("SiPixelStatusProducerParameters", psd0);
}
descriptions.add("siPixelStatusProducer", desc);

}


DEFINE_FWK_MODULE(SiPixelStatusProducer);
10 changes: 7 additions & 3 deletions CalibTracker/SiPixelQuality/plugins/SiPixelStatusProducer.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@ ________________________________________________________________**/

// C++ standard
#include <string>
// CMS
// CMS FW
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/one/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/ESWatcher.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
// Pixel data format
#include "CalibTracker/SiPixelQuality/interface/SiPixelDetectorStatus.h"
#include "CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelFedCablingMap.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/Common/interface/DetSetVectorNew.h"
#include "DataFormats/SiPixelDetId/interface/PixelFEDChannel.h"
// Tracker Geo
#include "DQM/SiPixelPhase1Common/interface/SiPixelCoordinates.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
Expand All @@ -34,7 +35,10 @@ class SiPixelStatusProducer : public edm::one::EDProducer<edm::EndLuminosityBloc
explicit SiPixelStatusProducer(const edm::ParameterSet&);
~SiPixelStatusProducer() override;

static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);

private:

void beginLuminosityBlock (edm::LuminosityBlock const& lumiSeg, const edm::EventSetup& iSetup) final;
void endLuminosityBlock (edm::LuminosityBlock const& lumiSeg, const edm::EventSetup& iSetup) final;
void endLuminosityBlockProduce(edm::LuminosityBlock& lumiSeg, const edm::EventSetup& iSetup) final;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,15 @@
geometry = SiPixelPhase1Geometry,
#triggerflags = trigger.SiPixelPhase1Triggers SiPixelQuality ALCARECO doesn't contain any trigger infor
SiPixelStatusManagerParameters = cms.PSet(
thresholdL1 = cms.untracked.double(0.1),
thresholdL2 = cms.untracked.double(0.2),
thresholdL3 = cms.untracked.double(0.2),
thresholdL4 = cms.untracked.double(0.2),
thresholdRNG1 = cms.untracked.double(0.1),
thresholdRNG2 = cms.untracked.double(0.1),
outputBase = cms.untracked.string("runbased"), #nLumibased #runbased #dynamicLumibased
aveDigiOcc = cms.untracked.int32(20000),
resetEveryNLumi = cms.untracked.int32(10),
resetEveryNLumi = cms.untracked.int32(1),
moduleName = cms.untracked.string("siPixelStatusProducer"),
label = cms.untracked.string("siPixelStatus"),
),
Expand Down
2 changes: 1 addition & 1 deletion CalibTracker/SiPixelQuality/src/SiPixelStatusManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void SiPixelStatusManager::createFEDerror25(){
}

if(sameAsLastIOV==false){
//only write new IOV when this Lumi is not equal to the previous one
//only write new IOV when this Lumi's FEDerror25 ROC list is not equal to the previous one
FEDerror25Map_[tmpLumi] = tmpBadRocLists;
// and reset
previousLumi = tmpLumi;
Expand Down
Loading