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

Update to trigger simulator to save intermediate jet patch ADCs and minor cleanup to the jet maker #424

Merged
merged 13 commits into from
Dec 7, 2022

Conversation

zlchang
Copy link
Member

@zlchang zlchang commented Oct 27, 2022

  1. Update to the trigger simulator to save the intermediate jet patch sum ADCs and make them available to access for analysis. In this case save the 30 jet patch ADCs in the StJetSkimEvent.
  2. Remove unnecessary printouts in the StJetMaker2012 during the UE offaxis cone calculation

Not urgent! May add additional edits if necessary.

@@ -28,10 +28,10 @@ void DSMAlgo_BC101_2015::operator()(DSM& dsm)

// ACTION:

unsigned int jpx; // East (-1 < eta < 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

This change presumes that jpx y and z can be negative. Are these jetpatch sums? If so, can they actually be negative? Looking at the code does not make that obvious to me. You only increment by values which I presume are all expected to be positive.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi Jason, yes these are jet patch adc sums. They are 6-bit integers, so it doesn't matter if it's int or unsigned int.

@plexoos
Copy link
Member

plexoos commented Nov 3, 2022

Not urgent! May add additional edits if necessary.

You can mark it as draft until it's ready. Also, could you please give it a concise title and put details in the description? By default the final commit will inherit that from the PR when we squash and merge. Thanks

@plexoos plexoos marked this pull request as draft November 7, 2022 16:51
@zlchang
Copy link
Member Author

zlchang commented Nov 8, 2022

Hi guys, any comment on this request?

@plexoos
Copy link
Member

plexoos commented Nov 8, 2022

Hi guys, any comment on this request?

Did you see the comment from Jason?
Can you change the title of this PR as suggested?

@zlchang zlchang changed the title 1) Update to the trigger simulator to save the intermediate jet patch sum ADCs and make them available to access for analysis. In this case save the 30 jet patch ADCs in the StJetSkimEvent. 2) Remove unnecessary printouts in the StJetMaker2012 during the UE offaxis cone calculation Update to trigger simulator to save intermediate jet patch ADCs and minor cleanup to the jet maker Nov 8, 2022
@zlchang
Copy link
Member Author

zlchang commented Nov 8, 2022

  1. Update to the trigger simulator to save the intermediate jet patch sum ADCs and make them available to access for analysis. In this case save the 30 jet patch ADCs in the StJetSkimEvent. 2) Remove unnecessary printouts in the StJetMaker2012 during the UE offaxis cone calculation

@plexoos
Copy link
Member

plexoos commented Nov 9, 2022

Unrelated to this PR but related to the modified files you are the owner of. There is a bunch of compiler warnings coming from StRoot/StTriggerUtilities/Bemc/StBemcTriggerSimu.cxx and StRoot/StTriggerUtilities/Eemc/StEemcTriggerCompare.cxx. Could you please address them in a separate PR?

@zlchang
Copy link
Member Author

zlchang commented Nov 10, 2022

Okay I will look at the warning message and try to correct them.

Unrelated to this PR but related to the modified files you are the owner of. There is a bunch of compiler warnings coming from StRoot/StTriggerUtilities/Bemc/StBemcTriggerSimu.cxx and StRoot/StTriggerUtilities/Eemc/StEemcTriggerCompare.cxx. Could you please address them in a separate PR?

@zlchang
Copy link
Member Author

zlchang commented Nov 10, 2022

Any comments or suggestions, @akioogawa @jml985 and @veprbl

@zlchang zlchang marked this pull request as ready for review November 10, 2022 17:54
Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

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

Sorry for the delay! I must admit, I have no idea what issue are you trying to resolve here. Was this presented anywhere? How one can see what isn't going right without it? Are any of the existing analyses affected?

@zlchang
Copy link
Member Author

zlchang commented Nov 21, 2022

Hi Akio @akioogawa and Jeff @jml985, any comment or question? In case you missed it, I also presented this update to our cold qcd group. https://drupal.star.bnl.gov/STAR/system/files/run17trgSimu.pdf

@plexoos
Copy link
Member

plexoos commented Nov 21, 2022

If you don't get a response from the nominal code owners in a reasonable time, just let us know here and we'll merge.

@starsdong
Copy link
Member

Dmitri, I would suggest to merge this one after this branch is synced with the main. Thanks

@starsdong
Copy link
Member

Zilong, could you please update your branch to be sync with main? Then after the CI checks out, let us merge this PR then. Thanks

@plexoos
Copy link
Member

plexoos commented Dec 7, 2022

Xin, are you approving this PR?

@zlchang
Copy link
Member Author

zlchang commented Dec 7, 2022 via email

@plexoos
Copy link
Member

plexoos commented Dec 7, 2022

Hi Zilong, Yes, please address compiler warnings in another pull request as we discussed. Thank you.

@plexoos plexoos merged commit 5350d16 into star-bnl:main Dec 7, 2022
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

Successfully merging this pull request may close these issues.

5 participants