@@ -58,8 +58,8 @@ struct ChJetTriggerQATask {
5858
5959 Configurable<std::string> evSel{" evSel" , " sel8" , " choose event selection" };
6060 Configurable<float > cfgVertexCut{" cfgVertexCut" , 10.0 , " Accepted z-vertex range" };
61- Configurable<float > cfgTPCVolume{" cfgTPCVolume" , 0.9 , " Full eta range" }; // eta range of TPC
62- Configurable<float > cfgJetR{" cfgJetR" , 0.4 , " jet resolution parameter" }; // jet cone radius
61+ Configurable<float > cfgTPCVolume{" cfgTPCVolume" , 0.9 , " Full eta range" }; // eta range of TPC
62+ Configurable<float > cfgJetR{" cfgJetR" , 0.4 , " jet resolution parameter" }; // jet cone radius
6363 Configurable<float > cfgJetPtMin{" cfgJetPtMin" , 0.15 , " minimum jet pT constituent cut" }; // minimum jet constituent pT
6464
6565 Configurable<float > cfgTrackPhiMinCut{" cfgTrackPhiMinCut" , -999 , " track min phi cut" };
@@ -74,8 +74,8 @@ struct ChJetTriggerQATask {
7474
7575 Configurable<float > phiAngleRestriction{" phiAngleRestriction" , 0.3 , " angle to restrict track phi for plotting tpc momentum" };
7676
77- ConfigurableAxis dcaXY_Binning{" dcaXY_Binning" , {100 , -5 ., 5 .}, " " };
78- ConfigurableAxis dcaZ_Binning{" dcaZ_Binning" , {100 , -5 ., 5 .}, " " };
77+ ConfigurableAxis dcaXY_Binning{" dcaXY_Binning" , {100 , -5 ., 5 .}, " " };
78+ ConfigurableAxis dcaZ_Binning{" dcaZ_Binning" , {100 , -5 ., 5 .}, " " };
7979
8080 float fiducialVolume; // 0.9 - jetR
8181
@@ -84,7 +84,8 @@ struct ChJetTriggerQATask {
8484 int eventSelection = -1 ;
8585 int trackSelection = -1 ;
8686
87- void init (InitContext&) {
87+ void init (InitContext&)
88+ {
8889 fiducialVolume = static_cast <float >(cfgTPCVolume) - static_cast <float >(cfgJetR);
8990 eventSelection = jetderiveddatautilities::initialiseEventSelection (static_cast <std::string>(evSel));
9091 trackSelection = jetderiveddatautilities::initialiseTrackSelection (static_cast <std::string>(trackSelections));
@@ -140,13 +141,13 @@ struct ChJetTriggerQATask {
140141
141142 // declare filters on jets
142143 Filter jetRadiusSelection = (aod::jet::r == nround(cfgJetR.node() * 100 .0f ));
143-
144+
144145 using filteredColl = soa::Filtered<soa::Join<JetCollisions, aod::JChTrigSels, aod::EvSels>>::iterator;
145146 using filteredJTracks = soa::Filtered<soa::Join<aod::JTracks, aod::JTrackPIs>>;
146147 // using Tracks = soa::Join<aod::Tracks, aod::TracksExtra>; // could be deleted? it is not iterator
147148 using filteredJets = soa::Filtered<soa::Join<aod::ChargedJets, aod::ChargedJetConstituents>>;
148149
149- void process (filteredColl const & collision, filteredJTracks const & tracks, filteredJets const & jets/* , Tracks const&*/ )
150+ void process (filteredColl const & collision, filteredJTracks const & tracks, filteredJets const & jets /* , Tracks const&*/ )
150151 {
151152
152153 if (!collision.selection_bit (aod::evsel::kNoTimeFrameBorder )) {
@@ -195,7 +196,7 @@ struct ChJetTriggerQATask {
195196 continue ;
196197 }
197198
198- if (originalTrack.itsNCls () >= 4 ){ // correspond to number of track hits in ITS layers
199+ if (originalTrack.itsNCls () >= 4 ) { // correspond to number of track hits in ITS layers
199200 auto dcaX = originalTrack.x () - collision.posX ();
200201 auto dcaY = originalTrack.y () - collision.posY ();
201202 spectra.fill (HIST (" DCAx_track_Phi_pT" ), dcaX, trk.phi (), trk.pt ());
0 commit comments