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
No related tags found
No related merge requests found
......@@ -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
// 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 isInvalid = m_applyMasking ? ((digi)->provenance()&0x40) : false;
if(isInvalid && val!=-99999) {
ATH_MSG_ERROR("Unexpected energy value " << val <<" for invalid channel");
}
//bool isInvalid = m_applyMasking ? ((digi)->provenance()&0x40) : false;
// Removing invalid check until can verify expected behaviour with LATOME experts
// if(isInvalid && val!=-99999) {
// ATH_MSG_ERROR("Unexpected energy value " << val <<" for invalid channel");
// }
auto& tower = towers[itr->second.first];
if (itr->second.second.second<11) {
......@@ -398,4 +399,4 @@ StatusCode eFexTowerBuilder::execute(const EventContext& ctx) const {
}
} // LVL1 Namespace
\ No newline at end of file
} // LVL1 Namespace
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