Skip to content
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

[PWGCF] Change output structure and implement centrality dependence #9045

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

omassen
Copy link
Contributor

@omassen omassen commented Dec 18, 2024

Changed the structure how the histograms are stored in the output file, using folders for the A- and C-side of the ZDC. Also implemented a more realistic way of filling the histograms for the different sectors on the two sides. Finally a maximum centrality limit and centrality dependence was implemented for most histograms.

@github-actions github-actions bot added the pwgcf label Dec 18, 2024
@github-actions github-actions bot changed the title Change output structure and implement centrality dependence [PWGCF] Change output structure and implement centrality dependence Dec 18, 2024
Please consider the following formatting changes to AliceO2Group#9045
void init(InitContext const&)
{
// define axes you want to use
const AxisSpec axisCounter{4, 0, +2, ""};
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would suggest starting the x axis in -0.5 and run it up to the number of decided bins plus 0.5
Then use an enum to define named constants for each case wanted wanted to be considered and use that named constants to fill the histogram
Also the different bins can also have its own name if so is decided

Comment on lines 46 to 47
// Configurable<int> cfgCentralityEstimator{"cfgCentralityEstimator", 0, "Choice of centrality estimator"};//0 for FTOC, 1 for FTOA, 2 for FTOM, 3 for FVOA. //To be included at a later stage
// Configurable<bool> cfgProcessRun2{"cfgProcessRun2", false, "Analyse Run 2 converted data"};//To be included at a later stage
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please, for the next iteration don't leave code commented

void processRun3(soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, CentralitiesRun3>>::iterator const& collision, BCsRun3 const&, aod::Zdcs const&)
{
if (!collision.sel8()) {
histos.fill(HIST("eventCounter"), 0.25);
Copy link
Collaborator

Choose a reason for hiding this comment

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

See my previous comment

Please consider the following formatting changes to AliceO2Group#9045
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants