Skip to content
Snippets Groups Projects
Commit 861563a7 authored by Alan Watson's avatar Alan Watson Committed by Graeme Stewart
Browse files

Fix eta-dependent EM/Tau threshold problem (TrigT1Interfaces-01-05-16-01)

parent 01988982
No related branches found
No related tags found
No related merge requests found
// $Id: RecEmTauRoI.cxx 639958 2015-01-16 14:30:44Z watsona $
// $Id: RecEmTauRoI.cxx 683786 2015-07-17 11:57:28Z watsona $
/***************************************************************************
RecEmTauRoI.cxx - description
-------------------
......@@ -103,7 +103,7 @@ namespace LVL1 {
// Extract the properties of the passed thresholds:
//
int ieta = int( (m_coordRange.etaRange().min()+0.025) / 0.1 ) + ( ( m_coordRange.etaRange().min()+0.025 > 0 ) ? 1 : -1 );
int ieta = int( (m_coordRange.etaRange().min()+0.025) / 0.1 ) + ( ( m_coordRange.etaRange().min()+0.025 > 0 ) ? 0 : -1 );
int iphi = int( (m_coordRange.phiRange().min()+0.025) * 32 / M_PI );
for( vector< unsigned int >::const_iterator itp = passed_thresholds.begin();
......@@ -143,7 +143,7 @@ namespace LVL1 {
std::string triggerType = ( m_type == TrigT1CaloDefs::EMRoIWordType ? L1DataDef::emType() : L1DataDef::tauType() );
int ieta = int( (m_coordRange.etaRange().min()+0.025) / 0.1 ) + ( ( m_coordRange.etaRange().min()+0.025 > 0 ) ? 1 : -1 );
int ieta = int( (m_coordRange.etaRange().min()+0.025) / 0.1 ) + ( ( m_coordRange.etaRange().min()+0.025 > 0 ) ? 0 : -1 );
int iphi = int( (m_coordRange.phiRange().min()+0.025) * 32 / M_PI );
unsigned int isolWord = isolation();
......
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