File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
PWGLF/TableProducer/Nuspex Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -648,11 +648,11 @@ struct TrHeAnalysis {
648648 float betheBlochAleph (Particle const & particle, T const & rigidity)
649649 {
650650 double bg = particle.charge *rigidity / particle.mass ;
651- double beta = bg / TMath ::Sqrt (1 . + bg*bg);
652- double aa = TMath ::Power (beta, particle.betheParams [3 ]);
653- double bb = TMath ::Power (1 . / bg, particle.betheParams [4 ]);
651+ double beta = bg / std ::Sqrt (1 . + bg*bg);
652+ double aa = std ::Power (beta, particle.betheParams [3 ]);
653+ double bb = std ::Power (1 . / bg, particle.betheParams [4 ]);
654654 if ((particle.betheParams [2 ] + bb) <= 0 ) return 0 ;
655- bb = TMath ::Log (particle.betheParams [2 ] + bb);
655+ bb = std ::Log (particle.betheParams [2 ] + bb);
656656 return std::pow (particle.charge , particle.chargeFactor ) * 50 * (particle.betheParams [1 ] - aa - bb)*particle.betheParams [0 ] / aa;
657657 }
658658
@@ -684,8 +684,8 @@ struct TrHeAnalysis {
684684 {
685685 const float beta = track.beta ();
686686 const float rigidity = getRigidity (track);
687- float gamma = 1 / TMath ::Sqrt (1 -beta*beta);
688- float mass = (rigidity / TMath ::Sqrt (gamma * gamma - 1 ));
687+ float gamma = 1 / std ::Sqrt (1 -beta*beta);
688+ float mass = (rigidity / std ::Sqrt (gamma * gamma - 1 ));
689689 return mass;
690690 }
691691};
You can’t perform that action at this time.
0 commit comments