@@ -405,7 +405,7 @@ struct LfTreeCreatorClusterStudies {
405405 return true ;
406406 }
407407
408- uint8_t selectV0MotherHypothesis (float massK0sV0, float massLambdaV0, float massAntiLambdaV0, float alphaAP, const o2::aod::V0& v0 )
408+ uint8_t selectV0MotherHypothesis (float massK0sV0, float massLambdaV0, float massAntiLambdaV0, float alphaAP)
409409 {
410410 uint8_t v0Bitmask (0 );
411411 if (std::abs (massK0sV0 - o2::constants::physics::MassK0Short) < v0setting_massWindowK0s) {
@@ -422,8 +422,8 @@ struct LfTreeCreatorClusterStudies {
422422
423423 template <typename Track>
424424 bool selectPidV0Daughters (Candidate& candidatePos, Candidate& candidateNeg, const Track& posTrack,
425- const Track& negTrack, const std::array<float , 3 >& momMother, const std::array<float , 3 >& decayVtx,
426- float qtAP, float radiusV0, uint8_t v0Bitmask)
425+ const Track& negTrack, const std::array<float , 3 >& momMother, const std::array<float , 3 >& /* decayVtx*/ ,
426+ float qtAP, float /* radiusV0*/ , uint8_t v0Bitmask)
427427 {
428428 if (TESTBIT (v0Bitmask, Lambda)) {
429429 if (qtAP < lambdasetting_qtAPcut)
@@ -571,7 +571,7 @@ struct LfTreeCreatorClusterStudies {
571571
572572 float correctedTpcInnerParam = track.tpcInnerParam ();
573573 bool heliumPID = track.pidForTracking () == o2::track::PID::Helium3 || track.pidForTracking () == o2::track::PID::Alpha;
574- correctedTpcInnerParam = (partID == PartID::he && he3setting_compensatePIDinTracking) ? track.tpcInnerParam () / 2 .f : track.tpcInnerParam ();
574+ correctedTpcInnerParam = (partID == PartID::he && he3setting_compensatePIDinTracking && heliumPID ) ? track.tpcInnerParam () / 2 .f : track.tpcInnerParam ();
575575
576576 m_hAnalysis.fill (HIST (cNames[partID]) + HIST (" /nSigmaTPC" ), track.p () * track.sign (), nsigmaTpc);
577577 m_hAnalysis.fill (HIST (cNames[partID]) + HIST (" /nSigmaITS" ), track.p () * track.sign (), nsigmaIts);
@@ -881,7 +881,7 @@ struct LfTreeCreatorClusterStudies {
881881 std::array<float , 2 >{o2::constants::physics::MassPionCharged, o2::constants::physics::MassPionCharged}));
882882 m_hAnalysis.fill (HIST (" Lambda_vs_K0s" ), massK0sV0, massLambdaV0);
883883
884- uint8_t v0Bitmask = selectV0MotherHypothesis (massK0sV0, massLambdaV0, massAntiLambdaV0, alphaAP, v0 );
884+ uint8_t v0Bitmask = selectV0MotherHypothesis (massK0sV0, massLambdaV0, massAntiLambdaV0, alphaAP);
885885 if (v0Bitmask == 0 || (v0Bitmask & (v0Bitmask - 1 )) != 0 ) {
886886 return ;
887887 }
@@ -1066,9 +1066,6 @@ struct LfTreeCreatorClusterStudies {
10661066 }
10671067 m_hAnalysis.fill (HIST (cNames[kPartID ]) + HIST (" /trackSelections" ), NucleiSelections::kNucleiPIDtof );
10681068
1069- const float itsNsigma = kPartID == static_cast <int >(PartID::de) ? m_responseITS.nSigmaITS <o2::track::PID::Deuteron>(track)
1070- : m_responseITS.nSigmaITS <o2::track::PID::Helium3>(track);
1071-
10721069 fillHistogramsParticle<kPartID , isMC>(track);
10731070
10741071 m_ClusterStudiesTable (
@@ -1258,7 +1255,7 @@ struct LfTreeCreatorClusterStudies {
12581255
12591256 Partition<TracksFullIU> posTracks = o2::aod::track::signed1Pt > 0 .f;
12601257 Partition<TracksFullIU> negTracks = o2::aod::track::signed1Pt < 0 .f;
1261- void processDataElectrons (CollisionsCustom::iterator const & collision, TracksFullIU const & tracks, aod::BCsWithTimestamps const &)
1258+ void processDataElectrons (CollisionsCustom::iterator const & collision, TracksFullIU const & /* tracks*/ , aod::BCsWithTimestamps const &)
12621259 {
12631260 if (!collisionSelection (collision)) {
12641261 return ;
@@ -1359,7 +1356,7 @@ struct LfTreeCreatorClusterStudies {
13591356
13601357 Partition<TracksFullIUMc> posTracksMc = o2::aod::track::signed1Pt > 0 .f;
13611358 Partition<TracksFullIUMc> negTracksMc = o2::aod::track::signed1Pt < 0 .f;
1362- void processMcElectrons (CollisionsCustomMc::iterator const & collision, TracksFullIUMc const & tracks, aod::BCsWithTimestamps const &, aod::McParticles const &, aod::McCollisions const &)
1359+ void processMcElectrons (CollisionsCustomMc::iterator const & collision, TracksFullIUMc const & /* tracks*/ , aod::BCsWithTimestamps const &, aod::McParticles const &, aod::McCollisions const &)
13631360 {
13641361 if (!collision.has_mcCollision ()) {
13651362 return ;
0 commit comments