@@ -396,7 +396,7 @@ struct sigmaanalysis {
396396 histos.fill (HIST (" GeneralQA/hCandidateAnalysisSelection" ), 10 .);
397397 if ((cand.photonRadius () < PhotonMinRadius) || (cand.photonRadius () > PhotonMaxRadius))
398398 return false ;
399- float photonRZLineCut = TMath::Abs (cand.photonZconv ())* TMath::Tan (2 * TMath::ATan (TMath::Exp (-PhotonMaxDauEta))) - PhotonLineCutZ0;
399+ float photonRZLineCut = TMath::Abs (cand.photonZconv ()) * TMath::Tan (2 * TMath::ATan (TMath::Exp (-PhotonMaxDauEta))) - PhotonLineCutZ0;
400400 histos.fill (HIST (" GeneralQA/hPhotonZ" ), cand.photonZconv ());
401401 histos.fill (HIST (" GeneralQA/h2dRZCut" ), cand.photonRadius (), photonRZLineCut);
402402 histos.fill (HIST (" GeneralQA/h2dRZPlane" ), cand.photonRadius (), cand.photonZconv ());
@@ -548,11 +548,11 @@ struct sigmaanalysis {
548548 histos.fill (HIST (" MC/hPtGammaCand_AfterSel" ), sigma.photonPt ());
549549 histos.fill (HIST (" MC/hPtSigmaCand_AfterSel" ), sigma.sigmapT ());
550550
551- if (sigma.photonCandPDGCode () == 22 ){
551+ if (sigma.photonCandPDGCode () == 22 ) {
552552 histos.fill (HIST (" MC/hPtTrueGamma_AfterSel" ), sigma.photonPt ());
553- histos.fill (HIST (" MC/h3dGammaPtResolution" ), sigma.photonPt (), TMath::Abs ((sigma.photonMCPt ()- sigma.photonPt ())/ sigma.photonMCPt ()), sigma.photonMass ()); // pT resolution
553+ histos.fill (HIST (" MC/h3dGammaPtResolution" ), sigma.photonPt (), TMath::Abs ((sigma.photonMCPt () - sigma.photonPt ()) / sigma.photonMCPt ()), sigma.photonMass ()); // pT resolution
554554 }
555-
555+
556556 // For Lambda PID Studies
557557 if (fLambdaTPCTOFQA && (sigma.lambdaAlpha () > 0 )) {
558558 histos.fill (HIST (" MC/hPtLambdaCand_AfterSel" ), sigma.lambdaPt ());
@@ -561,7 +561,7 @@ struct sigmaanalysis {
561561
562562 if (sigma.lambdaCandPDGCode () == 3122 ) {
563563 histos.fill (HIST (" MC/hPtTrueLambda_AfterSel" ), sigma.lambdaPt ());
564- histos.fill (HIST (" MC/h3dLambdaPtResolution" ), sigma.lambdaPt (), TMath::Abs ((sigma.lambdaMCPt () - sigma.lambdaPt ())/ sigma.lambdaMCPt ()), sigma.lambdaMass ()); // pT resolution
564+ histos.fill (HIST (" MC/h3dLambdaPtResolution" ), sigma.lambdaPt (), TMath::Abs ((sigma.lambdaMCPt () - sigma.lambdaPt ()) / sigma.lambdaMCPt ()), sigma.lambdaMass ()); // pT resolution
565565 histos.fill (HIST (" MC/h3dTPCvsTOFNSigma_TrueLambdaPr" ), sigma.lambdaPosPrTPCNSigma (), sigma.lambdaPrTOFNSigma (), sigma.lambdaPt ());
566566 histos.fill (HIST (" MC/h3dTPCvsTOFNSigma_TrueLambdaPi" ), sigma.lambdaNegPiTPCNSigma (), sigma.lambdaPiTOFNSigma (), sigma.lambdaPt ());
567567 }
@@ -604,7 +604,7 @@ struct sigmaanalysis {
604604 histos.fill (HIST (" MC/hMassSigma0" ), sigma.sigmaMass ());
605605 histos.fill (HIST (" MC/hPtSigma0" ), sigma.sigmapT ());
606606 histos.fill (HIST (" MC/h3dMassSigma0" ), sigma.sigmaCentrality (), sigma.sigmapT (), sigma.sigmaMass ());
607- histos.fill (HIST (" MC/h3dSigma0PtResolution" ), sigma.sigmapT (), TMath::Abs ((sigma.sigmaMCPt ()- sigma.sigmapT ())/ sigma.sigmaMCPt ()), sigma.sigmaMass ()); // pT resolution
607+ histos.fill (HIST (" MC/h3dSigma0PtResolution" ), sigma.sigmapT (), TMath::Abs ((sigma.sigmaMCPt () - sigma.sigmapT ()) / sigma.sigmaMCPt ()), sigma.sigmaMass ()); // pT resolution
608608
609609 } else {
610610 // TPC + TOF PID Selections
0 commit comments