File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2105,7 +2105,12 @@ struct tofSpectra { // o2-linter: disable=name/struct
21052105 }
21062106 const auto & mcCollision = collision.mcCollision_as <GenMCCollisions>();
21072107 const auto & particlesInCollision = mcParticles.sliceByCached (aod::mcparticle::mcCollisionId, mcCollision.globalIndex (), cache);
2108- const float multiplicity = getMultiplicity (collision);
2108+ float multiplicity = getMultiplicity (collision);
2109+ // ************************************RD**************************************************
2110+ if (includeCentralityMC) {
2111+ multiplicity = mcCollision.impactParameter ();
2112+ }
2113+ // ************************************RD**************************************************
21092114
21102115 for (const auto & mcParticle : particlesInCollision) {
21112116
You can’t perform that action at this time.
0 commit comments