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

External conditions (technical) triggers for L1 Stage2. #13905

Merged
merged 2 commits into from Apr 13, 2016

Conversation

rekovic
Copy link
Contributor

@rekovic rekovic commented Apr 3, 2016

New producer for external conditions triggers for Stage2.
Included now in the L1T simulation sequence for Stage2.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 3, 2016

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

It involves the following packages:

L1Trigger/Configuration
L1Trigger/L1TGlobal

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

cms-bot commands are list here #13028

@rekovic
Copy link
Contributor Author

rekovic commented Apr 3, 2016

+1
please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 3, 2016

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 3, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 3, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 3, 2016

@Martin-Grunewald
Copy link
Contributor

@rekovic
How does one use this? Ie, is there a separate packer/unpacker for this, and/or how would this be configured for the HLT use case where we run the L1TGlobalProducer emulator on unpacked
collections?

@rekovic
Copy link
Contributor Author

rekovic commented Apr 4, 2016

@Martin-Grunewald There is no packer or unpacker for this external
conditions trigger emulator. Currently, we don't run it in HLT and we should not.

In HLT, the GT emulator uses the external conditions as part of the unpacked GT information

process.hltGtStage2ObjectMap = cms.EDProducer("L1TGlobalProducer",
    MuonInputTag = cms.InputTag("hltGmtStage2Digis","Muon"),
    ExtInputTag = cms.InputTag("hltGtStage2Digis"), # (external conditions are not emulated, use unpacked)

Now, in simulation, we run the simGtExtFakeStage2Digis (designed to run on MC)
as part of the L1T simulation sequence which is ran in emulation and re-emulation through
c8f5ca3#diff-d45daaa9d04d33a2a1a0f683f659e9c9R8

The GT emulator is configured to use it
c8f5ca3#diff-6a7cdac4a8715c04448ccc9fd10aace4R12

Now, if we want to re-emulate on Legacy 2015 data, the above producer in the simulation
sequence should be replaced with a different module l1GtExtCondLegacyToStage2
c8f5ca3#diff-6dd3db71f6ab8379562a2fa55e868edcR4

We can add this configuration specialisation. It is good to run on MC as is.

@Martin-Grunewald
Copy link
Contributor

@rekovic
So that would have to be configured via cmsDriver's --data vs --mc flag, and also be included in the L1REPACK step, no?

@rekovic
Copy link
Contributor Author

rekovic commented Apr 4, 2016

@Martin-Grunewald Yes, exactly.

const TechnicalTriggerWord& gtTTWord = gtReadoutRecord->technicalTriggerWord(useBx);
int tbitNumber = 0;
TechnicalTriggerWord::const_iterator GTtbitItr;
bool pass_BptxAND = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest putting these 4 bools into an array - then all the if statements below do not need the if elses

@cmsbuild
Copy link
Contributor

Pull request #13905 was updated. @cmsbuild, @rekovic, @mulhearn, @davidlange6 can you please check and sign again.

@rekovic
Copy link
Contributor Author

rekovic commented Apr 12, 2016

@Martin-Grunewald Additions with customisation for cmsDriver will come in separately.

@rekovic
Copy link
Contributor Author

rekovic commented Apr 12, 2016

+1

please test

@cmsbuild
Copy link
Contributor

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

@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 after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

bool pass_BptxMinus = false;
bool pass_BptxOR = false;

std::vector<bool> pass_externs(4, false); //BptxAND, BptxPlus, BptxMinus, BptxOR
Copy link
Contributor

Choose a reason for hiding this comment

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

even better if std::array - maybe next time?

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 2cbe57c into cms-sw:CMSSW_8_1_X Apr 13, 2016
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