2121#include " Common/DataModel/PIDResponseTPC.h"
2222#include " Common/DataModel/TrackSelectionTables.h"
2323
24- #include " CCDB/BasicCCDBManager.h"
25- #include " Framework/ASoAHelpers.h"
26- #include " Framework/AnalysisDataModel.h"
27- #include " Framework/AnalysisTask.h"
28- #include " Framework/HistogramRegistry.h"
29- #include " Framework/HistogramSpec.h"
30- #include " Framework/O2DatabasePDGPlugin.h"
31- #include " Framework/runDataProcessing.h"
32-
24+ #include < CCDB/BasicCCDBManager.h>
25+ #include < CommonConstants/PhysicsConstants.h>
26+ #include < Framework/ASoAHelpers.h>
27+ #include < Framework/AnalysisDataModel.h>
28+ #include < Framework/AnalysisHelpers.h>
29+ #include < Framework/AnalysisTask.h>
30+ #include < Framework/Configurable.h>
31+ #include < Framework/HistogramRegistry.h>
32+ #include < Framework/HistogramSpec.h>
33+ #include < Framework/InitContext.h>
34+ #include < Framework/O2DatabasePDGPlugin.h>
35+ #include < Framework/OutputObjHeader.h>
36+ #include < Framework/runDataProcessing.h>
37+
38+ #include < TH2.h>
3339#include < TPDGCode.h>
3440
3541#include < algorithm>
42+ #include < array>
43+ #include < cstddef>
44+ #include < cstdint>
45+ #include < cstdlib>
3646#include < string>
47+ #include < string_view>
3748#include < vector>
3849
3950using namespace o2 ;
@@ -112,6 +123,17 @@ struct NchCumulantsId {
112123 Configurable<float > cfgCutPtMax{" cfgCutPtMax" , 3.0 , " max cut for pT" };
113124 Configurable<float > cfgCutPtMin{" cfgCutPtMin" , 0.15 , " min cut for pT" };
114125
126+ ConfigurableAxis axisNch{" axisNch" , {1200 , -60.0 , 60.0 }, " Net_charge_dN" };
127+ ConfigurableAxis axisPosCh{" axisPosCh" , {3010 , -0.5 , 300.5 }, " Pos_charge" };
128+ ConfigurableAxis axisNegCh{" axisNegCh" , {3010 , -0.5 , 300.5 }, " Neg_charge" };
129+ ConfigurableAxis axisNt{" axisNt" , {8010 , -0.5 , 800.5 }, " Mult_midRap_Nch" };
130+ ConfigurableAxis axisPrCh{" axisPrCh" , {3010 , -0.5 , 300.5 }, " Pr_charge" };
131+ ConfigurableAxis axisAPrCh{" axisAPrCh" , {3010 , -0.5 , 300.5 }, " APr_charge" };
132+ ConfigurableAxis axisKaCh{" axisKaCh" , {3010 , -0.5 , 300.5 }, " Ka_charge" };
133+ ConfigurableAxis axisAKaCh{" axisAKaCh" , {3010 , -0.5 , 300.5 }, " AKa_charge" };
134+ ConfigurableAxis axisPiCh{" axisPiCh" , {3010 , -0.5 , 300.5 }, " Pion_Positive" };
135+ ConfigurableAxis axisAPiCh{" axisAPiCh" , {3010 , -0.5 , 300.5 }, " Pion_Negative" };
136+
115137 Configurable<bool > checkCollPosZMc{" checkCollPosZMc" , false , " checkCollPosZMc" };
116138 Configurable<bool > flagUnusedVariableError{" flagUnusedVariableError" , false , " flagUnusedVariableError" };
117139 Configurable<bool > cfgDoRejectionForId{" cfgDoRejectionForId" , false , " Apply rejection cut before PID selection (selTrackForId)" };
@@ -121,7 +143,7 @@ struct NchCumulantsId {
121143 Configurable<bool > cfgEvSel03doIsGoodITSLayersAll{" cfgEvSel03doIsGoodITSLayersAll" , true , " apply kIsGoodITSLayersAll" };
122144
123145 // Configurables for particle Identification
124- Configurable<bool > cfgId01CheckVetoCut{" cfgId01CheckVetoCut" , false , " cfgId01CheckVetoCut" };
146+ Configurable<bool > cfgId01CheckVetoCut{" cfgId01CheckVetoCut" , true , " cfgId01CheckVetoCut" };
125147 Configurable<bool > cfgId02DoElRejection{" cfgId02DoElRejection" , true , " cfgId02DoElRejection" };
126148 Configurable<bool > cfgId03DoDeRejection{" cfgId03DoDeRejection" , false , " cfgId03DoDeRejection" };
127149 Configurable<bool > cfgId04DoPdependentId{" cfgId04DoPdependentId" , true , " cfgId04DoPdependentId" };
@@ -246,17 +268,6 @@ struct NchCumulantsId {
246268 const AxisSpec axisTOFNSigma = {200 , -10.0 , 10.0 , " n#sigma_{TOF}" };
247269 const AxisSpec axisTOFExpMom = {200 , 0 .0f , 10 .0f , " #it{p}_{tofExpMom} (GeV/#it{c})" };
248270
249- const AxisSpec axisNch (100 , -50 , 50 , " Net_charge_dN" );
250- const AxisSpec axisPosCh (101 , -1 , 100 , " Pos_charge" );
251- const AxisSpec axisNegCh (101 , -1 , 100 , " Neg_charge" );
252- const AxisSpec axisNt (201 , -1 , 200 , " Mult_midRap_Nch" );
253- const AxisSpec axisPrCh (101 , -1 , 100 , " Pr_charge" );
254- const AxisSpec axisAPrCh (101 , -1 , 100 , " APr_charge" );
255- const AxisSpec axisKaCh (101 , -1 , 100 , " Ka_charge" );
256- const AxisSpec axisAKaCh (101 , -1 , 100 , " AKa_charge" );
257- const AxisSpec axisPiCh (101 , -1 , 100 , " Pion_Positive" );
258- const AxisSpec axisAPiCh (101 , -1 , 100 , " Pion_Negative" );
259-
260271 const AxisSpec axisIdTag = {32 , -0 .5f , 31 .5f , " idTag" };
261272 const AxisSpec axisMcTag = {32 , -0 .5f , 31 .5f , " mcTag" };
262273
0 commit comments