Skip to content

Conversation

@victor-gonzalez
Copy link
Collaborator

So far a separated new task only tested by the
dpt-dpt correlations task

{
/* check the previous run number */
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
if (bc.runNumber() != mRunNumber) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is for caching, right? In the future the CCDBConfigurable will do this automatically.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good!
For the time being if the run number does not change the CCDB is only queried once

@victor-gonzalez victor-gonzalez marked this pull request as ready for review September 28, 2021 08:14
@victor-gonzalez victor-gonzalez requested review from a team, iarsene and ktf as code owners September 28, 2021 08:14
@victor-gonzalez
Copy link
Collaborator Author

Sorry!
Wrong action!
Not ready for reviewing yet!
Still in draft!

@victor-gonzalez victor-gonzalez marked this pull request as draft September 28, 2021 08:26
@victor-gonzalez
Copy link
Collaborator Author

@ekryshen I don't know how to formally add you to the reviewers of this draft PR
I hope it will be enough with this
Your inputs will be really appreciated
Thanks in advance!

@ddobrigk
Copy link
Collaborator

ddobrigk commented Oct 5, 2021

Hi @victor-gonzalez, thank you very very much, this looks very good! Note that the files I sent you contain also other estimators, such as CL0 and CL1, in them already and that this could be done in a second step.

For posterity, we may also want to have a broader discussion (with @jgrosseo and others) on standardizing estimator naming and especially how to proceed with the actual Run 3 data, where we may want to use FIT signals etc.

@victor-gonzalez
Copy link
Collaborator Author

Thanks @ddobrigk
Yes, the information in CCDB for CL0, CL1 and the other estimators, is already normalized and ready to be used by the centrality task. As the only information which is currently available/required is based on the V0M estimator, I believe it is better to go to production with only that estimator available (although based in V0A and V0C) and then progressively modify the centrality task to incorporate the other ones

@jgrosseo
Copy link
Contributor

jgrosseo commented Oct 5, 2021

Yes, before merging we should discuss the column names. Some of them should include Run2 I guess because we will not have an SPD in Run 3 for instance :)

@victor-gonzalez
Copy link
Collaborator Author

victor-gonzalez commented Oct 10, 2021

Now the PR incorporates the side effects on all affected files
The checks run correctly with three data files from LHC15o two of the same run and one additional one from a different run
The previous centrality task is replaced by the new one within the original source files

@jgrosseo
Copy link
Contributor

Very nice! We should add your converted centrality files then to the production CCDB - I have asked access for you. What would be a good prefix? Analysis/Centrality ?

@victor-gonzalez
Copy link
Collaborator Author

Analysis/Centrality seems appropriate
I will update the PR

@ekryshen
Copy link
Collaborator

Very nice! We should add your converted centrality files then to the production CCDB - I have asked access for you. What would be a good prefix? Analysis/Centrality ?

We already have /Centrality folder in the production CCDB:
http://alice-ccdb.cern.ch/browse
Similar to /EventSelection
Do you think it would be better to move everything to /Analysis? Then we should ask Costin to clean up.

@jgrosseo
Copy link
Contributor

Very nice! We should add your converted centrality files then to the production CCDB - I have asked access for you. What would be a good prefix? Analysis/Centrality ?

We already have /Centrality folder in the production CCDB: http://alice-ccdb.cern.ch/browse Similar to /EventSelection Do you think it would be better to move everything to /Analysis? Then we should ask Costin to clean up.

Sorry for this. Yes, we should keep the old path. However, then we cannot upload yet the objects, because the old centrality task will stop working...

@jgrosseo
Copy link
Contributor

@victor-gonzalez I would say then you adjust the table names (as discussed above), resolve the conflicts, and we ask people to test this PR (still using the test-ccdb). Then we can make a upload & merge in the same moment.

@victor-gonzalez
Copy link
Collaborator Author

Very good!
The upload takes few seconds only
Should we leave the current calibration for LHC15o?
I can remove it before uploading the new one

@victor-gonzalez
Copy link
Collaborator Author

victor-gonzalez commented Oct 13, 2021

Very nice! We should add your converted centrality files then to the production CCDB - I have asked access for you. What would be a good prefix? Analysis/Centrality ?

We already have /Centrality folder in the production CCDB: http://alice-ccdb.cern.ch/browse Similar to /EventSelection Do you think it would be better to move everything to /Analysis? Then we should ask Costin to clean up.

Sorry for this. Yes, we should keep the old path. However, then we cannot upload yet the objects, because the old centrality task will stop working...

The old path is Centrality/CumMultV0M which is not any longer representative because the new calibration information incorporates estimation from other detectors.
I guess we should use directly the Centrality prefix
But having in mind that the next step we are addressing is the pp multiplicity percentiles, does it make sense to have a common CentralityMultiplicity prefix?
@ddobrigk What do you think?

@jgrosseo
Copy link
Contributor

Thanks. So we will not have an issue with name clashes.
I see your point but CentralityMultiplicity is not nice. So due to lack of other suggestions I'd keep Centrality
You can then already upload your objects into Centrality/Estimators ?

@victor-gonzalez
Copy link
Collaborator Author

Tried, but I can only do it at http://alice-ccdb.cern.ch:8080/Centrality/Estimators
If I do it at http://alice-ccdb.cern.ch/Centrality/Estimators I got rejected
If done at http://alice-ccdb.cern.ch:8080 will it be automatically transferred to http://alice-ccdb.cern.ch at some point?

@victor-gonzalez
Copy link
Collaborator Author

Also the conflicts were resolved

@victor-gonzalez
Copy link
Collaborator Author

I'm not sure I understand the clang-format check error

@victor-gonzalez
Copy link
Collaborator Author

Ok!
Now I see them

@victor-gonzalez
Copy link
Collaborator Author

LHC15o, LHC18q and LHC18r centrality calibration and estimation information is already uploaded to the CCDB production endpoint under Centrality/Estimators
Nice output from the centrality-qa from three data files from two different runs from LHC15o
https://cernbox.cern.ch/index.php/s/PBnkasvlHFxkJgO

@jgrosseo jgrosseo marked this pull request as ready for review October 15, 2021 06:35
@jgrosseo
Copy link
Contributor

It does not compile. Can you rebase and update?

@jgrosseo jgrosseo merged commit bc2376a into AliceO2Group:master Oct 15, 2021
ddobrigk added a commit that referenced this pull request May 25, 2023
* Separate functions to alleviate memory issues

* Please consider the following formatting changes (#122)

---------

Co-authored-by: David Dobrigkeit Chinellato <david.dobrigkeit.chinellato.cern.ch>
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
adriansev pushed a commit to adriansev/O2Physics that referenced this pull request Jun 19, 2023
* Separate functions to alleviate memory issues

* Please consider the following formatting changes (AliceO2Group#122)

---------

Co-authored-by: David Dobrigkeit Chinellato <david.dobrigkeit.chinellato.cern.ch>
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
hahassan7 pushed a commit to hahassan7/O2Physics that referenced this pull request Jul 11, 2023
* Separate functions to alleviate memory issues

* Please consider the following formatting changes (AliceO2Group#122)

---------

Co-authored-by: David Dobrigkeit Chinellato <david.dobrigkeit.chinellato.cern.ch>
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
hahassan7 pushed a commit to hahassan7/O2Physics that referenced this pull request Oct 7, 2023
* Separate functions to alleviate memory issues

* Please consider the following formatting changes (AliceO2Group#122)

---------

Co-authored-by: David Dobrigkeit Chinellato <david.dobrigkeit.chinellato.cern.ch>
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
chengtt0406 pushed a commit to chengtt0406/O2Physics that referenced this pull request Dec 6, 2023
* Separate functions to alleviate memory issues

* Please consider the following formatting changes (AliceO2Group#122)

---------

Co-authored-by: David Dobrigkeit Chinellato <david.dobrigkeit.chinellato.cern.ch>
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants