1919// O2 headers
2020#include " Framework/AnalysisTask.h"
2121#include " Framework/AnalysisDataModel.h"
22+ #include " Framework/HistogramRegistry.h"
2223#include " Framework/O2DatabasePDGPlugin.h"
2324#include " Framework/runDataProcessing.h"
2425
@@ -97,6 +98,30 @@ struct UpcTauCentralBarrelRL {
9798 Configurable<bool > doFourTrackPsi2S{" doFourTrackPsi2S" , true , {" Define histos for Psi2S into four charged tracks (pi/mu) and allow to fill them" }};
9899 Configurable<bool > doSixTracks{" doSixTracks" , false , {" Define histos for six tracks and allow to fill them" }};
99100
101+ ConfigurableAxis axisNtracks{" axisNtracks" , {30 , -0.5 , 29.5 }, " Number of tracks in collision" };
102+ ConfigurableAxis axisZvtx{" axisZvtx" , {40 , -20 ., 20 .}, " Z-vertex position (cm)" };
103+ ConfigurableAxis axisInvMass{" axisInvMass" , {400 , 1 ., 5 .}, " Invariant mass (GeV/c^{2})" };
104+ ConfigurableAxis axisInvMassWide{" axisInvMassWide" , {1000 , 0 ., 10 .}, " Invariant mass (GeV/c^{2}), wider range" };
105+ ConfigurableAxis axisMom{" axisMom" , {400 , 0 ., 2 .}, " Momentum (GeV/c)" };
106+ ConfigurableAxis axisMomWide{" axisMomWide" , {1000 , 0 ., 10 .}, " Momentum (GeV/c), wider range" };
107+ ConfigurableAxis axisMomSigned{" axisMomSigned" , {800 , -2 ., 2 .}, " Signed momentum (GeV/c)" };
108+ ConfigurableAxis axisPt{" axisPt" , {400 , 0 ., 2 .}, " Transversal momentum (GeV/c)" };
109+ ConfigurableAxis axisPhi{" axisPhi" , {64 , -2 * o2::constants::math::PI, 2 * o2::constants::math::PI}, " Azimuthal angle (a.y.)" };
110+ ConfigurableAxis axisModPhi{" axisModPhi" , {400 , 0 ., .4 }, " Track fmod(#phi,#pi/9)" };
111+ ConfigurableAxis axisEta{" axisEta" , {50 , -1.2 , 1.2 }, " Pseudorapidity (a.u.)" };
112+ ConfigurableAxis axisRap{" axisRap" , {50 , -1.2 , 1.2 }, " Rapidity (a.u.)" };
113+ ConfigurableAxis axisAcoplanarity{" axisAcoplanarity" , {32 , 0.0 , o2::constants::math::PI}, " Acoplanarity (rad)" };
114+ ConfigurableAxis axisTPCdEdx{" axisTPCdEdx" , {2000 , 0 ., 200 .}, " TPC dE/dx (a.u.)" };
115+ ConfigurableAxis axisTOFsignal{" axisTOFsignal" , {2500 , -10000 ., 40000 .}, " TOF signal (a.u.)" };
116+ ConfigurableAxis axisNsigma{" axisNsigma" , {200 , -10 ., 10 .}, " n sigma" };
117+ ConfigurableAxis axisDCA{" axisDCA" , {100 , -0.5 , 0.5 }, " DCA (cm)" };
118+ ConfigurableAxis axisAvgITSclsSizes{" axisAvgITSclsSizes" , {500 , 0 ., 10 .}, " ITS average cluster size" };
119+ ConfigurableAxis axisITSnCls{" axisITSnCls" , {8 , -0.5 , 7.5 }, " ITS n clusters" };
120+ ConfigurableAxis axisITSchi2{" axisITSchi2" , {100 , 0 , 50 }, " UTS chi2" };
121+ ConfigurableAxis axisTPCnCls{" axisTPCnCls" , {165 , -0.5 , 164.5 }, " TPC n clusters" };
122+ ConfigurableAxis axisTPCxRwsFrac{" axisTPCxRwsFrac" , {200 , 0.0 , 2.0 }, " TPC fraction of crossed raws" };
123+ ConfigurableAxis axisTPCchi2{" axisTPCchi2" , {100 , 0 , 10 }, " TPC chi2" };
124+
100125 using FullUDTracks = soa::Join<aod::UDTracks, aod::UDTracksExtra, aod::UDTracksDCA, aod::UDTracksPID, aod::UDTracksFlags>;
101126 using FullUDCollision = soa::Join<aod::UDCollisions, aod::UDCollisionsSels>::iterator;
102127 using FullSGUDCollision = soa::Join<aod::UDCollisions, aod::UDCollisionsSels, aod::SGCollisions, aod::UDZdcsReduced>::iterator;
@@ -114,30 +139,6 @@ struct UpcTauCentralBarrelRL {
114139 countCollisions = 0 ;
115140 isFirstReconstructedCollisions = true ;
116141
117- const AxisSpec axisNtracks{30 , -0.5 , 29.5 };
118- const AxisSpec axisZvtx{40 , -20 ., 20 .};
119- const AxisSpec axisInvMass{400 , 1 ., 5 .};
120- const AxisSpec axisInvMassWide{1000 , 0 ., 10 .};
121- const AxisSpec axisMom{400 , 0 ., 2 .};
122- const AxisSpec axisMomSigned{800 , -2 ., 2 .};
123- const AxisSpec axisMomWide{1000 , 0 ., 10 .};
124- const AxisSpec axisPt{400 , 0 ., 2 .};
125- const AxisSpec axisPhi{64 , -2 * o2::constants::math::PI, 2 * o2::constants::math::PI};
126- const AxisSpec axisModPhi{400 , 0 ., .4 };
127- const AxisSpec axisEta{50 , -1.2 , 1.2 };
128- const AxisSpec axisRap{50 , -1.2 , 1.2 };
129- const AxisSpec axisAcoplanarity{32 , 0.0 , o2::constants::math::PI};
130- const AxisSpec axisDCA{100 , -0.5 , 0.5 };
131- const AxisSpec axisAvgITSclsSizes{500 , 0 ., 10 .};
132- const AxisSpec axisTPCdEdx{2000 , 0 ., 200 .};
133- const AxisSpec axisTOFsignal{2500 , -10000 ., 40000 .};
134- const AxisSpec axisNsigma{200 , -10 ., 10 .};
135- const AxisSpec axisITSnCls{8 , -0.5 , 7.5 };
136- const AxisSpec axisITSchi2{100 , 0 , 50 };
137- const AxisSpec axisTPCnCls{165 , -0.5 , 164.5 };
138- const AxisSpec axisTPCxRwsFrac{200 , 0.0 , 2.0 };
139- const AxisSpec axisTPCchi2{100 , 0 , 10 };
140-
141142 histos.add (" Events/hCountCollisions" , " ;;Number of analysed collision (-)" , HistType::kTH1D , {{1 , 0.5 , 1.5 }});
142143 histos.add (" Events/UDtableGapSide" , " ;GapSide value from UD table (-);Number of events (-)" , HistType::kTH1D , {{4 , -1.5 , 2.5 }});
143144 histos.add (" Events/TrueGapSideDiffToTableValue" , " ;Difference trueGapSide from SGselector and gapSide from UD table (-);Number of events (-)" , HistType::kTH1D , {{7 , -3.5 , 3.5 }});
0 commit comments