@@ -348,7 +348,7 @@ struct HfTaskElectronWeakBoson {
348348
349349 double getIsolatedCluster (const o2::aod::EMCALCluster& cluster,
350350 const SelectedClusters& clusters,
351- float EnergyUE )
351+ float energyUE )
352352 {
353353 double energySum = 0.0 ;
354354 double energySum_excl = 0.0 ;
@@ -374,10 +374,10 @@ struct HfTaskElectronWeakBoson {
374374 }
375375 energySum_excl = energySum - cluster.energy ();
376376 if (energySum > 0 ) {
377- isoEnergy = (energySum_excl - EnergyUE ) / cluster.energy ();
377+ isoEnergy = (energySum_excl - energyUE ) / cluster.energy ();
378378 }
379379
380- // LOG(info) <<"clustE = " << cluster.energy() << " ; energySum = " << energySum << " ; nclust in Cone = " << nclustSum - 1 << " ; UE = " << EnergyUE << " ; isoEnergy = " << isoEnergy;
380+ // LOG(info) <<"clustE = " << cluster.energy() << " ; energySum = " << energySum << " ; nclust in Cone = " << nclustSum - 1 << " ; UE = " << energyUE << " ; isoEnergy = " << isoEnergy;
381381 registry.fill (HIST (" hIsolationEnergy" ), cluster.energy (), isoEnergy);
382382
383383 return (isoEnergy);
@@ -621,13 +621,13 @@ struct HfTaskElectronWeakBoson {
621621
622622 // UE estimate
623623 float rho = 0 .f ;
624- float EnergyUE = 0 .f ;
624+ float energyUE = 0 .f ;
625625
626626 if (useUEsub) {
627627 rho = estimateRhoRC (emcClusters);
628- EnergyUE = rho * static_cast <float >(o2::constants::math::PI * rIsolation * rIsolation);
629- registry.fill (HIST (" hEnergyUE" ), centrality, EnergyUE );
630- // LOG(info) << "UE = " << EnergyUE ;
628+ energyUE = rho * static_cast <float >(o2::constants::math::PI * rIsolation * rIsolation);
629+ registry.fill (HIST (" hEnergyUE" ), centrality, energyUE );
630+ // LOG(info) << "UE = " << energyUE ;
631631 }
632632
633633 // track loop
@@ -754,7 +754,7 @@ struct HfTaskElectronWeakBoson {
754754 eop = energyEmc / match.track_as <TrackEle>().p ();
755755 // LOG(info) << "eop = " << eop;
756756
757- isoEnergy = getIsolatedCluster (cluster, emcClusters, EnergyUE );
757+ isoEnergy = getIsolatedCluster (cluster, emcClusters, energyUE );
758758
759759 if (match.track_as <TrackEle>().pt () > ptTHnThresh && isTHnElectron) {
760760 registry.fill (HIST (" hTHnElectrons" ), match.track_as <TrackEle>().pt (), match.track_as <TrackEle>().tpcNSigmaEl (), m02Emc, eop, isoEnergy, isoMomentum, trackCount, track.eta (), track.tpcSignal ());
0 commit comments