-
Notifications
You must be signed in to change notification settings - Fork 526
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
base: master
Are you sure you want to change the base?
Conversation
Please consider the following formatting changes to AliceO2Group#8879
Please consider the following formatting changes to AliceO2Group#8879
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, ""}; |
There was a problem hiding this comment.
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
// 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 |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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
Please consider the following formatting changes to AliceO2Group#9045
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.