Skip to content
Snippets Groups Projects
Commit 93111620 authored by Christos Anastopoulos's avatar Christos Anastopoulos
Browse files

Add L0 and L1 ,if they fall inside any of the range for the Barrel or Endcap....

Add L0 and L1 ,if they fall inside any of the range for the Barrel or Endcap. Should fix ATLASRECTS-5870
parent e2257fb4
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!39524Add L0 and L1 ,if they fall inside any of the range for the Barrel or Endcap....
...@@ -464,16 +464,14 @@ egammaSuperClusterBuilder::fillClusterConstrained( ...@@ -464,16 +464,14 @@ egammaSuperClusterBuilder::fillClusterConstrained(
// lets remove from consideration if outside the range // lets remove from consideration if outside the range
if (cp0.emaxB > 0) { // cluster has cells in the barrel if (cp0.emaxB > 0) { // cluster has cells in the barrel
if (std::abs(cp0.etaB - dde->eta_raw()) < m_addCellsWindowEtaBarrel && if (std::abs(cp0.etaB - dde->eta_raw()) < m_addCellsWindowEtaBarrel &&
std::abs( std::abs(P4Helpers::deltaPhi(cp0.phiB, dde->phi_raw())) <
P4Helpers::deltaPhi(cp0.phiB, cell->caloDDE()->phi_raw())) <
m_addCellsWindowPhiBarrel) { m_addCellsWindowPhiBarrel) {
inBroadRange = true; inBroadRange = true;
} }
} }
if (cp0.emaxEC > 0) { // cluster has cells in the endcap if (cp0.emaxEC > 0) { // cluster has cells in the endcap
if (std::abs(cp0.etaEC - dde->eta_raw()) < m_addCellsWindowEtaEndcap && if (std::abs(cp0.etaEC - dde->eta_raw()) < m_addCellsWindowEtaEndcap &&
std::abs( std::abs(P4Helpers::deltaPhi(cp0.phiEC, dde->phi_raw())) <
P4Helpers::deltaPhi(cp0.phiEC, cell->caloDDE()->phi_raw())) <
m_addCellsWindowPhiEndcap) { m_addCellsWindowPhiEndcap) {
inBroadRange = true; inBroadRange = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment