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 "Unique Name" field to readout modules #44

Open
nkx111 opened this issue Mar 28, 2022 · 0 comments
Open

Add "Unique Name" field to readout modules #44

nkx111 opened this issue Mar 28, 2022 · 0 comments

Comments

@nkx111
Copy link
Member

nkx111 commented Mar 28, 2022

When the readout plane is large and contains many readout modules, the current implementation might be difficult to identify each. We have:

  1. TRestDetectorReadoutModule::fModuleID to identify module id. It is an int number, may not be so clear to the users.
  2. TRestDetectorReadoutModule::fModuleName to identify the module type, either 128 channel MicroMegas or pixel readout module.

So I suggest to add a new field fUniqueName to TRestDetectorReadoutModule class. It would be a string data member, and therefore be better to record module names or serial numbers. For example, "V2M2", "V6_05", "A1580HN.46", something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant