Skip to content

[PWGDQ] New analysis task for asymmetric barrel pairs. Implement reduced ZDC table.#5948

Merged
iarsene merged 6 commits intoAliceO2Group:masterfrom
sigurdnese:dev1
May 2, 2024
Merged

[PWGDQ] New analysis task for asymmetric barrel pairs. Implement reduced ZDC table.#5948
iarsene merged 6 commits intoAliceO2Group:masterfrom
sigurdnese:dev1

Conversation

@sigurdnese
Copy link
Contributor

Implement reduced ZDC table, which is filled in table-maker-with-assoc.
New analysis task for asymmetric barrel pairs, e.g. D0->K-pi+.

VarManager::fgValues[VarManager::kTimestamp] = bc.timestamp();
VarManager::fgValues[VarManager::kRunIndex] = VarManager::GetRunIndex(bc.runNumber());
VarManager::FillEvent<TEventFillMap>(collision); // extract event information and place it in the fValues array
if constexpr ((TEventFillMap & VarManager::ObjTypes::Zdc) > 0) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Open to cosmetic changes and suggestions regarding this block. Maybe there is somewhere better to put this?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think its fine like this

iarsene
iarsene previously approved these changes May 2, 2024
VarManager::fgValues[VarManager::kTimestamp] = bc.timestamp();
VarManager::fgValues[VarManager::kRunIndex] = VarManager::GetRunIndex(bc.runNumber());
VarManager::FillEvent<TEventFillMap>(collision); // extract event information and place it in the fValues array
if constexpr ((TEventFillMap & VarManager::ObjTypes::Zdc) > 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think its fine like this

fHistMan->FillHistClass(histNames[icut][8].Data(), VarManager::fgValues);
}
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

The split of the histogramming for in bunch and out of bunch ambiguity could be useful, but if you didn't wanted it for now, you don't have to add it. In my case, for the same-event pairing, i had to understand a bit some of the effects on jpsi. But anyway, i think it might be useful for you as well. So maybe leave it as it is.

@sigurdnese sigurdnese marked this pull request as ready for review May 2, 2024 11:26
@iarsene
Copy link
Collaborator

iarsene commented May 2, 2024

This PR is modifying the reduced data model file, by adding a table with ZDC information. We agreed today at the O2 DQ to have discussions in the meeting before touching core aspects of the framework, such as core workflows or the data model. However, because there is a time component for this case, and because it just adds a new table (not modifying an old one), i approved and merged this PR.

@iarsene iarsene enabled auto-merge (squash) May 2, 2024 12:29
@iarsene iarsene merged commit 5a1dce9 into AliceO2Group:master May 2, 2024
christianreckziegel pushed a commit to christianreckziegel/O2Physics that referenced this pull request May 7, 2024
…ced ZDC table. (AliceO2Group#5948)

* New analysis task for asymmetric barrel pairs, e.g. D0->K-pi+
Implement reduced ZDC table, which is filled in table-maker-with-assoc

* Remove debug histograms

* Please consider the following formatting changes

* MegaLinter comments

* More MegaLinter comments

---------

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
@sigurdnese sigurdnese deleted the dev1 branch May 15, 2024 12:31
hahassan7 pushed a commit to hahassan7/O2Physics that referenced this pull request May 17, 2024
…ced ZDC table. (AliceO2Group#5948)

* New analysis task for asymmetric barrel pairs, e.g. D0->K-pi+
Implement reduced ZDC table, which is filled in table-maker-with-assoc

* Remove debug histograms

* Please consider the following formatting changes

* MegaLinter comments

* More MegaLinter comments

---------

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
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.

3 participants