Skip to content
Snippets Groups Projects
Commit 030505ef authored by John Kenneth Anders's avatar John Kenneth Anders
Browse files

Merge branch 'will-24.0-patch-40188' into '24.0'

Update eFexTowerBuilder.cxx - temporarily remove check for invalidity while...

See merge request atlas/athena!69656
parents f95f9693 e984ef00
No related branches found
Tags release/24.0.29
No related merge requests found
...@@ -100,10 +100,11 @@ StatusCode eFexTowerBuilder::fillTowers(const EventContext& ctx) const { ...@@ -100,10 +100,11 @@ StatusCode eFexTowerBuilder::fillTowers(const EventContext& ctx) const {
int val = std::round(digi->energy()/(12.5*std::cosh(digi->eta()))); // 12.5 is b.c. energy is in units of 12.5MeV per count int val = std::round(digi->energy()/(12.5*std::cosh(digi->eta()))); // 12.5 is b.c. energy is in units of 12.5MeV per count
// note: a val of -99999 is what is produced if efex was sent an invalid code of 1022 // note: a val of -99999 is what is produced if efex was sent an invalid code of 1022
bool isMasked = m_applyMasking ? ((digi)->provenance()&0x80) : false; bool isMasked = m_applyMasking ? ((digi)->provenance()&0x80) : false;
bool isInvalid = m_applyMasking ? ((digi)->provenance()&0x40) : false; //bool isInvalid = m_applyMasking ? ((digi)->provenance()&0x40) : false;
if(isInvalid && val!=-99999) { // Removing invalid check until can verify expected behaviour with LATOME experts
ATH_MSG_ERROR("Unexpected energy value " << val <<" for invalid channel"); // if(isInvalid && val!=-99999) {
} // ATH_MSG_ERROR("Unexpected energy value " << val <<" for invalid channel");
// }
auto& tower = towers[itr->second.first]; auto& tower = towers[itr->second.first];
if (itr->second.second.second<11) { if (itr->second.second.second<11) {
...@@ -398,4 +399,4 @@ StatusCode eFexTowerBuilder::execute(const EventContext& ctx) const { ...@@ -398,4 +399,4 @@ StatusCode eFexTowerBuilder::execute(const EventContext& ctx) const {
} }
} // LVL1 Namespace } // LVL1 Namespace
\ No newline at end of file
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