@@ -38,18 +38,18 @@ using namespace o2::framework::expressions;
3838// / Λb0 analysis task
3939struct HfTaskLb {
4040 Configurable<int > selectionFlagLb{" selectionFlagLb" , 0 , " Selection Flag for Lb" };
41- Configurable<double > yCandGenMax{" yCandGenMax" , 0.5 , " max. gen particle rapidity" };
42- Configurable<double > yCandRecoMax{" yCandRecoMax" , 0.8 , " max. cand. rapidity" };
43- Configurable<double > DCALengthParameter{" DCALengthParameter" , 0.02 , " decay length for DCA" };
44- Configurable<double > minLikelihoodRatio{" minLikelihoodRatio" , 10 ., " min. likelihood ratio for combined DCAs" };
45- Configurable<double > minLikelihoodRatioLc{" minLikelihoodRatioLc" , 10 ., " min. likelihood ratio for Lc cross check" };
46- Configurable<double > mDiffKStar892Max {" mDiffKStar892Max" , 0.0473 , " Accepted range around KStar mass peak" };
47- Configurable<double > mDiffDelta1232Max {" mDiffDelta1232Max" , 0.117 , " Accepted range around Delta mass peak" };
48- Configurable<double > mDiffLambda1520Max {" mDiffLambda1520Max" , 0.016 * 2 ., " Accepted range around Lambda 1520 mass peak" };
49- Configurable<double > mDiffLcMax {" mDiffLcMax" , 0.1 , " Accepted range around LambdaC mass peak for filling two body mass histograms" };
50- Configurable<double > maximumImpactParameterForLambdaCCrossChecks{" maximumImpactParameterForLambdaCCrossChecks" , 0.2 , " maximum d0 for LambdaC checks" };
51- Configurable<double > resoCorrectionFactor{" resoCorrectionFactor" , 1.1 , " Resolution correction compared to reconstruction estimate" };
52- Configurable<double > largeLifetimeBG{" largeLifetimeBG" , 0.01 , " fraction of strange contribution within 2mm" };
41+ Configurable<float > yCandGenMax{" yCandGenMax" , 0.5 , " max. gen particle rapidity" };
42+ Configurable<float > yCandRecoMax{" yCandRecoMax" , 0.8 , " max. cand. rapidity" };
43+ Configurable<float > DCALengthParameter{" DCALengthParameter" , 0.02 , " decay length for DCA" };
44+ Configurable<float > minLikelihoodRatio{" minLikelihoodRatio" , 10 ., " min. likelihood ratio for combined DCAs" };
45+ Configurable<float > minLikelihoodRatioLc{" minLikelihoodRatioLc" , 10 ., " min. likelihood ratio for Lc cross check" };
46+ Configurable<float > mDiffKStar892Max {" mDiffKStar892Max" , 0.0473 , " Accepted range around KStar mass peak" };
47+ Configurable<float > mDiffDelta1232Max {" mDiffDelta1232Max" , 0.117 , " Accepted range around Delta mass peak" };
48+ Configurable<float > mDiffLambda1520Max {" mDiffLambda1520Max" , 0.016 * 2 ., " Accepted range around Lambda 1520 mass peak" };
49+ Configurable<float > mDiffLcMax {" mDiffLcMax" , 0.1 , " Accepted range around LambdaC mass peak for filling two body mass histograms" };
50+ Configurable<float > maximumImpactParameterForLambdaCCrossChecks{" maximumImpactParameterForLambdaCCrossChecks" , 0.2 , " maximum d0 for LambdaC checks" };
51+ Configurable<float > resoCorrectionFactor{" resoCorrectionFactor" , 1.1 , " Resolution correction compared to reconstruction estimate" };
52+ Configurable<float > largeLifetimeBG{" largeLifetimeBG" , 0.01 , " fraction of strange contribution within 2mm" };
5353 Configurable<std::vector<double >> binsPt{" binsPt" , std::vector<double >{hf_cuts_lb_to_lc_pi::vecBinsPt}, " pT bin limits" };
5454
5555 HfHelper hfHelper;
@@ -209,16 +209,16 @@ struct HfTaskLb {
209209 double mDiffKStar892 = std::abs (mRecoKstar - massKStar892);
210210 double mDiffDelta1232 = std::abs (mRecoDelta1232 - massDelta1232);
211211 double mDiffLambda1520 = std::abs (mRecoLambda1520 - o2::constants::physics::MassLambda1520);
212- if (mDiffKStar892 < massRangeKStar || mDiffDelta1232 < massRangeDelta || mDiffLambda1520 < massRangeLambda )
212+ if (mDiffKStar892 < mDiffKStar892Max || mDiffDelta1232 < mDiffDelta1232Max || mDiffLambda1520 < mDiffLambda1520Max )
213213 registry.get <TH2>(HIST (" hPtinvMassLcReso" ))->Fill (candidateLc.pt (), hfHelper.invMassLcToPKPi (candidateLc));
214- if (mDiffKStar892 < massRangeKStar )
214+ if (mDiffKStar892 < mDiffKStar892Max )
215215 registry.get <TH2>(HIST (" hPtinvMassLcKStar" ))->Fill (candidateLc.pt (), hfHelper.invMassLcToPKPi (candidateLc));
216- if (mDiffDelta1232 < massRangeDelta )
216+ if (mDiffDelta1232 < mDiffDelta1232Max )
217217 registry.get <TH2>(HIST (" hPtinvMassLcDelta" ))->Fill (candidateLc.pt (), hfHelper.invMassLcToPKPi (candidateLc));
218- if (mDiffLambda1520 < massRangeLambda )
218+ if (mDiffLambda1520 < mDiffLambda1520Max )
219219 registry.get <TH2>(HIST (" hPtinvMassLcLambda1520" ))->Fill (candidateLc.pt (), hfHelper.invMassLcToPKPi (candidateLc));
220220
221- if (std::abs (hfHelper.invMassLcToPKPi (candidateLc) - o2::constants::physics::MassLambdaCPlus) < resonanceMassCheckRange ) {
221+ if (std::abs (hfHelper.invMassLcToPKPi (candidateLc) - o2::constants::physics::MassLambdaCPlus) < mDiffLcMax ) {
222222 registry.get <TH2>(HIST (" hPtinvMassKStar" ))->Fill (candidateLc.pt (), mRecoKstar );
223223 registry.get <TH2>(HIST (" hPtinvMassDelta" ))->Fill (candidateLc.pt (), mRecoDelta1232 );
224224 registry.get <TH2>(HIST (" hPtinvMassLambda1520" ))->Fill (candidateLc.pt (), mRecoLambda1520 );
@@ -232,16 +232,16 @@ struct HfTaskLb {
232232 double mDiffKStar892 = std::abs (mRecoKstar - massKStar892);
233233 double mDiffDelta1232 = std::abs (mRecoDelta1232 - massDelta1232);
234234 double mDiffLambda1520 = std::abs (mRecoLambda1520 - o2::constants::physics::MassLambda1520);
235- if (mDiffKStar892 < massRangeKStar || mDiffDelta1232 < massRangeDelta || mDiffLambda1520 < massRangeLambda )
235+ if (mDiffKStar892 < mDiffKStar892Max || mDiffDelta1232 < mDiffDelta1232Max || mDiffLambda1520 < mDiffLambda1520Max )
236236 registry.get <TH2>(HIST (" hPtinvMassLcReso" ))->Fill (candidateLc.pt (), hfHelper.invMassLcToPiKP (candidateLc));
237- if (mDiffKStar892 < massRangeKStar )
237+ if (mDiffKStar892 < mDiffKStar892Max )
238238 registry.get <TH2>(HIST (" hPtinvMassLcKStar" ))->Fill (candidateLc.pt (), hfHelper.invMassLcToPiKP (candidateLc));
239- if (mDiffDelta1232 < massRangeDelta )
239+ if (mDiffDelta1232 < mDiffDelta1232Max )
240240 registry.get <TH2>(HIST (" hPtinvMassLcDelta" ))->Fill (candidateLc.pt (), hfHelper.invMassLcToPiKP (candidateLc));
241- if (mDiffLambda1520 < massRangeLambda )
241+ if (mDiffLambda1520 < mDiffLambda1520Max )
242242 registry.get <TH2>(HIST (" hPtinvMassLcLambda1520" ))->Fill (candidateLc.pt (), hfHelper.invMassLcToPiKP (candidateLc));
243243
244- if (std::abs (hfHelper.invMassLcToPiKP (candidateLc) - o2::constants::physics::MassLambdaCPlus) < resonanceMassCheckRange ) {
244+ if (std::abs (hfHelper.invMassLcToPiKP (candidateLc) - o2::constants::physics::MassLambdaCPlus) < mDiffLcMax ) {
245245 registry.get <TH2>(HIST (" hPtinvMassKStar" ))->Fill (candidateLc.pt (), mRecoKstar );
246246 registry.get <TH2>(HIST (" hPtinvMassDelta" ))->Fill (candidateLc.pt (), mRecoDelta1232 );
247247 registry.get <TH2>(HIST (" hPtinvMassLambda1520" ))->Fill (candidateLc.pt (), mRecoLambda1520 );
0 commit comments