@@ -63,7 +63,7 @@ using namespace o2::constants::physics;
6363
6464struct lambdapolarization {
6565 // using EventCandidates = soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::FT0Mults, aod::FV0Mults, aod::TPCMults, aod::CentFV0As, aod::CentFT0Ms, aod::CentFT0Cs, aod::CentFT0As, aod::Mults>>;
66- using EventCandidates = soa::Join<aod::Collisions, aod::EvSels, aod::FT0Mults, aod::FV0Mults, aod::TPCMults, aod::CentFV0As, aod::CentFT0Ms, aod::CentFT0Cs, aod::CentFT0As, aod::Mults, aod::Qvectors>;
66+ using EventCandidates = soa::Join<aod::Collisions, aod::EvSels, aod::FT0Mults, aod::FV0Mults, aod::TPCMults, aod::CentFV0As, aod::CentFT0Ms, aod::CentFT0Cs, aod::CentFT0As, aod::Mults, aod::Qvectors, aod::CentFT0CVariant2s >;
6767 using TrackCandidates = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::TrackSelection, aod::pidTPCFullPi, aod::pidTPCFullPr>;
6868 using V0TrackCandidate = aod::V0Datas;
6969
@@ -84,6 +84,7 @@ struct lambdapolarization {
8484
8585 Configurable<float > cfgCentSel{" cfgCentSel" , 80 ., " Centrality selection" };
8686 Configurable<int > cfgCentEst{" cfgCentEst" , 1 , " Centrality estimator, 1: FT0C, 2: FT0M" };
87+ Configurable<bool > cfgCentEstFT0CVariant2{" cfgCentEstFT0CVariant2" , false , " flag to replace the estimator with centFT0CVariant2" };
8788
8889 Configurable<bool > cfgPVSel{" cfgPVSel" , false , " Additional PV selection flag for syst" };
8990 Configurable<float > cfgPV{" cfgPV" , 8.0 , " Additional PV selection range for syst" };
@@ -918,6 +919,9 @@ struct lambdapolarization {
918919 {
919920 if (cfgCentEst == 1 ) {
920921 centrality = collision.centFT0C ();
922+ if (cfgCentEstFT0CVariant2) {
923+ centrality = collision.centFT0CVariant2 ();
924+ }
921925 } else if (cfgCentEst == 2 ) {
922926 centrality = collision.centFT0M ();
923927 }
0 commit comments