[SL21c] Backport TPC RS changes#466
Conversation
|
Hi Dmitri, could you help take a look the CI build? They seem not successful and likely will need your expert knowledge to investigate. Thanks |
|
Yes, I wanted to ask you about the PRs you approved and merged. In particular #417, I don't quite understand the purpose of this file StRoot/StTpcHitMaker/StTpcHitMaker.flow? I'd appreciate if you can clarify this for us. Another ambiguity (at least for me) is in #429 merged with message "change for yuri". Can you confirm that the run compatibility with run 22 (see the patch) is appropriate for SL21c and does not affect reprocessing of real data should we need to do one in the future? }
- if(do_cuts==1) { // ADDED in FY22, pp500
+ if(do_cuts==1 && run_compatibility >= 22) { // ADDED in FY22, pp500
// kill ONEDPAD unless they fall before the trigger
if((cl->t_max > 20) && (fla & FCF_ONEPAD)) return ;
}Thank you |
|
Hi Dmitri,
Thanks |
|
Xianglei, thanks to Dmitri for creating this PR to update the SL21c library for embedding. Since you did all the tests before, could you verify all these changes in this PR are consistent with what you tested before? Currently the CI build fails, since you did the test before, so presumably the codes should compile and run on RCF, correct? Thanks |
2bd170c to
267b782
Compare
|
Xin, OK, I will try to test it today or tomorrow. As Dmitri wrote in the S&C management list (thanks!), the test I have done before is not exactly the test for these PR's. I will try to test the code in PR's ASAP.
… On Dec 15, 2022, at 01:54, Xin Dong ***@***.***> wrote:
Xianglei, thanks to Dmitri for creating this PR to update the SL21c library for embedding. Since you did all the tests before, could you verify all these changes in this PR are consistent with what you tested before? Currently the CI build fails, since you did the test before, so presumably the codes should compile and run on RCF, correct? Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because your review was requested.
|
|
Thank you, Xianglei. That will be great. Cheers |
7f1885d to
e431493
Compare
star-bnl#417) …go(..., Clean ups, add prototypes for (i)TPC23 Co-authored-by: Dmitri Smirnov <dmixsmi@gmail.com> Co-authored-by: Xin Dong <XDong@lbl.gov>
In order to resolve the error:
```
g++ -m64 -fPIC -pipe -Wall -Woverloaded-virtual -std=c++0x -Wno-long-long -pthread -Wno-deprecated-declarations -O2 -g -falign-loops -falign-jumps -falign-functions -Dsl79_gcc485 -D__ROOT__ -DNEW_DAQ_READER -I. -IStRoot/StTpcHitMaker -IStRoot/RTS/src -IStRoot/RTS/include -IStRoot/RTS/trg/include -I. -IStRoot -I.sl79_gcc485/include -I/opt/software/linux-scientific7-x86_64/gcc-4.8.5/root-5.34.38-l3v6vso6qgojm4l2ctwjojs6trbt4hpn/include -c .sl79_gcc485/OBJ/StRoot/StTpcHitMaker/StTpcRTSHitMaker.cxx -o .sl79_gcc485/OBJ/StRoot/StTpcHitMaker/StTpcRTSHitMaker.o
.sl79_gcc485/OBJ/StRoot/StTpcHitMaker/StTpcRTSHitMaker.cxx: In member function 'virtual Int_t StTpcRTSHitMaker::InitRun(Int_t)':
.sl79_gcc485/OBJ/StRoot/StTpcHitMaker/StTpcRTSHitMaker.cxx:216:33: error: invalid conversion from 'const Char_t* {aka const char*}' to 'char*' [-fpermissive]
if (gain->from_file(fname, 0) < 0) {
^
In file included from .sl79_gcc485/OBJ/StRoot/StTpcHitMaker/StTpcRTSHitMaker.cxx:49:0:
StRoot/RTS/src/DAQ_TPX/tpxGain.h:142:6: error: initializing argument 1 of 'int tpxGain::from_file(char*, int)' [-fpermissive]
int from_file(char *fname, int sector = 0) ;
^
.sl79_gcc485/OBJ/StRoot/StTpcHitMaker/StTpcRTSHitMaker.cxx:150:19: warning: unused variable 'fnameITPC' [-Wunused-variable]
const Char_t *fnameITPC = "none";
^
cons: *** [.sl79_gcc485/OBJ/StRoot/StTpcHitMaker/StTpcRTSHitMaker.o] Error 1
cons: errors constructing .sl79_gcc485/OBJ/StRoot/StTpcHitMaker/StTpcRTSHitMaker.o
```
3d85086 to
af1626e
Compare
|
Thanks to Dmitri for assembling the PR#466 code, I have produced a proton test sample for Run19 AuAu19.6 GeV with SL21c + PR #466 (compiled the update RTS and StTpcHitMaker with cons). The QA plots can be found here Yuri and Tommy have confirmed that the TPC clusters from online and offline (with PR #466 code) cluster finders (SL21c) are consistent within 0.5%, see more comparison plots between online/offline cluster finders in this link: With this tests, I think the code in this PR are ready for merging into the SL21c branch. |
* All codes in PR #466 are included, to fix the offline cluster finder (PRs #417 and #429), update TpcRS parameter for Run19 (PR #463). * Codes in PR #281 are included, to fix the gating grid simulation and to fix the StMcEventMaker for iTPC simulation. These patches are needed for SL21d based embedding productions (Run18 Isobar st_hf/st_upc, Run19 FXT, Run20 FXT runs). Co-authored-by: Dmitri Smirnov <dmixsmi@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.