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

Fix Clamp in SimTracksters #3

Open
wants to merge 245 commits into
base: MultiCluster_to_Trackster_120
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
245 commits
Select commit Hold shift + click to select a range
d60f967
moving DataFormats/RecoCandidate/interface/TrackAssociation.h -> SimD…
davidlange6 Mar 16, 2021
bf1efcb
add missing dependencies
davidlange6 Mar 16, 2021
cc84fcf
Merge branch 'master' into dl210316rc
davidlange6 Mar 22, 2021
62fe7a4
fix dependencies
davidlange6 Mar 31, 2021
9fd7093
fix more buildfiles
davidlange6 Mar 31, 2021
03f104b
new_samples
sharmaaash Apr 2, 2021
8ee645c
new_samples
sharmaaash Apr 2, 2021
ea7bf47
use assemblies
ianna Apr 6, 2021
6c43f82
clean up
ianna Apr 6, 2021
0c81ac4
code format
ianna Apr 6, 2021
4ce5e38
fix extrusions in Ecal Barrel
ianna Apr 6, 2021
1f27570
cleanup
ianna Apr 6, 2021
6fa446d
fix clang warnings and address comments
ianna Apr 7, 2021
9d48ceb
code format
ianna Apr 7, 2021
64e8872
adding missing dep on SimDataFormats/TrackingAnalysis
davidlange6 Apr 9, 2021
5e8b23b
new EtaBToJpsiJpsi fragment at 14 TeV + inclusion in workflow
vjmastra Apr 9, 2021
0503979
Use HFSignalAsymmetry for HF cleaning in PF.
hatakeyamak Apr 9, 2021
7a251cc
new_samplesUpdated
sharmaaash Apr 10, 2021
94ed391
Changing the proton propagator to the Optical Function method
mundim Apr 12, 2021
2efa7db
fix conditions dumping for specific tags
akhukhun Apr 12, 2021
ea59118
updated
sharmaaash Apr 12, 2021
6ec27ec
Delete QQH1352T_14TeV_TuneCP5_cfi.py
sharmaaash Apr 12, 2021
e26410a
Delete QQH1352T_14TeV_TuneCUETP8M1_cfi.py
sharmaaash Apr 12, 2021
59487bb
Delete TTbarLepton_14TeV_TuneCUETP8M1_cfi.py
sharmaaash Apr 12, 2021
d1f648f
Remove deprecated usage of isnan or isinf
perrotta Apr 13, 2021
cef9184
Fix ESHandle in RecoParticleFlow and Validation package
ebrondol Apr 9, 2021
3ec4c05
Fix ESHandle in HGCalRecHitProducer and HGCalUncalibRecHitProducer
ebrondol Apr 12, 2021
4672d69
Fix ESHandle in HGCalLayerClusterProducer
ebrondol Apr 12, 2021
1b76ab5
Fix ESHandle in HGCalRecAlgos
ebrondol Apr 12, 2021
250636a
Fix ESHandle in RecoHGCal
ebrondol Apr 12, 2021
2dab9bb
Code format
ebrondol Apr 12, 2021
9bbcd97
add endcaps electronValidation in Phase2
archiron Apr 13, 2021
aecf28e
add endcaps electronValidation in Phase2, remove unused cout & correc…
archiron Apr 13, 2021
51ca841
HGCalTrackCollectionProducer was already fixed
ebrondol Apr 13, 2021
8574892
add endcaps electronValidation in Phase2
archiron Apr 13, 2021
4c08b82
Further cleaning
perrotta Apr 13, 2021
ed36159
remove inclusion in workflow to avoid conflict with other PRs
vjmastra Apr 13, 2021
bd779ba
rename file (_forSTEAM removed)
vjmastra Apr 13, 2021
668d046
remove old file
vjmastra Apr 13, 2021
df7e292
remove an unreachable line of code
perrotta Apr 14, 2021
3053304
Apply suggestions from code review
ebrondol Apr 14, 2021
1dae7ae
Apply further suggestions from code review
ebrondol Apr 14, 2021
2705b10
Code format mostly
ebrondol Apr 14, 2021
5e57a48
re-introduce IORawData/CSCCommissioning module to convert CSC Local D…
barvic Apr 15, 2021
1d646ba
code-checks and code-format applied
barvic Apr 15, 2021
e1fda72
Merge branch 'master' into dl210316rc
davidlange6 Apr 16, 2021
bb6c584
Fix ESHandle for different HGCalGeo
ebrondol Apr 16, 2021
2885777
Fix ESHandle for HGCalDDDConstants using Geom
ebrondol Apr 16, 2021
b89c1b1
use HFSignalAsymmetry enum
hatakeyamak Apr 17, 2021
dbbdb3b
Add customize2021. Put HBHE flags explicitly out of the game.
hatakeyamak Apr 17, 2021
fe0d4fb
Remove dead code from Mixing2DB
makortel Sep 25, 2020
d21532a
Clean includes in HGCalShowerShapeHelper
guitargeek Apr 18, 2021
45f5bec
Move PFClusterWidthAlgo to CommonTools/ParticleFlow
guitargeek Apr 18, 2021
7521e3f
speedup MTV and clusterAssoc
VinInn Apr 18, 2021
dbaf8b4
Add missing include in SCEnergyCorrectorProducer
guitargeek Apr 18, 2021
10e7953
more speed
VinInn Apr 18, 2021
0d5cab0
code format
VinInn Apr 18, 2021
6044c2e
simplify
VinInn Apr 18, 2021
df1b086
add comment to remind to reserve when it will be possible
VinInn Apr 19, 2021
c7c1668
code checks AND format
VinInn Apr 19, 2021
c75d0d0
Merge branch 'master' into dl210316rc
davidlange6 Apr 19, 2021
b867dd5
fix order in tuple
VinInn Apr 19, 2021
d0efade
code format
VinInn Apr 19, 2021
9530caa
Fix HGCalRecHitValidation
ebrondol Apr 19, 2021
b09dcbf
Minor changes in the configs removing uneeded loads in view of the ne…
mundim Apr 20, 2021
6145382
Add a new testing code and rearrange some of the files
Apr 20, 2021
8fdeed6
Migrate most of MixingModule and PreMixingModule to EventSetup consum…
makortel Sep 26, 2020
7f1c3b1
Code checks
makortel Oct 7, 2020
b43d974
Code check
Apr 20, 2021
102f635
Add a macro for plots
Apr 20, 2021
8f5bca9
Code check
Apr 20, 2021
b475b60
Update validation scripts to do validation of V15 geometry
Apr 20, 2021
4e69386
Update template and gen errors for geometries with 3D pixels
Apr 20, 2021
436a934
add new resolution plots and fix range
sroychow Apr 20, 2021
45e79cc
add standalone modules for monitoring and validation phase2OTrechits
sroychow Apr 20, 2021
1611ce3
code format
sroychow Apr 20, 2021
8385c0c
Merge pull request #33405 from CTPPS/OptFcnPropagation
cmsbuild Apr 21, 2021
d37cc89
add missing dependencies
davidlange6 Apr 21, 2021
2583163
Merge pull request #33418 from perrotta/removeLastIsNans
cmsbuild Apr 21, 2021
bc8b5d4
address comments on the PR
sroychow Apr 21, 2021
201feb7
Merge pull request #33481 from bsunanda/Phase2-hgx281z
cmsbuild Apr 21, 2021
b6b0ed6
Merge pull request #33477 from bsunanda/run3-hcx296
cmsbuild Apr 21, 2021
df787a9
fix plots
jan-kaspar Apr 21, 2021
3608efe
CConsolidate CSCTP test configurations
Apr 21, 2021
0aa4204
Remove old (test) constructors. All testing is done on data or MC wit…
Apr 21, 2021
ec7b723
Remove CLCT-centric LCT construction, which was never designed to be …
Apr 21, 2021
8d2fab7
contemplate charge conjugation in decay products too
rmanzoni Apr 21, 2021
4f8bc32
Merge pull request #33489 from davidlange6/dl210421
cmsbuild Apr 21, 2021
b218083
Merge pull request #33339 from ianna/dd4hep-ecal-barrel-use-of-assebm…
cmsbuild Apr 21, 2021
c1aedd1
Change pixel CPE template reco's to use LA value from DB in case of t…
OzAmram Apr 21, 2021
3f2f8ce
code checks
rmanzoni Apr 21, 2021
f27884f
Update HLT configs to match new pixel CPE parameters
OzAmram Apr 21, 2021
c0c9c58
update other modules to latest syntax of gethandle and esdata
sroychow Apr 21, 2021
b94fb38
refactorize, modernize
VinInn Apr 22, 2021
ec60154
more modern
VinInn Apr 22, 2021
6fe3e99
Displaced muon with new parameters for the Phase2 L1 tracker studies
rgoldouz Apr 22, 2021
ca7a979
Merge pull request #33484 from dildick/CMSSW_12_0_X_2021-04-19-2300-r…
cmsbuild Apr 22, 2021
1f5f009
back to the messy include
VinInn Apr 22, 2021
44e08c9
back to the messy include
VinInn Apr 22, 2021
676c565
bug fix for pixels at the edge
fabferro Apr 22, 2021
dbfc9d5
Update HLT customisation function name to refer to PR number
OzAmram Apr 22, 2021
b4bb14f
Merge pull request #33458 from guitargeek/RecoEgamma_RecoParticleFlow_1
cmsbuild Apr 22, 2021
cde3ded
Introduced support of frontier Key for private caching
ggovi Apr 22, 2021
b8a6607
added const
civanch Apr 22, 2021
b02a568
add ECAL TPG double weight tags and remove GEMELMapRcd from GTs
francescobrivio Apr 22, 2021
81676a1
Merge pull request #33506 from civanch/added_forgotten_const
cmsbuild Apr 23, 2021
0152802
Merge pull request #33490 from CTPPS/pps_fix_plots
cmsbuild Apr 23, 2021
59d4596
Merge pull request #33462 from VinInn/SpeedupMTV
cmsbuild Apr 23, 2021
4fd6d45
Add Ecal monitoring elements for 5BX
hftsoi Apr 23, 2021
9ba1f5b
Displaced muon with new parameters for the Phase2 L1 tracker studies …
rgoldouz Apr 23, 2021
d6979c5
fix format
hftsoi Apr 23, 2021
f18acf0
Merge pull request #33503 from fabferro/ppsChargeShareBugFix2
cmsbuild Apr 23, 2021
50f5fd4
Merge pull request #33507 from francescobrivio/alca-EcalTPGdoubleweights
cmsbuild Apr 23, 2021
577520f
Merge pull request #33505 from ggovi/condcore-lumicondforhlt-6-120X
cmsbuild Apr 23, 2021
8434657
Add new upload conditions script
Dres90 Apr 23, 2021
a0f5a18
Change input collection for genVisTaus
mbluj Apr 23, 2021
2fad785
implement concurrent ExternalLHEProducer technique
SiewYan Apr 23, 2021
6eae1e1
Update WTolNu012Jets_5f_LO_MLM_Madgraph_LHE_13TeV_cff.py
SiewYan Apr 23, 2021
c0c96fb
Phase II ID
jainshilpi Apr 23, 2021
e9afbfd
Load CLCT pre-trigger digis
Apr 15, 2021
dcc1fab
Skeleton code to pack CSC showers
Apr 15, 2021
89d23b6
Save pretriggers
Apr 16, 2021
1b8cdb6
Comments by Slava
Apr 24, 2021
0c38ca4
Merge pull request #33482 from sroychow/phase2OTdqm
cmsbuild Apr 24, 2021
300f39d
Merge pull request #33510 from hftsoi/dqm_for_5bx
cmsbuild Apr 24, 2021
bdee9b1
english consistency
hatakeyamak Apr 25, 2021
06d3416
Single lepton gun card for the Phase2 L1 tracker studies
rgoldouz Apr 26, 2021
94bb0f6
Merge pull request #33186 from davidlange6/dl210316rc
cmsbuild Apr 26, 2021
eaa98c2
Update and rename TTbarLepton_14TeV_TuneCP5_cfi.py to QQToHToTauTau_m…
sharmaaash Apr 26, 2021
b38d60a
Update QQH1252T_14TeV_TuneCP5_cfi.py
sharmaaash Apr 26, 2021
167ad11
Do not apply "no change policy"
mbluj Apr 26, 2021
dce3bc4
Comments by Slava
Apr 26, 2021
cfb6a2a
use deep rather than shallow copy and del/setattr
mbluj Apr 26, 2021
0babdbb
Data formats for showers in the muon system in Run-3
Apr 26, 2021
1bbdbde
Code checks
Apr 26, 2021
1745048
Cleanup CPE ES producers and don't use loc_trk_pred when template rec…
OzAmram Apr 26, 2021
43add03
Merge pull request #33412 from ebrondol/hgcal_fixEventSetup
cmsbuild Apr 26, 2021
defea7d
Remove overlap in for EB in 2 recent Phase2 scenarios D82 and D83
Apr 26, 2021
c255002
Clone genTauJets collections for NanoAOD
mbluj Apr 26, 2021
3103d99
Add copyAndAdd() to Task for easier interplay with Modifier
makortel Apr 23, 2021
3ca6aef
Change the use of ESHandle to ESGetToken
Apr 26, 2021
9e0ec39
Code check
Apr 27, 2021
2242f22
Merge pull request #33421 from archiron/phase2_MiniOAD_modification_V2
cmsbuild Apr 27, 2021
4112ef6
Merge pull request #33516 from SiewYan/from-CMSSW_11_3_0_pre6
cmsbuild Apr 27, 2021
c635404
Merge pull request #33491 from rmanzoni/from-CMSSW_12_0_X_2021-04-19-…
cmsbuild Apr 27, 2021
ecd5092
Merge pull request #33511 from Dres90/uploader_v2_script
cmsbuild Apr 27, 2021
9f72166
rename cfipython name cscRecHitDProducer, replace EDProducer with clo…
jeongeun Apr 27, 2021
6b370e3
drop type specifications in cscRecHitD_cfi
jeongeun Apr 27, 2021
4e301e5
add support for zstd root output files
davidlange6 Apr 27, 2021
34fc074
format changes
davidlange6 Apr 27, 2021
305384e
Merge pull request #33515 from makortel/taskCopyAndAdd
cmsbuild Apr 27, 2021
4a20068
Merge pull request #33411 from akhukhun/fixHcalTagDumping
cmsbuild Apr 27, 2021
c0ad10d
Introduce ESGetToken in all classes in Validation/HGCalValidation/test
Apr 27, 2021
ef0603a
New LHE filter
Apr 27, 2021
cb9283c
Code Check
Apr 27, 2021
906c5cc
drop type spec
jeongeun Apr 27, 2021
4a943b0
update1
jeongeun Apr 27, 2021
752a113
Fix for clang compilation warning for FileReaderDCC.cc
barvic Apr 27, 2021
82ff50a
Use only 1 thread when testing EventProcessor
Dr15Jones Apr 27, 2021
2e93bb5
Throw on missing file in ChainEvent, revive unit tests that would hav…
Apr 27, 2021
b3712fd
formatting
Apr 27, 2021
32d5a10
Merge pull request #33522 from cms-tau-pog/CMSSW_11_3_X_tau-pog_genPa…
cmsbuild Apr 28, 2021
a188477
Merge pull request #33549 from Dr15Jones/stopExtraThreadsInTests
cmsbuild Apr 28, 2021
114bc7f
Update dict definiton package mapping for AssociationMap/TrackingPart…
smuzaffar Apr 28, 2021
e2761a7
remove deprecated parameter CSCStripClusterSize in CSCRecHitDProducer
jeongeun Apr 28, 2021
84df07c
rename customization
jeongeun Apr 28, 2021
84f3dc2
remove validation util header
sroychow Apr 28, 2021
c3d37b3
fix typo
jeongeun Apr 28, 2021
3238520
Provide access to HLTPathStatus in TriggerResultsFilter
Apr 27, 2021
5c5a2b8
clean out python2 tests
davidlange6 Apr 28, 2021
3a563aa
move uproot scripts to python3
davidlange6 Apr 28, 2021
9f77c3d
Merge pull request #33444 from dildick/from-CMSSW_11_3_X_2021-04-15-1…
cmsbuild Apr 28, 2021
2339898
Merge pull request #33446 from dildick/from-CMSSW_11_3_X_2021-04-14-2…
cmsbuild Apr 28, 2021
13aea0f
Merge pull request #33495 from OzAmram/use_LA_for_template_reco_failures
cmsbuild Apr 28, 2021
cc325b9
Autodetect if a GPU can be used with CMSSW
fwyzard Apr 28, 2021
cfa9d0a
fix customization
jeongeun Apr 28, 2021
eac1c82
Merge pull request #33437 from barvic/IORawData_CSCCommissioning_rest…
cmsbuild Apr 28, 2021
6d3a98b
Merge branch 'master' into recolocalmuon113X
jeongeun Apr 28, 2021
bcb00c3
displaced muon card name is changed and an independent card is added …
rgoldouz Apr 28, 2021
07bfb56
Merge pull request #33557 from sroychow/fixdependency
cmsbuild Apr 28, 2021
c575859
Merge pull request #33540 from bsunanda/Run4-hgx282X
cmsbuild Apr 28, 2021
f3291f0
Merge pull request #33508 from OzAmram/update_3D_templates
cmsbuild Apr 28, 2021
f1904b6
Merge pull request #33518 from jainshilpi/PhaseIIID
cmsbuild Apr 28, 2021
398fb5c
Rename QQToHToTauTau_mh125_TuneCP5_14TeV_pythia8_cfi.py to TTbarToDil…
sharmaaash Apr 28, 2021
66a3760
Rename QQH1252T_14TeV_TuneCP5_cfi.py to QQToHToTauTau_mh125_TuneCP5_1…
sharmaaash Apr 28, 2021
1436944
Rename class so we can reuse it for the GEM-CSC trigger and ME11 TMB
Apr 28, 2021
6f10501
LUTs for GEM-CSC ILT. Organize all LUTs in subdirs
Apr 28, 2021
9610c2c
Disable DD4hep workflow 11634.911
cvuosalo Apr 28, 2021
a3a0e75
New helper classes
Apr 28, 2021
164715f
Code format
Apr 28, 2021
399dd9e
Merge pull request #33409 from sharmaaash/master
cmsbuild Apr 28, 2021
8a5a9f5
Merge pull request #33539 from davidlange6/dl210427
cmsbuild Apr 28, 2021
9b1824f
Merge pull request #33556 from smuzaffar/fix-dict-def-AssociationMap
cmsbuild Apr 28, 2021
8de209a
Merge pull request #33561 from fwyzard/rework_cudaIsEnabled
cmsbuild Apr 29, 2021
b511b8b
Fix AddFlag.
hatakeyamak Apr 29, 2021
f2a33b5
Merge pull request #33568 from cvuosalo/disable-dd4hep-wf
cmsbuild Apr 29, 2021
f804491
Rename EtaBToJpsiJpsi_14TeV_TuneCP5_cfi.py to EtaBToJpsiJpsi_14TeV_Tu…
vjmastra Apr 29, 2021
88f113d
remove recomp histos from miniAOD Validation
archiron Apr 29, 2021
2720cd0
fix indentation in customizeHLTforCMSSW
jeongeun Apr 29, 2021
9c58831
remove recomp histos from miniAOD Validation after patch
archiron Apr 29, 2021
6fd33f5
modernize strings
Apr 29, 2021
bb7be56
Correct cfg's to test phase2 geometries
Apr 29, 2021
47a46b5
Introduce _hcalCustomsRun3.
hatakeyamak Apr 29, 2021
10e7377
Introduce _hcalCustomsRun3 part 2.
hatakeyamak Apr 29, 2021
22adb55
Adding the bug fix for gen production err from fragment
ats2008 Apr 29, 2021
b6e21ac
Old file is removed
rgoldouz Apr 29, 2021
ae8dc9b
Prepare a simple example to test extruded polygon implementation in d…
Apr 26, 2021
a26f457
Code check
Apr 26, 2021
ff6d89c
Correct cfg's
Apr 29, 2021
b80ddf6
Merge pull request #33550 from dan131riley/FWLite-chain-tfile-open
cmsbuild Apr 29, 2021
37bbf1c
Merge pull request #33575 from archiron/remove_recomp_histos_V1
cmsbuild Apr 29, 2021
033cfc8
Update cmsswSequenceInfo.py
jfernan2 Apr 29, 2021
a550b8b
Merge pull request #33386 from vjmastra/etab-relval-2
cmsbuild Apr 30, 2021
ed23e4d
Code Format
ats2008 Apr 30, 2021
bfeb04b
Adding the moduleLabel as a configurable parameter
ats2008 Apr 30, 2021
d5801d3
Merge pull request #33520 from hatakeyamak/HFSignalAsymmetryInPF
cmsbuild Apr 30, 2021
87a7cf9
Merge pull request #31697 from makortel/esconsumesMixingModule
cmsbuild Apr 30, 2021
6c9e4f8
Merge pull request #33560 from davidlange6/dl210428
cmsbuild Apr 30, 2021
d4e40f9
Implementing Alexander's comments
Apr 30, 2021
fc8d203
code-checks and code-format
Apr 30, 2021
58a58d3
Deleting obsolete file and modifying MinInvMass value
Apr 30, 2021
f2b58de
remove dead assignments and useless computations in ZtoMMEventSelector
perrotta Apr 30, 2021
2cacea8
Merge pull request #33543 from jeongeun/recolocalmuon113X
cmsbuild Apr 30, 2021
3341c97
Initializing parameters in the plugin
Apr 30, 2021
95e8309
Split tauMC sequence and use genTauJet modules for nano coherently in…
mbluj Apr 30, 2021
f0aedcd
Single -> Double Names are updated
rgoldouz Apr 30, 2021
b262926
Remove otherstep totally
jfernan2 Apr 30, 2021
f5fb713
Merge pull request #33584 from perrotta/removeDeadAssignmentsInZtoMME…
cmsbuild Apr 30, 2021
f6cee6f
Merge pull request #33581 from ats2008/AllDaughterDecayFilter
cmsbuild Apr 30, 2021
f6e2225
Merge pull request #33529 from bsunanda/Phase2-hgx282
cmsbuild Apr 30, 2021
2ed4318
FlatRandomPt -> DoubleXFlatPt Names are updated
rgoldouz Apr 30, 2021
6a24449
Merge pull request #33570 from dildick/from-CMSSW_12_0_X_2021-04-28-1…
cmsbuild Apr 30, 2021
46a73b7
Merge pull request #33530 from bsunanda/Run4-hgx282
cmsbuild Apr 30, 2021
ad02ff8
Roll back: use explicit symbols instead of string-based access to them
mbluj Apr 30, 2021
44a0df9
fix handling of air/iron in DD4hep MF construction
namapane Apr 30, 2021
8b08f46
Merge pull request #33541 from gsorrentino18/gs-lhefilterv2
cmsbuild Apr 30, 2021
9cd0d54
Merge pull request #33559 from stahlleiton/TriggerResultsFilter_CMSSW…
cmsbuild May 1, 2021
8b8b056
Merge pull request #33499 from rgoldouz/New-Displaced-Muon
cmsbuild May 1, 2021
a2a781f
Merge pull request #33579 from jfernan2/patch-3
cmsbuild May 1, 2021
ebeed0b
Merge pull request #33576 from bsunanda/Run3-gex72
cmsbuild May 1, 2021
bfed3b5
Merge pull request #33593 from namapane/MFGeometry_isIron_fix
cmsbuild May 1, 2021
b752994
Merge pull request #33586 from cms-tau-pog/CMSSW_11_3_X_tau-pog_genPa…
cmsbuild May 1, 2021
c5d22d9
Merge pull request #33527 from cms-tau-pog/CMSSW_11_3_X_tau-pog_tauID…
cmsbuild May 1, 2021
6da84f7
Merge pull request #33537 from bsunanda/Phase2-hgx282X
cmsbuild May 3, 2021
62714c9
Fix SimTrackster clamp
felicepantaleo May 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion CalibCalorimetry/HcalAlgos/interface/HcalPulseShapes.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "CalibCalorimetry/HcalAlgos/interface/HcalPulseShape.h"
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Utilities/interface/isFinite.h"
#include "CalibFormats/HcalObjects/interface/HcalDbService.h"
#include "CalibFormats/HcalObjects/interface/HcalDbRecord.h"

Expand Down Expand Up @@ -62,7 +63,7 @@ class HcalPulseShapes {
for (unsigned i = 0; i < 2 * nbin - 1; ++i) {
for (unsigned j = 0; j < std::min(i + 1, nbin); ++j) {
double tmp = f1(j) * f2(i - j);
if (std::isnan(tmp) or std::isinf(tmp))
if (edm::isNotFinite(tmp))
continue;
result[i] += tmp;
}
Expand Down
4 changes: 2 additions & 2 deletions CalibPPS/ESProducers/plugins/PPSPixelTopologyESSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ void PPSPixelTopologyESSource::fillDescriptions(edm::ConfigurationDescriptions&
desc.add<double>("PitchSimX", 100e-3);
desc.add<double>("thickness", 0.23);
desc.add<int>("noOfPixelSimX", 160);
desc.add<int>("noOfPixelSimY", 156);
desc.add<int>("noOfPixels", 160 * 156);
desc.add<int>("noOfPixelSimY", 104);
desc.add<int>("noOfPixels", 160 * 104);
desc.add<double>("simXWidth", 16.6);
desc.add<double>("simYWidth", 16.2);
desc.add<double>("deadEdgeWidth", 200e-3);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
class SiPixelGainCalibrationForHLTService final
: public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTRcd> {
public:
explicit SiPixelGainCalibrationForHLTService(const edm::ParameterSet& conf)
explicit SiPixelGainCalibrationForHLTService(const edm::ParameterSet& conf, edm::ConsumesCollector iC)
: SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTRcd>(
conf){};
~SiPixelGainCalibrationForHLTService() override{};
conf, std::move(iC)){};

void calibrate(
uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int* electron) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ class SiPixelGainCalibrationForHLTSimService
: public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT,
SiPixelGainCalibrationForHLTSimRcd> {
public:
explicit SiPixelGainCalibrationForHLTSimService(const edm::ParameterSet& conf)
explicit SiPixelGainCalibrationForHLTSimService(const edm::ParameterSet& conf, edm::ConsumesCollector iC)
: SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTSimRcd>(
conf){};
~SiPixelGainCalibrationForHLTSimService() override{};
conf, std::move(iC)){};

// column granularity
float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
class SiPixelGainCalibrationOfflineService
: public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd> {
public:
explicit SiPixelGainCalibrationOfflineService(const edm::ParameterSet& conf)
explicit SiPixelGainCalibrationOfflineService(const edm::ParameterSet& conf, edm::ConsumesCollector iC)
: SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd>(
conf){};
~SiPixelGainCalibrationOfflineService() override{};
conf, std::move(iC)){};

// pixel granularity
float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ class SiPixelGainCalibrationOfflineSimService
: public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationOffline,
SiPixelGainCalibrationOfflineSimRcd> {
public:
explicit SiPixelGainCalibrationOfflineSimService(const edm::ParameterSet& conf)
: SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineSimRcd>(
conf){};
~SiPixelGainCalibrationOfflineSimService() override{};
explicit SiPixelGainCalibrationOfflineSimService(const edm::ParameterSet& conf, edm::ConsumesCollector iC)
: SiPixelGainCalibrationServicePayloadGetter(conf, iC){};

// pixel granularity
float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
class SiPixelGainCalibrationService
: public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibration, SiPixelGainCalibrationRcd> {
public:
explicit SiPixelGainCalibrationService(const edm::ParameterSet& conf)
: SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibration, SiPixelGainCalibrationRcd>(conf){};
~SiPixelGainCalibrationService() override{};
explicit SiPixelGainCalibrationService(const edm::ParameterSet& conf, edm::ConsumesCollector iC)
: SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibration, SiPixelGainCalibrationRcd>(conf,
std::move(iC)){};

// pixel granularity
float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@

// Framework
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/ESGetToken.h"
#include "FWCore/Utilities/interface/Exception.h"

// Abstract base class provides common interface to different payload getters
Expand Down Expand Up @@ -57,8 +58,7 @@ class SiPixelGainCalibrationServiceBase {
template <class thePayloadObject, class theDBRecordType>
class SiPixelGainCalibrationServicePayloadGetter : public SiPixelGainCalibrationServiceBase {
public:
explicit SiPixelGainCalibrationServicePayloadGetter(const edm::ParameterSet& conf);
~SiPixelGainCalibrationServicePayloadGetter() override{};
explicit SiPixelGainCalibrationServicePayloadGetter(const edm::ParameterSet& conf, edm::ConsumesCollector iC);

//Abstract methods
float getGain(const uint32_t& detID, const int& col, const int& row) override = 0;
Expand Down Expand Up @@ -94,7 +94,8 @@ class SiPixelGainCalibrationServicePayloadGetter : public SiPixelGainCalibration

edm::ParameterSet conf_;
bool ESetupInit_;
edm::ESHandle<thePayloadObject> ped;
const edm::ESGetToken<thePayloadObject, theDBRecordType> pedToken_;
const thePayloadObject* ped = nullptr;
int numberOfRowsAveragedOver_;
double gainLow_;
double gainHigh_;
Expand Down Expand Up @@ -123,8 +124,8 @@ class SiPixelGainCalibrationServicePayloadGetter : public SiPixelGainCalibration

template <class thePayloadObject, class theDBRecordType>
SiPixelGainCalibrationServicePayloadGetter<thePayloadObject, theDBRecordType>::SiPixelGainCalibrationServicePayloadGetter(
const edm::ParameterSet& conf)
: conf_(conf), ESetupInit_(false) {
const edm::ParameterSet& conf, edm::ConsumesCollector iC)
: conf_(conf), ESetupInit_(false), pedToken_(iC.esConsumes()) {
edm::LogInfo("SiPixelGainCalibrationServicePayloadGetter")
<< "[SiPixelGainCalibrationServicePayloadGetter::SiPixelGainCalibrationServicePayloadGetter]";
// Initialize cache variables
Expand All @@ -145,7 +146,7 @@ SiPixelGainCalibrationServicePayloadGetter<thePayloadObject, theDBRecordType>::S
template <class thePayloadObject, class theDBRecordType>
void SiPixelGainCalibrationServicePayloadGetter<thePayloadObject, theDBRecordType>::setESObjects(
const edm::EventSetup& es) {
es.get<theDBRecordType>().get(ped);
ped = &es.getData(pedToken_);
// ped->initialize(); moved to cond infrastructure
numberOfRowsAveragedOver_ = ped->getNumberOfRowsToAverageOver();
ESetupInit_ = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace cms {
: conf_(conf),
trackerGeomToken_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord>()),
trackerGeomTokenBeginRun_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord, edm::Transition::BeginRun>()),
SiPixelGainCalibrationForHLTService_(conf),
SiPixelGainCalibrationForHLTService_(conf, consumesCollector()),
filename_(conf.getParameter<std::string>("fileName")) {}

void SiPixelFakeGainForHLTReader::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace cms {
SiPixelFakeGainOfflineReader::SiPixelFakeGainOfflineReader(const edm::ParameterSet& conf)
: conf_(conf),
SiPixelGainCalibrationOfflineService_(conf),
SiPixelGainCalibrationOfflineService_(conf, consumesCollector()),
trackerGeomToken_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord>()),
trackerGeomTokenBeginRun_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord, edm::Transition::BeginRun>()),
filename_(conf.getParameter<std::string>("fileName")) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace cms {
: conf_(conf),
trackerGeomToken_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord>()),
trackerGeomTokenBeginRun_(esConsumes<TrackerGeometry, TrackerDigiGeometryRecord, edm::Transition::BeginRun>()),
SiPixelGainCalibrationService_(conf),
SiPixelGainCalibrationService_(conf, consumesCollector()),
filename_(conf.getParameter<std::string>("fileName")) {}

void SiPixelFakeGainReader::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/RecoCandidate/interface/TrackAssociation.h"
#include "SimDataFormats/Associations/interface/TrackAssociation.h"

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef PFClusterShapeProducer_PFClusterWidthAlgo_H
#define PFClusterShapeProducer_PFClusterWidthAlgo_H
#ifndef CommonTools_ParticleFlow_PFClusterWidthAlgo_H
#define CommonTools_ParticleFlow_PFClusterWidthAlgo_H
#include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "RecoParticleFlow/PFClusterTools/interface/PFClusterWidthAlgo.h"
#include "CommonTools/ParticleFlow/interface/PFClusterWidthAlgo.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHitFraction.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHitFwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHit.h"
Expand Down
1 change: 1 addition & 0 deletions CommonTools/RecoAlgos/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<use name="TrackingTools/IPTools"/>
<use name="TrackingTools/TransientTrack"/>
<use name="Geometry/TrackerGeometryBuilder"/>
<use name="SimDataFormats/TrackingAnalysis"/>
<use name="fastjet"/>
<export>
<lib name="1"/>
Expand Down
1 change: 1 addition & 0 deletions CondCore/DBOutputService/interface/OnlineDBOutputService.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ namespace cond {
std::string m_omsServiceUrl;
std::string m_lastLumiFile;
std::string m_preLoadConnectionString;
std::string m_frontierKey;
bool m_debug;

}; //OnlineDBOutputService
Expand Down
15 changes: 14 additions & 1 deletion CondCore/DBOutputService/src/OnlineDBOutputService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,18 @@ cond::service::OnlineDBOutputService::OnlineDBOutputService(const edm::Parameter
m_latencyInLumisections(iConfig.getUntrackedParameter<unsigned int>("latency", 1)),
m_omsServiceUrl(iConfig.getUntrackedParameter<std::string>("omsServiceUrl", "")),
m_preLoadConnectionString(iConfig.getUntrackedParameter<std::string>("preLoadConnectionString", "")),
m_frontierKey(""),
m_debug(iConfig.getUntrackedParameter<bool>("debugLogging", false)) {
if (m_omsServiceUrl.empty()) {
m_lastLumiFile = iConfig.getUntrackedParameter<std::string>("lastLumiFile", "");
}
std::string frontierKeyFilePath(iConfig.getUntrackedParameter<std::string>("frontierKeyFilePath", ""));
if (!frontierKeyFilePath.empty()) {
std::ifstream frontierKeyFile(frontierKeyFilePath);
if (!frontierKeyFile)
throw Exception(std::string("Can't access frontierKey file ") + frontierKeyFilePath);
frontierKeyFile >> m_frontierKey;
}
}

cond::service::OnlineDBOutputService::~OnlineDBOutputService() {}
Expand Down Expand Up @@ -124,5 +132,10 @@ cond::Iov_t cond::service::OnlineDBOutputService::preLoadIov(const std::string&
}

cond::persistency::Session cond::service::OnlineDBOutputService::getReadOnlyCache(cond::Time_t targetTime) {
return PoolDBOutputService::newReadOnlySession(m_preLoadConnectionString, std::to_string(targetTime));
std::stringstream transId;
transId << targetTime;
if (!m_frontierKey.empty()) {
transId << "_" << m_frontierKey;
}
return PoolDBOutputService::newReadOnlySession(m_preLoadConnectionString, transId.str());
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
messageLevel = cms.untracked.int32(1),
authenticationPath = cms.untracked.string('.')
),
#timetype = cms.untracked.string('runnumber'),
jobName = cms.untracked.string("TestLumiBasedUpdate"),
connect = cms.string('oracle://cms_orcoff_prep/CMS_CONDITIONS'),
preLoadConnectionString = cms.untracked.string('frontier://FrontierPrep/CMS_CONDITIONS'),
runNumber = cms.untracked.uint64(options.runNumber),
#lastLumiFile = cms.untracked.string('last_lumi.txt'),
#frontierKeyFilePath = cms.untracked.string('frontier.key'),
writeTransactionDelay = cms.untracked.uint32(options.transDelay),
autoCommit = cms.untracked.bool(True),
saveLogsOnDB = cms.untracked.bool(True),
Expand Down
10 changes: 9 additions & 1 deletion CondCore/ESSources/plugins/CondDBESSource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ namespace {
CondDBESSource::CondDBESSource(const edm::ParameterSet& iConfig)
: m_connection(),
m_connectionString(""),
m_frontierKey(""),
m_lastRun(0), // for the stat
m_lastLumi(0), // for the stat
m_policy(NOREFRESH),
Expand Down Expand Up @@ -139,6 +140,11 @@ CondDBESSource::CondDBESSource(const edm::ParameterSet& iConfig)
} else if (iConfig.exists("connect")) // default connection string
m_connectionString = iConfig.getParameter<std::string>("connect");

// frontier key
if (iConfig.exists("frontierKey")) {
m_frontierKey = iConfig.getParameter<std::string>("frontierKey");
}

// snapshot
boost::posix_time::ptime snapshotTime;
if (iConfig.exists("snapshotTime")) {
Expand Down Expand Up @@ -453,8 +459,10 @@ void CondDBESSource::setIntervalFor(const EventSetupRecordKey& iKey,
<< "Checking if the session must be closed and re-opened for getting correct conditions"
<< "; from CondDBESSource::setIntervalFor";
std::stringstream transId;
//transId << "long" << m_lastRun;
transId << lastTime;
if (!m_frontierKey.empty()) {
transId << "_" << m_frontierKey;
}
std::string connStr = m_connectionString;
std::pair<std::string, std::string> tagParams = cond::persistency::parseTag(tcIter->second.tagName());
if (!tagParams.second.empty())
Expand Down
1 change: 1 addition & 0 deletions CondCore/ESSources/plugins/CondDBESSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class CondDBESSource : public edm::eventsetup::DataProxyProvider, public edm::Ev

cond::persistency::ConnectionPool m_connection;
std::string m_connectionString;
std::string m_frontierKey;

// Container of DataProxy, implemented as multi-map keyed by records
ProxyMap m_proxies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
DBParameters = CondDBParameters,
connect = cms.string( options.connectionString ),
snapshotTime = cms.string( options.snapshotTime ),
frontierKey = cms.string('abcdefghijklmnopqrstuvwxyz0123456789'),
toGet = cms.VPSet(cms.PSet(
record = cms.string('BeamSpotObjectsRcd'),
tag = cms.string( options.tag ),
Expand Down
Loading