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

Add (unprescaled) L1_FirstBunchInTrain bit in central NANOAOD #1100

Open
lathomas opened this issue Apr 11, 2023 · 1 comment
Open

Add (unprescaled) L1_FirstBunchInTrain bit in central NANOAOD #1100

lathomas opened this issue Apr 11, 2023 · 1 comment
Labels
Ntuplisation Anything to do with Ntuples produced with L1 content Phase-1 Pertains to phase-1 development

Comments

@lathomas
Copy link

Hello,
Having in NANOAOD the (unprescaled) L1 bit decision corresponding to whether an event is in the first colliding bunch of a train (L1_FirstBunchInTrain) would be very useful for prefiring studies.
Currently only the decision after prescale is saved (which is useless).
It would be great if someone could volunteer to do that.
Thanks !
Laurent

@aloeliger aloeliger added Phase-1 Pertains to phase-1 development Ntuplisation Anything to do with Ntuples produced with L1 content labels Apr 12, 2023
@lathomas
Copy link
Author

Update:
The right boolean we want is the post prescale decision of L1_FirstBunchBeforeTrain in bx-1.
Here's how to access that info:
https://github.com/iihe-cms-sw/GenericTreeProducerMINIAOD/blob/main/Ntuplizer/plugins/Ntuplizer.cc#L1057
The bit index can be found using
https://github.com/iihe-cms-sw/GenericTreeProducerMINIAOD/blob/main/Ntuplizer/plugins/Ntuplizer.cc#L1018C13-L1018C13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ntuplisation Anything to do with Ntuples produced with L1 content Phase-1 Pertains to phase-1 development
Projects
None yet
Development

No branches or pull requests

2 participants