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_18-04 #6

Open
wants to merge 1,210 commits into
base: GEMRecHits-Eff
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1210 commits
Select commit Hold shift + click to select a range
69cedae
bug fix CSCTriggerPrimitivesBuilder
jshlee May 6, 2014
bf806ca
Merge pull request #146 from jshlee/CMSSW_6_2_X_SLHC
May 6, 2014
3324b48
missing else
May 6, 2014
a64764e
Merge pull request #193 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 6, 2014
d0dc16f
Merge pull request #3660 from fratnikov/shashlik-geometry-v6
cmsbuild May 6, 2014
19e8d5a
various updates
May 6, 2014
42e4ac7
Merge pull request #194 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 7, 2014
06e36b3
rnd number for broken chambers
May 7, 2014
92b9b05
rnd number for broken chambers
May 7, 2014
9c03de8
replace cout by loginfo
May 7, 2014
ce975b7
Merge pull request #147 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
May 7, 2014
c9c125b
Fix duplicate-hits problems appearing on first ring of outer tracker …
rovere May 2, 2014
003d886
update global tag
May 7, 2014
af3eb63
Update MuonME0Digis.cc
May 7, 2014
bb8dab2
Update MuonME0Hits.cc
May 7, 2014
bf75c48
ALCT processors need this
May 7, 2014
0c4d1df
bunch of bugfixes
May 7, 2014
97d381d
Merge branch 'CSC-Trigger-Upgrade-GEM-RPC-forSLHC13_patch2' of github…
May 7, 2014
72c5696
Merge pull request #195 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 7, 2014
defb6d1
Update cscTriggerPrimitiveDigisPostLS3_cfi.py
May 7, 2014
1a3f6ae
Update muonGEMDigis_cfi.py
May 7, 2014
56b277a
Merge pull request #196 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 7, 2014
056f8fc
RPC-CLCT matching in ME31-ME41
May 7, 2014
7ec5e07
Merge branch 'CSC-Trigger-Upgrade-GEM-RPC-forSLHC13_patch2' of github…
May 7, 2014
6d9f100
Merge pull request #197 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 7, 2014
143d9cc
ALCT-RPC type LCTsÃ
May 7, 2014
0fb6100
Merge pull request #198 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 7, 2014
40b1e6b
fix cscTriggerPrimitiveDigisPostLS1_cfi
jshlee May 7, 2014
f296c23
cscTriggerPrimitiveDigisPostLS1_cfi
jshlee May 7, 2014
c5ba854
adding seeds for cust2019
jshlee May 7, 2014
91cb064
Merge pull request #149 from jshlee/CMSSW_6_2_X_SLHC
May 7, 2014
2341be8
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 8, 2014
6232876
Modified eta range in the RZ detector maps
venturia May 8, 2014
acfe0e3
Added average x and average y TProfile in OccupancyPlots EDAnalyzer
venturia May 8, 2014
d038064
Optimized use of the configuration parameters to book the histograms
venturia May 8, 2014
b2332ef
Changed the name of one parameter in the selection PSet and added man…
venturia May 8, 2014
982664a
Improvement in the phase 2 hit occupancy configuration
venturia May 8, 2014
10f936c
Merged hgc_slhc12 from repository PFCal-dev
pfs May 8, 2014
f89900f
Merged hgc-reco-producer from repository vandreev11
pfs May 8, 2014
8dc6eed
Merged CSC-Trigger-Upgrade-GEM-RPC-forSLHC13_patch2 from repository g…
tahuang1991 May 8, 2014
1c5dda9
Merge pull request #3602 from cms-btv-pog/UpdatedJetFlavourStorage_fr…
cmsbuild May 8, 2014
1453e83
Merge pull request #3612 from cms-btv-pog/IVFcleanup-trackJetPt_from-…
cmsbuild May 8, 2014
2189d92
Merge pull request #3695 from mark-grimes/moveTrajectorySeedSLHC
cmsbuild May 8, 2014
3bf0490
Correct shielding structure near ME11 region
May 9, 2014
885cebd
Adding dictionaries for EE digis
pfs May 9, 2014
9a28348
Merge pull request #200 from gem-sw/CMSSW_6_2_X_SLHC
jshlee May 9, 2014
c577b5d
replaced runtime cms::Exception calls with edm::LogError calls
ferencek May 9, 2014
68345ae
added default ghost rescaling factor
ferencek May 9, 2014
0b038f7
fixing the drop in eff at phi ~0
jshlee May 9, 2014
6e7aeda
Merge pull request #150 from jshlee/cscStub-fix-calcGlobalEtaMEMini
jshlee May 9, 2014
afd9f1f
Merge pull request #201 from jshlee/cscStub-fix-calcGlobalEtaMEMini
jshlee May 9, 2014
c4abff4
Adding trivial digitization
pfs May 9, 2014
537ac11
Merge pull request #202 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 9, 2014
84d49d8
In Concellation logic, use correctly the quality of present wire
tahuang1991 May 9, 2014
5cbf944
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 9, 2014
a7ed4ea
Adding HGC digis to event content;
pfs May 9, 2014
fd9011b
added new tagging variables and new version of CombinedSVComputer
pvmulder Dec 17, 2013
90a6474
minor fixes
pvmulder Feb 11, 2014
b0dc933
combined CSVV2+SL tagger
pvmulder Feb 24, 2014
97e7463
changes needed or combined CSVV2_SL tagger
pvmulder Feb 24, 2014
31e7012
if-else instead of ifs and removing the unneeded exception
pvmulder Mar 3, 2014
c6b2ed3
use selectedTracks, trackQuality 'any', define trackJetPt, use std::c…
pvmulder Apr 17, 2014
66c3ecf
updated definition of track-based pt
pvmulder May 5, 2014
f2820b4
fix double usage of seeding track
arizzi May 7, 2014
7b465f7
modify configuration files in such a way that standard CSV is not aff…
pvmulder May 9, 2014
e1b8238
unresolved merge conflict fixed
pvmulder May 9, 2014
2e8fcba
less error-prone implementation
pvmulder May 9, 2014
6098960
Merge pull request #151 from tahuang1991/Tao-CSC-Trigger-Upgrade-patch2
May 9, 2014
a5d8f5c
alignment fixed
pvmulder May 9, 2014
5cf8384
Merge pull request #203 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 10, 2014
8602ef6
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 10, 2014
17f0829
Added new macro to plot FPIX modules XY position
venturia May 10, 2014
f1e7179
Added new selections for the phase 2 deetctor
venturia May 10, 2014
e2f227d
Added new selections to the analysis cfg
venturia May 10, 2014
190fc79
replacing repeating code blocks with function calls
ferencek May 10, 2014
efebdda
Remove Duplicate SupplyTube Volume
atricomi May 11, 2014
7193df6
redefining var.multiplicity=0
pvmulder May 12, 2014
77944aa
hgcal rechits config
vandreev11 May 12, 2014
20a366e
hgcal rechits config
vandreev11 May 12, 2014
0f36141
hgcal reco algos
vandreev11 May 12, 2014
21f0821
hgcal reco producer
vandreev11 May 12, 2014
dfd2be3
Backport of #3671 to SLHC (Cut based anti electron disciminator for taus
jpavel May 12, 2014
94fc729
Adding configuration to base digitizer and random number generator
pfs May 13, 2014
cbd1d88
bugfix
May 13, 2014
283314a
Merge remote-tracking branch 'pr/3790' into fixHGCalConfig
May 13, 2014
5c6350e
Merge pull request #204 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 13, 2014
6479a79
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 13, 2014
cd4dcde
Added Pedro's configuration lines for HGCal digitisation
May 13, 2014
330a804
Fix the assignment to inner and outer rings of the blades of the upgr…
venturia May 13, 2014
a6ad366
Merge pull request #3630 from bsunanda/Phase1-Gem01
cmsbuild May 13, 2014
6cc8fce
fix for case when double phi segmentation does not start until HF
kpedro88 May 13, 2014
90bccd9
convert hcal ieta to CT ieta in constituents map
kpedro88 May 13, 2014
b149b63
Merge pull request #3839 from mark-grimes/fixHGCalConfig
cmsbuild May 14, 2014
aa40fef
Adding getters for private variables
pfs May 14, 2014
7ca6f0d
Merge pull request #3713 from cms-btv-pog/BTagDQM620SLHCx
cmsbuild May 14, 2014
376813c
Merge pull request #3677 from lgray/fix_pfrhleak_62XSLHC
cmsbuild May 14, 2014
8105ef9
Merge pull request #3797 from cms-btv-pog/newMVAtaggers_backport_from…
cmsbuild May 14, 2014
dccbf18
Merge pull request #3714 from pozzobon/TrackTrigger_NP_20140506
cmsbuild May 14, 2014
6684d3d
Merge pull request #3787 from cms-btv-pog/JetFlavourLogError_from-CMS…
cmsbuild May 14, 2014
db7dd66
Merge pull request #3718 from calabria/FixesForSLHC12
cmsbuild May 14, 2014
7f72fea
Fix the phase of the FPIX outer ring modules
venturia May 14, 2014
7b123f7
New scenario for Fast timing
ianna May 14, 2014
9b024c0
Fixing getter
pfs May 14, 2014
dd916e9
Merged fast-timing-scenario from repository ianna
May 14, 2014
52d76f6
Complete the scenario with Fast Time after Yanas changes
May 14, 2014
f83fa6c
Merge pull request #3800 from venturia/dpganalysis_sistriptools-62x-slhc
cmsbuild May 14, 2014
95d4990
Merge pull request #3715 from rovere/fix-duplicate-hits-outer-tracker
cmsbuild May 14, 2014
ab8d6f4
Merge pull request #3808 from atricomi/Phase1GeoFix
cmsbuild May 14, 2014
f7e1427
Merge pull request #3848 from kpedro88/Phase2-CT7
cmsbuild May 14, 2014
be97fe8
Moving to getModules to retrieve reference
pfs May 14, 2014
b978efc
Removing reference retrieval -> contents should not be modified exter…
pfs May 14, 2014
5056dc8
Adding new cut based discriminator to the tau sequence
jpavel May 13, 2014
8600810
update geometry customs
May 15, 2014
51bed0e
Rename and cleanup PhaseII Muon geometry configurations. Update all r…
ianna May 15, 2014
0c02a9c
Rename and cleanup PhaseII Muon geometry configurations. Update all r…
ianna May 15, 2014
956d660
Rename and cleanup PhaseII Muon geometry configurations. Update all r…
ianna May 15, 2014
007874b
Add ME0 reco in Shashlik scenarios. Include Shashlik reco geometry an…
ianna May 15, 2014
a8568b4
Remove a redundant constructor
May 15, 2014
b24ca1f
Merge pull request #3819 from vandreev11/hgc-reco-producer-2
cmsbuild May 15, 2014
3d0e586
Merge pull request #3865 from PFCal-dev/hgcal_slhc14_sim
cmsbuild May 15, 2014
1125aa0
Merge pull request #3887 from ianna/2023-scenarios-cleanup
cmsbuild May 15, 2014
34f2f45
Merge pull request #3789 from jshlee/cscStub-fix-calcGlobalEtaMEMini
cmsbuild May 15, 2014
52b3d14
Merge pull request #3870 from bsunanda/Phase2-FT03
cmsbuild May 15, 2014
d2bd42c
added option to run from grid files
vciulli May 15, 2014
63269bb
Merge pull request #3890 from bsunanda/Phase2-Shk20
cmsbuild May 15, 2014
f3ef00c
Fix of the phase of the FPIX outer ring modules also for the detid
venturia May 16, 2014
59b1f3f
EE and HEfront layers were being saturated by the HGCalDetId requirem…
pfs May 16, 2014
73aa3a2
add RPC-CSC bending angle determination
May 16, 2014
0e98d31
Moving from "Sim" DetId to final DetId including sub-detector informa…
pfs May 16, 2014
bf17920
Adding realistic thresholds for LSB and setting noise to 0 at this point
pfs May 16, 2014
95ba519
Removing some leftovers from development
pfs May 16, 2014
fece33a
RPC Rotations in RE4/1 and RE3/1
pietverwilligen May 16, 2014
26a02c5
RPC Rotations in RE4/1 and RE3/1
pietverwilligen May 16, 2014
7705213
RPC Rotations in RE4/1 and RE3/1
pietverwilligen May 16, 2014
019622f
Merge pull request #3679 from dnash86/me0segment-errors-bugfix
cmsbuild May 16, 2014
b2aec9a
Merge pull request #3879 from jpavel/SLHC_taus_CutBasedAntiEDiscrimin…
cmsbuild May 16, 2014
6778203
Merged refs/pull/3776/head from repository cms-sw
andersonjacob May 16, 2014
a415ae6
Merge pull request #3904 from pietverwilligen/RPCRotations
cmsbuild May 16, 2014
cefe427
forgotten endl
May 17, 2014
7543639
Merge remote-tracking branch 'gem-cmssw/CSC-Trigger-Upgrade-GEM-RPC-f…
May 17, 2014
c1cd128
forgot ,
May 17, 2014
8a4bf06
Merge pull request #153 from dildick/CSC-Trigger-Upgrade-GEM-RPC-forS…
May 17, 2014
d9bb3a0
Update cscTriggerPrimitiveDigisPostLS3_cfi.py
May 17, 2014
f8768bb
Optimized Module code
May 17, 2014
4521adf
Merge pull request #208 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 17, 2014
84b3d6e
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 17, 2014
214f8b4
update bending angles
May 18, 2014
257e85f
Merge pull request #209 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 18, 2014
71ad820
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 18, 2014
5cd9f17
Merge pull request #3885 from dildick/gem-geometry-customs-update
cmsbuild May 19, 2014
e34a505
Merge pull request #3907 from andersonjacob/MergeFixedGem02
cmsbuild May 19, 2014
f002150
Merge pull request #3912 from bsunanda/Phase2-shk21
cmsbuild May 19, 2014
2c40810
Check for unschedule attribute only, if available.
May 19, 2014
960b6ae
Merge pull request #3921 from venturia/fpix_navigation-allfixed-newdetid
cmsbuild May 19, 2014
51ac1d4
Merge pull request #3901 from PFCal-dev/hgcal_slhc14_sim_detidfix
cmsbuild May 19, 2014
a62344a
Merge pull request #3932 from vadler/62XSLHC-fixMetUncertaintyToolsSc…
cmsbuild May 19, 2014
eff0787
Bug fixes in HGCalDDDConstants and add hooks needed for Reco geometry
May 20, 2014
c09112b
Merge pull request #3940 from bsunanda/Phase2-hgcx1
cmsbuild May 20, 2014
4dac506
bugfix even-odd
May 20, 2014
4170a3e
Merge pull request #155 from dildick/CSC-Trigger-Upgrade-GEM-RPC-forS…
May 20, 2014
910dc18
Merge pull request #210 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 20, 2014
15916ec
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 20, 2014
b96a0d3
fiduciality
May 20, 2014
e745226
Merge pull request #211 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 20, 2014
be827a8
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 20, 2014
739490d
Update cscTriggerPrimitiveDigisPostLS2_cfi.py
jshlee May 20, 2014
aac1647
Merge pull request #212 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-forSL…
jshlee May 20, 2014
22b65f7
Merged CMSSW_6_2_X_SLHC from repository jshlee
jshlee May 20, 2014
df1e8f2
Bug fix for shashlik RECO geometry
May 20, 2014
9bf748a
Merge pull request #3894 from vciulli/powheg_w_grid_62x
aledegano May 21, 2014
e40e127
Merge remote branch 'origin/CMSSW_6_2_X' into CMSSW_7_0_X
cmsbuild May 21, 2014
97ceadd
Include extended pixel in Shashlik no taper scenario.
ianna May 21, 2014
d3d98b1
changed shashlik and hgcal customizations
May 21, 2014
b8a885b
Merge pull request #3943 from fratnikov/shashlyk-geom-bug-fix-1
cmsbuild May 21, 2014
d3cac19
Merge pull request #3945 from ianna/extended-pixel-in-shashlik-scenario
cmsbuild May 21, 2014
2331a4d
Merge pull request #3950 from andersonjacob/CorrectShashlikWF
cmsbuild May 21, 2014
f8a4160
Me11aunganged
jshlee May 21, 2014
9512f75
Merge pull request #215 from jshlee/Me11aunganged
jshlee May 21, 2014
eb89ada
Fix problem caused by sensitive calibration fiber
May 21, 2014
a7b2e83
Update CSCSectorReceiverLUT.cc
jshlee May 22, 2014
dd417a8
Merge pull request #217 from jshlee/from-CMSSW_6_2_0_SLHC12
jshlee May 22, 2014
402e681
Add Extended Pixel to all Shashlik scenarios.
ianna May 22, 2014
6d2f5e2
Fix Shashlik reco geometry. Make it accessible as CaloSubDetector geo…
ianna May 16, 2014
055b9d0
preshower geometry patched
May 16, 2014
cb2f60a
Geometry changes by Fedor
May 21, 2014
8e3980e
Fixed bug caused by sensitive calibration fiber
May 21, 2014
f4315cc
changed path for ecalcontainer, shashlik in EcalCondObjectContainer, …
May 20, 2014
51852fc
EK laser correction from one LM of EE
May 20, 2014
62a366b
added EKDigiCollection, EK classes in EcalSimAlgos
May 20, 2014
109d9ef
EcalDigi for Shashlik in EcalPhaseIIDigiProducer.cc
May 2, 2014
7751a10
commented preshower in digi step
May 4, 2014
d060770
updating cscTF config
jshlee May 22, 2014
ab17eb9
Merge branch 'CMSSW_6_2_X_SLHC' of github.com:jshlee/cmssw into CMSSW…
jshlee May 22, 2014
fb7ea9b
Merge pull request #157 from cms-sw/CMSSW_6_2_X_SLHC
May 22, 2014
33f9ff8
shashlik electronic parameters configurable
May 8, 2014
0185886
EK noise fixed to 2MeV, 0.3 adc
May 18, 2014
6174686
EK collections in FEVTDEBUG output
May 7, 2014
a8592d2
removed digis for invalid shashlik detIds
May 20, 2014
728f569
ZeroSuppression for ekDigis, threashold also in fixed value of ADC co…
May 8, 2014
43effbf
added EKrechit collection
May 4, 2014
77e4356
ecalRecHit producer fixed for shashlik
May 9, 2014
2364d00
merged with pf_shashlik from lindsey
May 17, 2014
fcfd911
fixing clustering
May 17, 2014
0fe9e67
EE rechit collection removed
May 18, 2014
c0525b1
added ShashlikSimHits validation
May 5, 2014
e5a2cf0
working version of validation step with shashlik (not crashing)
May 4, 2014
deed099
update to test shashlik
May 20, 2014
3e5fc9b
# This is a combination of 3 commits.
May 7, 2014
a6aaf85
temporarly removed ecalSelectiveReadoutValidation from sequence
May 8, 2014
a17b7b3
temporarly removed rechit validation
May 9, 2014
74c94d7
removed checks for EE in DQM in upgrade, to be fixed
May 6, 2014
0e811ee
update SHCal customize put Shashlik clusters into PF workflow
lgray May 20, 2014
8b02678
fixed wrong packages in BuildFiles
May 2, 2014
7c9b76f
add back depth correction and patch GsfElectronAlgo so it will run wi…
lgray May 21, 2014
ab08a5b
Merge pull request #3957 from fratnikov/shashlyk-bug-fix-3
cmsbuild May 22, 2014
cc8c05c
Merge pull request #3960 from ianna/extended-pixel-in-shashlik-scenario
cmsbuild May 22, 2014
ab679f6
Diverged the customisations for the muon and non-muon HGCal scenarios…
May 22, 2014
dc221e7
set gemClearNomatchLCTs = cms.bool(False)
jshlee May 22, 2014
ad241f6
Merge pull request #3964 from mark-grimes/removeME0FromHGCalCustom
cmsbuild May 22, 2014
9a5393b
Merge pull request #3967 from shervin86/pf_shashlik-rebase-v11
cmsbuild May 22, 2014
d58fa9f
Revert the checksum on susybsm::HSCPCaloInfo to fix a compiler error
May 22, 2014
66b2654
Bug fix to have only LYSO as active
May 23, 2014
a0bbcf2
Add Extended pixel to HGCal scenarios.
ianna May 23, 2014
b0d8862
fixed shashlik SIM parameters, values from Sasha Ledovskoy
May 23, 2014
6acd831
Change HGCal topology to be used for reco geometry
May 23, 2014
a9dd2ac
Make sure 3 eta scenarios use 3 eta Hcal numbering.
ianna May 23, 2014
3ccf154
Add back RPC to the HGCal customisation
May 23, 2014
5c0df99
Merge pull request #3981 from ianna/hgcal-scenarios-with-extended-pixel
cmsbuild May 23, 2014
b4d062c
Merge pull request #3976 from bsunanda/Phase2-shk22
cmsbuild May 23, 2014
a13579c
Merge pull request #3982 from shervin86/shashlikSIM
cmsbuild May 23, 2014
a8c32e1
Small change
May 23, 2014
420f476
Merge pull request #3983 from bsunanda/Phase2-hgcx3
cmsbuild May 23, 2014
22b4603
Merge pull request #3985 from ianna/hcal-phase2-numbering
cmsbuild May 23, 2014
af7558c
Merge pull request #3986 from mark-grimes/addBackRPCCustoms
cmsbuild May 23, 2014
9fff36f
protection if shashlik not defined
May 23, 2014
59d8da7
if EE and EK not defined, skip assignEEtoHE. Need to be checked if an…
May 23, 2014
454b0f8
Temorary fix error in GEM projection.
alja May 23, 2014
3e2d0fe
Avoid hardcoded values in GEM geomtery.
alja May 23, 2014
1ce8076
Merge pull request #3990 from shervin86/shashlik_fix_HGcal
cmsbuild May 23, 2014
b6b4ac0
Merge pull request #4002 from alja/from-CMSSW_6_2_0_SLHC12
ktf May 24, 2014
8ca6b43
Merge pull request #7 from gem-sw/CMSSW_6_2_X_SLHC
clacaputo May 24, 2014
ad60c49
Merge pull request #3975 from mark-grimes/revertChecksum
cmsbuild May 24, 2014
e9ee8cf
Merge pull request #221 from gem-sw/CMSSW_6_2_X_SLHC
jshlee May 26, 2014
9cb289b
Merge pull request #219 from cms-sw/CMSSW_6_2_X_SLHC
jshlee May 26, 2014
b21fe43
Merge remote-tracking branch 'origin/gem-sw/CMSSW_6_2_X_SLHC' into CM…
jshlee May 26, 2014
e3bcce9
Merge branch 'CMSSW_6_2_X_SLHC' of https://github.com/jshlee/cmssw in…
jshlee May 26, 2014
832e97a
Merge pull request #158 from jshlee/CMSSW_6_2_X_SLHC
May 27, 2014
bb7c8b1
pad -> roll
Jun 4, 2014
88426d7
typo
Jun 4, 2014
3a5242c
Merge pull request #9 from gem-sw/CMSSW_6_2_X_SLHC
clacaputo Jun 23, 2014
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions CalibCalorimetry/EcalLaserCorrection/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<use name="Geometry/CaloGeometry"/>
<use name="CondFormats/DataRecord"/>
<use name="CondFormats/EcalObjects"/>
<use name="CalibCalorimetry/EcalLaserAnalyzer"/>
Expand Down
17 changes: 12 additions & 5 deletions CalibCalorimetry/EcalLaserCorrection/src/EcalLaserDbService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "CalibCalorimetry/EcalLaserAnalyzer/interface/MEEEGeom.h"
// #include "CalibCalorimetry/EcalLaserAnalyzer/interface/ME.h"

#include "Geometry/CaloGeometry/interface/CaloGenericDetId.h" // Shervin

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

Expand Down Expand Up @@ -65,7 +66,7 @@ float EcalLaserDbService::getLaserCorrection (DetId const & xid, edm::Timestamp
edm::LogError("EcalLaserDbService") << " DetId is NOT in ECAL" << endl;
return correctionFactor;
}

EEDetId eedetidForShashlik = CaloGenericDetId(DetId::Ecal, EcalEndcap, 1);
// int hi = -1;
// if (xid.subdetId()==EcalBarrel) {
// // std::cout << "EcalBarrel" << std::endl;
Expand All @@ -91,6 +92,10 @@ float EcalLaserDbService::getLaserCorrection (DetId const & xid, edm::Timestamp
MEEEGeom::SuperCrysCoord iX = (eeid.ix()-1)/5 + 1;
MEEEGeom::SuperCrysCoord iY = (eeid.iy()-1)/5 + 1;
iLM = MEEEGeom::lmr(iX, iY, eeid.zside());
} else if(xid.subdetId()==EcalShashlik){
MEEEGeom::SuperCrysCoord iX = (eedetidForShashlik.ix()-1)/5 + 1;
MEEEGeom::SuperCrysCoord iY = (eedetidForShashlik.iy()-1)/5 + 1;
iLM = MEEEGeom::lmr(iX, iY, eedetidForShashlik.zside());
} else {
edm::LogError("EcalLaserDbService") << " DetId is NOT in ECAL Barrel or Endcap" << endl;
return correctionFactor;
Expand All @@ -99,7 +104,8 @@ float EcalLaserDbService::getLaserCorrection (DetId const & xid, edm::Timestamp

// get alpha, apd/pn ref, apd/pn pairs and timestamps for interpolation

EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap::const_iterator itratio = laserRatiosMap.find(xid);
EcalLaserAPDPNRatios::EcalLaserAPDPNRatiosMap::const_iterator itratio
= laserRatiosMap.find( (xid.subdetId()==EcalShashlik) ? eedetidForShashlik : xid); //Shervin
if (itratio != laserRatiosMap.end()) {
apdpnpair = (*itratio);
} else {
Expand All @@ -114,7 +120,8 @@ float EcalLaserDbService::getLaserCorrection (DetId const & xid, edm::Timestamp
return correctionFactor;
}

EcalLinearCorrections::EcalValueMap::const_iterator itlin = linearValueMap.find(xid);
EcalLinearCorrections::EcalValueMap::const_iterator itlin
= linearValueMap.find( (xid.subdetId()==EcalShashlik) ? eedetidForShashlik : xid); //Shervin
if (itlin != linearValueMap.end()) {
linValues = (*itlin);
} else {
Expand All @@ -129,15 +136,15 @@ float EcalLaserDbService::getLaserCorrection (DetId const & xid, edm::Timestamp
return correctionFactor;
}

EcalLaserAPDPNRatiosRefMap::const_iterator itref = laserRefMap.find(xid);
EcalLaserAPDPNRatiosRefMap::const_iterator itref = laserRefMap.find((xid.subdetId()==EcalShashlik) ? eedetidForShashlik : xid); //Shervin
if ( itref != laserRefMap.end() ) {
apdpnref = (*itref);
} else {
edm::LogError("EcalLaserDbService") << "error with laserRefMap!" << endl;
return correctionFactor;
}

EcalLaserAlphaMap::const_iterator italpha = laserAlphaMap.find(xid);
EcalLaserAlphaMap::const_iterator italpha = laserAlphaMap.find( (xid.subdetId()==EcalShashlik) ? eedetidForShashlik : xid); // Shervin
if ( italpha != laserAlphaMap.end() ) {
alpha = (*italpha);
} else {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import FWCore.ParameterSet.Config as cms

EcalTrivialObjectAnalyzer = cms.EDAnalyzer("EcalTrivialObjectAnalyzer"
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Created: 2 Mar 2006
// Shahram Rahatlou, University of Rome & INFN
//
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CalibCalorimetry/EcalTrivialCondModules/interface/EcalTrivialObjectAnalyzer.h"

#include <stdexcept>
Expand All @@ -14,6 +15,7 @@
#include "FWCore/Framework/interface/ESHandle.h"

#include "DataFormats/EcalDetId/interface/EBDetId.h"
#include "DataFormats/EcalDetId/interface/EKDetId.h"

#include "CondFormats/EcalObjects/interface/EcalPedestals.h"
#include "CondFormats/DataRecord/interface/EcalPedestalsRcd.h"
Expand Down Expand Up @@ -91,22 +93,40 @@ void EcalTrivialObjectAnalyzer::analyze(const edm::Event& e, const edm::EventSet
edm::ESHandle<EcalADCToGeVConstant> pAgc;
context.get<EcalADCToGeVConstantRcd>().get(pAgc);
const EcalADCToGeVConstant* agc = pAgc.product();
std::cout << "Global ADC->GeV scale: EB " << std::setprecision(6) << agc->getEBValue() << " GeV/ADC count"
" EE " << std::setprecision(6) << agc->getEEValue() << " GeV/ADC count" << std::endl;

std::cout << "Global ADC->GeV scale:"
<< " EB " << std::setprecision(6) << agc->getEBValue() << " GeV/ADC count"
<< " EE " << std::setprecision(6) << agc->getEEValue() << " GeV/ADC count"
<< " EK " << std::setprecision(6) << agc->getEKValue() << " GeV/ADC count" << std::endl;
// use a channel to fetch values from DB
double r1 = (double)std::rand()/( double(RAND_MAX)+double(1) );
int ieta = int( 1 + r1*85 );
r1 = (double)std::rand()/( double(RAND_MAX)+double(1) );
int iphi = int( 1 + r1*20 );

EBDetId ebid(ieta,iphi); //eta,phi
std::cout << "EcalTrivialObjectAnalyzer: using EBDetId: " << ebid << std::endl;

//EEDetId eeid(10,10);
EKDetId ekid(EKDetId::detIdFromDenseIndex(0));
std::cout << "EcalTrivialObjectAnalyzer: using " << std::endl
<< "EBDetId: " << ebid
<< "EKDetId: " << ekid
<< std::endl;

const EcalPedestals* myped=pPeds.product();
EcalPedestals::const_iterator it = myped->find(ebid.rawId());
if( it!=myped->end() ){
std::cout << "EcalPedestal: "
std::cout << "EcalPedestal EB: "
<< " mean_x1: " << std::setprecision(8) << (*it).mean_x1 << " rms_x1: " << (*it).rms_x1
<< " mean_x6: " <<(*it).mean_x6 << " rms_x6: " << (*it).rms_x6
<< " mean_x12: " <<(*it).mean_x12 << " rms_x12: " << (*it).rms_x12
<< std::endl;
} else {
std::cout << "No pedestal found for this xtal! something wrong with EcalPedestals in your DB? "
<< std::endl;
}

it = myped->find(ekid.rawId());
if( it!=myped->end() ){
std::cout << "EcalPedestal EK: "
<< " mean_x1: " << std::setprecision(8) << (*it).mean_x1 << " rms_x1: " << (*it).rms_x1
<< " mean_x6: " <<(*it).mean_x6 << " rms_x6: " << (*it).rms_x6
<< " mean_x12: " <<(*it).mean_x12 << " rms_x12: " << (*it).rms_x12
Expand All @@ -116,6 +136,7 @@ void EcalTrivialObjectAnalyzer::analyze(const edm::Event& e, const edm::EventSet
<< std::endl;
}


// fetch map of groups of xtals
edm::ESHandle<EcalWeightXtalGroups> pGrp;
context.get<EcalWeightXtalGroupsRcd>().get(pGrp);
Expand All @@ -137,11 +158,21 @@ void EcalTrivialObjectAnalyzer::analyze(const edm::Event& e, const edm::EventSet
const EcalGainRatios* gr = pRatio.product();

EcalGainRatioMap::const_iterator grit=gr->getMap().find(ebid.rawId());
EcalMGPAGainRatio mgpa;
if( grit!=gr->getMap().end() ){
mgpa = (*grit);
EcalMGPAGainRatio mgpa = (*grit);
std::cout << "EcalMGPAGainRatio: EB"
<< "gain 12/6 : " << std::setprecision(4) << mgpa.gain12Over6() << " gain 6/1: " << mgpa.gain6Over1()
<< std::endl;
} else {
std::cout << "No MGPA Gain Ratio found for this xtal! something wrong with EcalGainRatios in your DB? "
<< std::endl;
}

grit=gr->getMap().find(ekid.rawId());
if( grit!=gr->getMap().end() ){
EcalMGPAGainRatio mgpa = (*grit);

std::cout << "EcalMGPAGainRatio: "
std::cout << "EcalMGPAGainRatio: EK"
<< "gain 12/6 : " << std::setprecision(4) << mgpa.gain12Over6() << " gain 6/1: " << mgpa.gain6Over1()
<< std::endl;
} else {
Expand All @@ -159,7 +190,7 @@ void EcalTrivialObjectAnalyzer::analyze(const edm::Event& e, const edm::EventSet
if( icalit!=ical->getMap().end() ){
icalconst = (*icalit);

std::cout << "EcalIntercalibConstant: "
std::cout << "EcalIntercalibConstant EB: "
<<std::setprecision(6)
<< icalconst
<< std::endl;
Expand All @@ -168,6 +199,27 @@ void EcalTrivialObjectAnalyzer::analyze(const edm::Event& e, const edm::EventSet
<< std::endl;
}

icalit=ical->getMap().find(ekid.rawId());
if( icalit!=ical->getMap().end() ){
EcalIntercalibConstant icalconst = (*icalit);

std::cout << "EcalIntercalibConstant EK: "
<<std::setprecision(6)
<< icalconst
<< std::endl;
} else {
std::cout << "No intercalib const found for this xtal! something wrong with EcalIntercalibConstants in your DB? "
<< std::endl;
}

EcalIntercalibConstants::Items items = ical->getMap().endcapItems();

for(EcalIntercalibConstants::Items::const_iterator itr = items.begin();
itr!=items.end();
itr++){
if(fabs(*itr-1.)<0.0001)
std::cout << "[EcalTrivialObjectAnalyzer DUMP] " << "EE hashedIndex: " << itr-items.begin() << "\tIC: " << *itr << std::endl;
}
// Intercalib errors
edm::ESHandle<EcalIntercalibErrors> pIcalErr;
context.get<EcalIntercalibErrorsRcd>().get(pIcalErr);
Expand All @@ -188,11 +240,14 @@ void EcalTrivialObjectAnalyzer::analyze(const edm::Event& e, const edm::EventSet
}



{ // quick and dirty for cut and paste ;) it is a test program...
{
edm::ESHandle<EcalTimeCalibConstants> pIcal;
context.get<EcalTimeCalibConstantsRcd>().get(pIcal);
if(!pIcal.isValid()){
edm::LogWarning("EcalTrivialObjectAnalyzer") << "EcalTimeCalibConstantsRcd not found";
} else
{ // quick and dirty for cut and paste ;) it is a test program...
// TimeCalib constants
edm::ESHandle<EcalTimeCalibConstants> pIcal;
context.get<EcalTimeCalibConstantsRcd>().get(pIcal);
const EcalTimeCalibConstants* ical = pIcal.product();

EcalTimeCalibConstantMap::const_iterator icalit=ical->getMap().find(ebid.rawId());
Expand Down Expand Up @@ -228,7 +283,7 @@ void EcalTrivialObjectAnalyzer::analyze(const edm::Event& e, const edm::EventSet
<< std::endl;
}
}

}
// fetch Time Offset
//std::cout <<"Fetching TimeOffsetConstant from DB " << std::endl;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import FWCore.ParameterSet.Config as cms

import FWCore.ParameterSet.Config as cms

process = cms.Process('testTrivial')

# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
process.load('Configuration.Geometry.GeometryExtended2023SHCalNoTaperReco_cff')
process.load('Configuration.StandardSequences.MagneticField_38T_PostLS1_cff')
process.load('Configuration.StandardSequences.Digi_cff')
process.load('Configuration.StandardSequences.SimL1Emulator_cff')
process.load('Configuration.StandardSequences.DigiToRaw_cff')
process.load('Configuration.StandardSequences.EndOfProcess_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialObjectAnalyzer_cfi")

process.testTrivial = cms.Sequence(process.EcalTrivialObjectAnalyzer)

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)

# Input source
process.source = cms.Source("PoolSource",
secondaryFileNames = cms.untracked.vstring(),
fileNames = cms.untracked.vstring('file:step3.root')
)

from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgradePLS3', '')


process.p = cms.Path( process.testTrivial )
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
toGet = cms.untracked.vstring('GainWidths'),
#--- the following 5 parameters can be omitted in case of regular Geometry
iLumi = cms.double(-1.), # for Upgrade: fb-1
HcalReLabel = HcalReLabel, # for Upgrade
HERecalibration = cms.bool(False), # True for Upgrade
HEreCalibCutoff = cms.double(20.), # if above is True
HFRecalibration = cms.bool(False), # True for Upgrade
Expand Down
49 changes: 13 additions & 36 deletions CalibCalorimetry/HcalPlugins/src/HcalHardcodeCalibrations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace {

}

HcalHardcodeCalibrations::HcalHardcodeCalibrations ( const edm::ParameterSet& iConfig ): he_recalibration(0), hf_recalibration(0)
HcalHardcodeCalibrations::HcalHardcodeCalibrations ( const edm::ParameterSet& iConfig ): he_recalibration(0), hf_recalibration(0), setHEdsegm(false)
{
edm::LogInfo("HCAL") << "HcalHardcodeCalibrations::HcalHardcodeCalibrations->...";

Expand All @@ -134,41 +134,6 @@ HcalHardcodeCalibrations::HcalHardcodeCalibrations ( const edm::ParameterSet& iC
// std::cout << " HcalHardcodeCalibrations: iLumi = " << iLumi << std::endl;
}

bool relabel_=false;
edm::ParameterSet ps0;
if ( iConfig.exists("HcalReLabel") ) {
ps0 = iConfig.getParameter<edm::ParameterSet>("HcalReLabel");
relabel_= ps0.getUntrackedParameter<bool>("RelabelHits",false);
}

if (relabel_) {
std::vector<std::vector<int>> m_segmentation;
m_segmentation.resize(29);
edm::ParameterSet ps1 = ps0.getUntrackedParameter<edm::ParameterSet>("RelabelRules");
for (int i = 0; i < 29; i++) {
char name[10];
snprintf(name,10,"Eta%d",i+1);
if (i > 0) {
m_segmentation[i]=
ps1.getUntrackedParameter<std::vector<int>>(name,m_segmentation[i-1]);
} else {
m_segmentation[i]=ps1.getUntrackedParameter<std::vector<int> >(name);
}

/*
std::cout << name;
for (unsigned int k=0; k<m_segmentation[i].size(); k++) {
std::cout << " [" << k << "] " << m_segmentation[i][k];
}
std::cout << std::endl;
*/

}

if(he_recalibration !=0) he_recalibration->setDsegm(m_segmentation);
}


std::vector <std::string> toGet = iConfig.getUntrackedParameter <std::vector <std::string> > ("toGet");
for(std::vector <std::string>::iterator objectName = toGet.begin(); objectName != toGet.end(); ++objectName ) {
bool all = *objectName == "all";
Expand Down Expand Up @@ -394,6 +359,18 @@ std::auto_ptr<HcalRespCorrs> HcalHardcodeCalibrations::produceRespCorrs (const H
rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
const HcalTopology* topo=&(*htopo);

//set depth segmentation for HE recalib - only happens once
if(he_recalibration && !setHEdsegm){
std::vector<std::vector<int>> m_segmentation;
m_segmentation.resize(29);
for (int i = 0; i < 29; i++) {
if(i>0) topo->getDepthSegmentation(i,m_segmentation[i]);
}

he_recalibration->setDsegm(m_segmentation);
setHEdsegm = true;
}

std::auto_ptr<HcalRespCorrs> result (new HcalRespCorrs (topo));
std::vector <HcalGenericDetId> cells = allCells(*topo);
for (std::vector <HcalGenericDetId>::const_iterator cell = cells.begin (); cell != cells.end (); cell++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,6 @@ class HcalHardcodeCalibrations : public edm::ESProducer,
HERecalibration* he_recalibration;
HFRecalibration* hf_recalibration;
bool switchGainWidthsForTrigPrims;
bool setHEdsegm;
};

9 changes: 6 additions & 3 deletions CalibCalorimetry/HcalTPGAlgos/src/HcaluLUTTPGCoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <cmath>
#include <string>
#include "CalibCalorimetry/HcalTPGAlgos/interface/HcaluLUTTPGCoder.h"
#include "Geometry/HcalTowerAlgo/src/HcalHardcodeGeometryData.h"
#include "CalibFormats/HcalObjects/interface/HcalCoderDb.h"
#include "CalibFormats/HcalObjects/interface/HcalCalibrations.h"
#include "CalibFormats/HcalObjects/interface/HcalDbService.h"
Expand Down Expand Up @@ -192,8 +191,12 @@ void HcaluLUTTPGCoder::update(const HcalDbService& conditions) {
float nominalgain_ = metadata->getNominalGain();

std::map<int, float> cosh_ieta;
for (int i = 0; i < 13; ++i)
cosh_ieta[i+29] = cosh((theHFEtaBounds[i+1] + theHFEtaBounds[i])/2.);
for (int i = metadata->topo()->firstHFRing(); i <= metadata->topo()->lastHFRing(); ++i){
std::pair<double,double> etas = metadata->topo()->etaRange(HcalForward,i);
double eta1 = etas.first;
double eta2 = etas.second;
cosh_ieta[i] = cosh((eta1 + eta2)/2.);
}

HcalSubdetector subdets[] = {HcalBarrel, HcalEndcap, HcalForward};
for (int isub = 0; isub < 3; ++isub){
Expand Down
Loading