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

HF 1x1 TP production along 2x3 TP #12654

Merged
merged 20 commits into from Dec 16, 2015

Conversation

matz-e
Copy link
Contributor

@matz-e matz-e commented Dec 3, 2015

This is a port of Alex Gude's PR #6614, but only the modifications done to the TP algorithm and the HcalTowerAlgo. The only errors I see with runTheMatrix.py are marked as coming from DAS.

This will add the 1x1 HF TP in the same collection as 2x3 HF TP, but the RCT already has a check in place to use only 2x3. To actually produce 1x1 TP, new LUT metadata is needed, either by supplying them manually or through a new globaltag. 2x3 production should not be affected by this.

akhukhun and others added 17 commits November 22, 2015 16:42
Doing some basic clean up (adding braces, defining consts, breaking up
lines) so that future content edits are easier to understand.
Conflicts:
	SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc
Added a shift, hf_lumi_shift, to correct for lumi bits stuck on the
front of the array that are used by lumi but not trigger. We correct
these based on the given rctlsb.

Also add a MAX_OUTPUT = 1023 test to analyzeHFV1 to prevent overflow.
Add HcalFeatureHFEMBit class

Implemented a class HcalFeatureHFEMBit that makes a cut based on energy deposited in the short fiber verse the long fiber.

cleaned up part of the code caused by mistaken copy pastecleaned up part of the code caused by mistaken copy pastecleaned up part of the code caused by mistaken copy paste...

some formatting issues were fixed.
The L1RCTs only work with the old segmentation (version 0 for <= 2012),
so if the version is anything else, we continue.

Changed the python file so that the HcalFeatureHFEMBit is not used.
Conflicts:
	Geometry/HcalTowerAlgo/src/HcalTrigTowerGeometry.cc
	Geometry/HcalTowerAlgo/test/HcalGeometryTest.cpp
…aloTPGTrascoderULUT mostly)

Conflicts:
	CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc
	Geometry/HcalTowerAlgo/src/HcalTrigTowerGeometry.cc
	Geometry/HcalTowerAlgo/test/HcalGeometryTest.cpp
	SimCalorimetry/HcalTrigPrimAlgos/src/HcalTriggerPrimitiveAlgo.cc
Conflicts:
	CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc
	CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.h
	CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc
	DataFormats/HcalDetId/src/HcalTrigTowerDetId.cc
	L1TriggerConfig/L1ScalesProducers/src/L1CaloHcalScaleConfigOnlineProd.cc
We now have up to two versions of HFTPs being handled by
HcalTrigTowerGeometry, so the unit test must figure out how many it
expects and test for that number.

Conflicts:
	Geometry/HcalTowerAlgo/test/HcalGeometryTest.cpp
@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2015

A new Pull Request was created by @matz-e (Matthias Wolf) for CMSSW_8_0_X.

It involves the following packages:

CalibCalorimetry/CaloTPG
CalibCalorimetry/HcalTPGAlgos
CaloOnlineTools/HcalOnlineDb
Geometry/HcalTowerAlgo
L1TriggerConfig/L1ScalesProducers
SimCalorimetry/HcalTrigPrimAlgos
SimCalorimetry/HcalTrigPrimProducers

@civanch, @diguida, @ianna, @mdhildreth, @cmsbuild, @franzoni, @Dr15Jones, @cerminar, @ggovi, @mmusich, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @Martin-Grunewald this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

Following commands in first line of a comment are recognized

  • +1|approve[d]|sign[ed]: L1/L2's to approve it
  • -1|reject[ed]: L1/L2's to reject it
  • assign <category>[,<category>[,...]]: L1/L2's to request signatures from other categories
  • unassign <category>[,<category>[,...]]: L1/L2's to remove signatures from other categories
  • hold: L1/all L2's/release manager to mark it as on hold
  • unhold: L1/user who put this PR on hold
  • merge: L1/release managers to merge this request
  • [@cmsbuild,] please test: L1/L2 and selected users to start jenkins tests
  • [@cmsbuild,] please test with cms-sw/cmsdist#<PR>: L1/L2 and selected users to start jenkins tests using externals from cmsdist

@mulhearn
Copy link
Contributor

mulhearn commented Dec 3, 2015

+1

@diguida
Copy link
Contributor

diguida commented Dec 11, 2015

matz-e@6f1b329 and matz-e@d724d25 remove cout calls in

CalibCalorimetry/CaloTPG/src/CaloTPGTranscoderULUT.cc
CalibCalorimetry/HcalTPGAlgos/src/LutXml.cc
CaloOnlineTools/HcalOnlineDb/src/HcalLutManager.cc
CaloOnlineTools/HcalOnlineDb/src/LMap.cc
Geometry/HcalTowerAlgo/test/HcalGeometryTester.cc
L1TriggerConfig/L1ScalesProducers/src/L1CaloHcalScaleConfigOnlineProd.cc

@diguida
Copy link
Contributor

diguida commented Dec 11, 2015

+1
provided Jenkins agrees.
Conditional approval. To be fixed:

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Dec 11, 2015

+1

@mulhearn
Copy link
Contributor

+1

matz-e added a commit to matz-e/cmssw that referenced this pull request Dec 14, 2015
Adresses two of the three leftover issues with cms-sw#12654.
@matz-e
Copy link
Contributor Author

matz-e commented Dec 14, 2015

@diguida: does this comparison fix the rest of your comments? I can open a new PR with the commits once this is in.

@fwyzard fwyzard mentioned this pull request Dec 14, 2015
@abdoulline
Copy link

@diguida
may we have it approved ?

@diguida
Copy link
Contributor

diguida commented Dec 16, 2015

@abdoulline I have already approved it.
@ggovi ping :-)

@diguida
Copy link
Contributor

diguida commented Dec 16, 2015

@matz-e the changes in your new branch look ok to me. Thanks!

std::vector<unsigned int> analyticalLUT(OUTPUT_LUT_SIZE, 0);
std::vector<unsigned int> identityLUT(OUTPUT_LUT_SIZE, 0);
std::vector<unsigned int> analyticalLUT(OUTPUT_LUT_SIZE, 0);
std::vector<unsigned int> identityLUT(OUTPUT_LUT_SIZE, 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if these have a fixed, known size, make them std::arrays. Especially good for both bounds checking and if you happen to be putting this sort of construct into a map

davidlange6 added a commit that referenced this pull request Dec 16, 2015
HF 1x1 TP production along 2x3 TP
@davidlange6 davidlange6 merged commit 37383df into cms-sw:CMSSW_8_0_X Dec 16, 2015
davidlange6 added a commit that referenced this pull request Dec 22, 2015
Address outstanding comments from  #12654 (1x1 HF TP)
@matz-e matz-e deleted the hf-1x1-tp-algo-v5 branch September 15, 2017 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet