Closed fisyak closed 1 year ago
Hello Yuri,
Few questions:
Irakli
Hi Xin, to finish verification I need to have this corrections to be propagated to dev version and run on the calibration sample. After this verification I plan to present the modifications to TPC and S&C groups. This version should work with heavy particles (up to triton). For He3 and He4 I need additional modification on which I am still working. Hi Irakli, root-files were committed by mistake. I have removed them. I need a new table in MySQL and for time being I am using soft links for these tables. .
Here is how these changes can be tested before they are merged into main.
star-sw-root5-build
link under ArtifactsOn SDCC only singularity is available, so the above would look like this (actual commands):
$ curl -L -u token:<YOUR_GH_TOKEN> https://api.github.com/repos/star-bnl/star-sw/actions/artifacts/246519433/zip | gunzip -d > star-sw-root5-build.tar
$ singularity build star-sw-root5-build.sif docker-archive://star-sw-root5-build.tar
The above setup should take only a few minutes. Now run your bfc.C chain. I am using one of the nightly tests as an example:
$ singularity run -e -B /gpfs01:/gpfs01 star-sw-root5-build.sif root4star -b -q 'bfc.C(10, \"P2018a,StiCA,btof,mtd,PicoVtxDefault,BEmcChkStat,QAalltrigs,OSpaceZ2,OGridLeak3D,-hitfilt\", \"/gpfs01/star/rcf/test/daq/2018/136/st_physics_19136012_raw_1000016.daq\")'
Dmitry, the test of compilation and run I do before committing any changes. The test which you have proposed have been done during the standard checks. The system which you have developed is blocking release of dev library and this does block verification of these commits with respect to all calibration samples which I need to do. .
Xin, whenever you think this is ready to be merged just let the Infrastructure team know and it will be merged.
Hi Dmitry A. could you please take a look at the proposed changes to the StDetectorDbMaker etc.? If you have no objection, please feel free to approve the request.
Hi Dmitri S., on the suggested changes you mentioned, do the current CI build tests cover it already?
Thanks
on the suggested changes you mentioned, do the current CI build tests cover it already?
Here is the list of tests covered by the CI https://github.com/star-bnl/star-sw/blob/main/tests/joblist.json
Hi Xin,
StDetectorDbMaker is Yuri's code and is used by TPC only. I cannot review a PR that contains many changes to TPC-specific codes as I am not an expert in TPC.
Meanwhile, I am still working on six new tables requested by Yuri. Would have been more efficient if IDL files were coming in a separate PR though.
-Dmitry
On Fri, May 20, 2022 at 12:12 PM Xin Dong @.***> wrote:
Hi Dmitry A. could you please take a look at the proposed changes to the StDetectorDbMaker etc.? If you have no objection, please feel free to approve the request.
Hi Dmitri S., on the suggested changes you mentioned, do the current CI build tests cover it already?
Thanks
— Reply to this email directly, view it on GitHub https://github.com/star-bnl/star-sw/pull/353#issuecomment-1133083189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWGXQG7NAMNDWTW3AQ3W5LVK62VZANCNFSM5WGSCEGQ . You are receiving this because your review was requested.Message ID: @.***>
Ah, Dmitri, my understanding of your suggestion is that Yuri can work on the downstream tests (which depends on these changes) following your suggest while this PR is under review. The test from the proponent is not the requirement (presumably CI builds cover the tests for this PR) for this PR to be approved. Correct?
Xin, in my comment I was not asking Yuri to run any specific test. Using one of the tests as an example, I just showed how one can run additional root4star jobs (if needed) by using the libraries already built from this PR branch. It was my understanding that Yuri has not finalized this work and there is more to come.
Anyway, if Yuri can run his jobs on the farm only when the libraries are in /afs then the only option for us is to merge this now as is.
All eight tables requested by Yuri are now implemented in the database: https://online.star.bnl.gov/dbExplorer/#Calibrations/tpc/
Thanks, Dmitry
Hi Dmitry, I think to move the PR forward, it will need your approval to proceed. Would please help review and comment/approve this PR? Thanks
Hi Xin,
As I explained earlier, StDetectorDbMaker is not a generic DB API code and I do not maintain it. Yuri maintains StDetectorDbMaker, AFAIK. Generic DB codes I maintain are: StDbLib (core DB API library, not ROOT-dependent), StDbBroker (broker between StDbLib and St_db_Maker) and St_db_Maker (framework API, ROOT-dependent). Also, I manage db-stored data and db-stored descriptors. The only "code" I can review in this request is IDLs describing data structures. I did create appropriate db tables and STAR db API descriptors for those IDLs, but I know nothing about other code changes. Can't be made responsible for something I have no relation to.
Thanks for the understanding, Dmitry
On Thu, May 26, 2022 at 2:23 PM Xin Dong @.***> wrote:
Hi Dmitry, I think to move the PR forward, it will need your approval to proceed. Would please help review and comment/approve this PR? Thanks
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because your review was requested.Message ID: @.***>
Xin, I've looked through the changes in StDetectorDbMaker. There are mainly new class wrappers around the new DB structs with some methods added... I don't see any significant changes in the logic. I believe the primary concern may be in the new calibration values inserted in the database and in the CINT files in StarDb/ . These may affect reconstructed tracks of course. But unless there is an independent QA check, we can only rely on the nightly tests to make sure there are no unexpected changes. So, I'd say we merge and keep an eye on the metric we have.
we can only rely on the nightly tests to make sure there are no unexpected changes.
Just a follow-up on this note from @plexoos : Yesterday, the nightly tests did identify an issue with running simulations in old libraries caused by the initially proposed and implemented (on Tuesday) database table modifications. @fisyak 's 82b0736f2bfa545dc57b1d131d9aefa4c8ab8574 commit this morning is a response to the observed issue. I expect the issue is resolved by today's commit and database change that @dmarkh helped with, but I haven't seen a confirming test of that yet. The nightly test should confirm tonight if no one tests it before then.
Thank you all for the comments. Dmitri, I would suggest let us merge this request. We will watch the nightly test and other further tests.
Hi Yuri,
Thank you for putting this PR. My understanding is that this will also include the dEdx correction for heavier particles that we see in previous iTPC production. Not sure if this is late, do you think it is possible that you can discuss this and your test results at the S&C management meeting tomorrow? Thanks