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 addtional tools to cert helper #152

Closed
sroychow opened this issue May 20, 2022 · 4 comments
Closed

Add addtional tools to cert helper #152

sroychow opened this issue May 20, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@sroychow
Copy link
Contributor

Some additional tools need to be integrated with the cert helper. The first in the single module occupancy plotter. A script to perform the job exists in CMSSW and it can be executed from command line. In the figure attached, I propose an overview of how the form should look like on CertHelper. The main logic to launch the script should be similar to driving the TkMaps from CertHelper
additionaltool
.

@sroychow
Copy link
Contributor Author

@sroychow will take care of preparing the script on vocms066

@sroychow sroychow self-assigned this May 20, 2022
@sroychow sroychow added the enhancement New feature or request label May 20, 2022
@nothingface0
Copy link
Contributor

nothingface0 commented May 23, 2022

@sroychow I checked the sketch you posted above and I would like to ask more information on the following:

Inputs

  • Datataking_period: What kind of input is this?
    • Should it be just a string which is typed by the user? What if the string is invalid?
    • Should it be a dropdown populated with valid choices? If so, where can one retrieve a list of valid choices?
  • StreamExpressCosmics/StreamExpress:
    • Is this a toggle between the two options?
  • Run number:
    • Is this the usual int input?
  • Module list:
    • What does this represent?
    • What kind of input is this (same question as above: string, int, a dropdown?)

Outputs

  • Where are the images generated stored? Will their filename be unique?
  • What kind and of errors does the script throw?
  • How many different failure scenarios can you predict?
    • e.g. What if the inputs are wrong?
    • What if multiple users execute the same script at once? Will the script overwrite the output files of another execution?

@sroychow
Copy link
Contributor Author

  • Datataking_period: good question. Dropdown option seems to be the best choice. The data taking period is changed in once in ~2 months or so, and in that case the tool can be updated. Question - if the names of the data taking period are saved in a text file and pushed to the repo, will the tool be able to pick it up?
  • StreamExpressCosmics/StreamExpress : yes
  • Run number: yes int
  • Module list: a list of integers. The det id of the modules for which the plots are requested.

@sroychow
Copy link
Contributor Author

  • Example output file name: StreamExpressCosmics_ClusterDigiPosition__det__Summary_run_349840.png
    ClusterDigiPosition__det__Summary_run_.png

  • Output doesn't need to be stored. But users should have the ability to visualize and download the file.

  • What kind and of errors does the script throw? - have to test it. Mostly the failure scenario is if the input DQM file is missing. The other possible source of error is certificate issues.

  • What if multiple users execute the same script at once? - is it possible to put a lock on the number of users using the tool at the same time? In principle the plot name is unique, so it should not be overwritten - unless 2 users are running the script with the exact same inputs.

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

No branches or pull requests

2 participants