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

81x L1T for HI run - tower-counting algorithm (no new CondFormats) #16324

Conversation

rekovic
Copy link
Contributor

@rekovic rekovic commented Oct 24, 2016

This is 81x PR. Corresponding 80x PR is #16323.

This is a PR analogous to #16320, but removing the two new data members (bools egBypassEGVetos_ and jetBypassPUS_ ) in CondFormats, which are currently always used, set and configured, as false.

This avoids any need for a new GlobalTag.

Description:
This is a 80X PR for tower-counting algorithm at L1T needed for pPb run.

  • Tower-Counting L1T emulator, packer and unpacker for Layer2 and uGT
    • Addition in DataFormat
    • Requires utm library r47119-xsd330-patch (already available in CMSSW_8_1_X_2016-10-22-1100.
    • No new data members in CondFormats

Book-keeping note: This is a slim-down and squashed commits addendum derived from l1t-integration-v88.0_CMSSW_8_0_21 (which contains TowrCounting for Layer2) plus uGT development.

Conflicts:
	EventFilter/L1TRawToDigi/src/implementations_stage2/CaloSetup.cc
	L1Trigger/L1TGlobal/data
	L1Trigger/L1TMuon/data
…BypassEGVetos_ and jetBypassPUS_ are currently always used and configured as false). This avoids any needs for new Global Tag.
@rekovic
Copy link
Contributor Author

rekovic commented Oct 24, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 24, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/15916/console

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @rekovic for CMSSW_8_1_X.

It involves the following packages:

CondFormats/L1TObjects
DataFormats/L1TGlobal
DataFormats/L1Trigger
EventFilter/L1TRawToDigi
L1Trigger/Configuration
L1Trigger/L1TCalorimeter
L1Trigger/L1TGlobal

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

cms-bot commands are listed here #13028

@rekovic
Copy link
Contributor Author

rekovic commented Oct 24, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 24, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/15918/console

@@ -24,6 +24,7 @@ enum GlobalObject
gtHTT,
gtHTM,
gtETMHF,
gtTowerCount,
Copy link
Contributor

Choose a reason for hiding this comment

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

isn't inserting in the middle of an enum breaking the backward compatibility?

Copy link
Contributor Author

@rekovic rekovic Oct 24, 2016

Choose a reason for hiding this comment

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

Hmm, I am not sure it does.
Examples from the past 6be8e4d, 3f17f45.

Copy link
Contributor

Choose a reason for hiding this comment

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

nothing appears to depend on how many enums of this type there are - so seems ok to me.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@rekovic
Copy link
Contributor Author

rekovic commented Oct 24, 2016

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor


//HI-SUM

l1t::EtSum towCount = l1t::EtSum();
Copy link
Contributor

Choose a reason for hiding this comment

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

@rekovic i guess we can have "raw" data around without this new piece of information? Or is that not possible? If so, some protection is needed when the new information is not present.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. All the previous data do not have kTowerCount types in EtSum. The unpacker will then assign "0" Pt to TowerCount sums in those cases. Same as before, when we added new EtSum types.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, so the data are 0 padded (as opposed to reading off the end of a data structure

if (iEt<=0) continue;

// if tower Et is saturated, saturate jet Et
if (seedEt >= 511) iEt = 65535;
if (seedEt >= 509) iEt = 65535;
Copy link
Contributor

Choose a reason for hiding this comment

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

what does "509" correspond to? (511 was somehow understandable as 2^9-1)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From the Layer2 firmware experts:

now saturate at seed Et = 509, 510 as well as 511 (saturation codes)

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @rekovic - please add a comment for the back port of this

@davidlange6
Copy link
Contributor

+1
(two outstanding questions can get solved for the back port tomorrow) - this way we can see the results of all the IB tests)

@arizzi
Copy link
Contributor

arizzi commented Oct 25, 2016

Is this object written? In which data tiers?

Il 24 ott 2016 10:13 AM, "rekovic" notifications@github.com ha scritto:

@rekovic commented on this pull request.

In DataFormats/L1TGlobal/interface/GlobalObject.h
#16324:

@@ -24,6 +24,7 @@ enum GlobalObject
gtHTT,
gtHTM,
gtETMHF,

  • gtTowerCount,

Hmm, I am not sure.

Examples from the past 6be8e4d
6be8e4d,
3f17f45
3f17f45
.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#16324, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEyilkOIG37rHUaLJ6cbQB_lWDqu9pLoks5q3GiSgaJpZM4Ked9Y
.

@rekovic
Copy link
Contributor Author

rekovic commented Oct 25, 2016

@arizzi No, it is not.

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

4 participants