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

InputRouter channel assignment (eliminate magic constants) #134

Open
tschuh opened this issue Feb 16, 2022 · 0 comments
Open

InputRouter channel assignment (eliminate magic constants) #134

tschuh opened this issue Feb 16, 2022 · 0 comments
Assignees

Comments

@tschuh
Copy link

tschuh commented Feb 16, 2022

TO DO: Eliminate cfg param IRChannelsIn from https://github.com/cms-sw/cmssw/blob/master/L1Trigger/TrackFindingTracklet/python/Customize_cff.py#L22 by taking this info from Tracklet wiring map.
e.g. The list above "0, 1, 25," indicates that 2nd IR module (where counting starts at 0) is connected to DTC ID = 25. And LUTsReduced/processingmodules.dat says that2nd IR is named IR_PS10G_2_B , which wires.dat says is connected to the DTC named DL_PS10G_2_B . And using array dtcname (from L1FPGATrackProducer.cc), one finds that "PS10G_2" is in slot 1 of the crate, and this name also means its at +ve z and in the 2nd Tracker sector connected to this TFP region. From this info, a function added to your Setup class should be able to return the DTC ID. The difficulty is that EDProducer ChannelAssignment accesses IRChannelsIn, but doesn't have access to the wiring map.

@tschuh tschuh changed the title InoutRouter channel assignment InputRouter channel assignment May 3, 2022
@tomalin tomalin changed the title InputRouter channel assignment InputRouter channel assignment (eliminate magic constants) May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants