Skip to content

Commit

Permalink
obtaining track eta and phi info from the Emcal surface and not from …
Browse files Browse the repository at this point in the history
…the PV
  • Loading branch information
Archita-Dash committed Dec 23, 2024
1 parent e52b2cd commit fff67ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PWGJE/TableProducer/emcalClusterHadronicCorrectionTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ struct EmcalClusterHadronicCorrectionTask {
// c) If you want to do systematic studies -> perform the above two checks a) and b), and then subtract 70% energy instead of 100%

// Perform dEta/dPhi matching
double dEta = match.track_as<myTracks>().eta() - cluster.eta();
double dPhi = TVector2::Phi_mpi_pi(match.track_as<myTracks>().phi() - cluster.phi());
double dEta = match.track_as<myTracks>().etaEmcal() - cluster.eta();
double dPhi = TVector2::Phi_mpi_pi(match.track_as<myTracks>().phiEmcal() - cluster.phi());

// Apply the eta and phi matching thresholds
// dEta and dPhi cut : ensures that the matched track is within the desired eta/phi window
Expand Down

0 comments on commit fff67ae

Please sign in to comment.