-
Notifications
You must be signed in to change notification settings - Fork 484
dev: ctp config/counters to ccdb #8629
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
Conversation
|
Hi @shahor02 , I have question on the code. |
|
@lietava you can do the same as for the https://github.com/lietava/AliceO2/blob/d0d478643e48c6c313c4143bbed9357058932a76/Detectors/CTP/workflowScalers/src/ctp-proxy.cxx#L50 BTW, you should not populate production CCDB with the objects of infinite coverage, https://github.com/lietava/AliceO2/blob/d0d478643e48c6c313c4143bbed9357058932a76/Detectors/CTP/workflowScalers/src/ctp-proxy.cxx#L67-L68, could you set the tmin/tmax to smallest reasonable range? |
|
Hi @shahor02 , thanks for code. |
|
@lietava is this config created per run? If so, there is no point in having > 106h validity (max orbit reset period). |
|
@shahor02: yes, config is per run as well as counters. I have not understood concept ValidityTimestamp, |
|
HI @shahor02, I have technical problem. I got segmentation violation when trying to push to std::vector. I played with it a lot but I am stuck. Either I am overlooking something simple or there is something which I do not know about c++. |
|
Hi @lietava |
|
HI @shahor02 , copy constructor/=operator I introduced when I have started to have problems. I removed them now. I initilise CTPClass variables now. |
|
@lietava but the log you've attached does not show any crash: I see the message |
|
Hmm, just run now: *** Break *** segmentation violation =========================================================== |
|
can you run it compiled, i.e. |
|
compiled it does not crash. Ok, I am running new valgrind. |
|
if the problem persists only with interpreted macro, could you try to move the line
|
|
if I remove line outside of if: Here is uncompiled valgrind: |
|
ok, will need to fetch and build your branch, but can do this only tomorrow. |
Thanks. |
|
Hi @lietava |
|
HI @shahor02 , thanks a lot. I give up and start from last AliceO2Group/dev commit. |
|
@lietava I guess you have a problem with your local build, perhaps it is worth to wipe out alice/sw and rebuild from scratch. |
|
@shahor02 I already pushed force from AliceO2. Are these commits in my repo lost ? |
|
Yes. But I have your branch version which I was testing, from April 26 In case you need it: https://github.com/shahor02/AliceO2/tree/ctpdev_Apr26 |
|
Thanks, Ruben. |
|
@shahor02 if I want to enter two different entities in ccdb - counters and config - how I distinguish them ? |
Not sure understood the question, are you asking how to have 2 separate objects? |
|
yes, I have two separate objects. |
|
database recognize them using root dictionary ? |
|
No, CCDB knows nothing about the content of the objects. |
No description provided.