Skip to content
Snippets Groups Projects
Commit 7f68000b authored by Hiroaki Hibi's avatar Hiroaki Hibi Committed by Adam Edward Barton
Browse files

TrigT1TGC : fix a bug in innerCoincidence

parent a2d0912b
7 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,!41882aligning "tracktwoef_nonrnn_chain" with master branch,!41815TrigT1TGC : fix a bug in innerCoincidence
...@@ -581,12 +581,12 @@ void TGCSectorLogic::doInnerCoincidence(const SG::ReadCondHandleKey<TGCTriggerDa ...@@ -581,12 +581,12 @@ void TGCSectorLogic::doInnerCoincidence(const SG::ReadCondHandleKey<TGCTriggerDa
else{// NSW or FI are used to inner coincidnece in SSC#5~18 in Endcap and Forward region else{// NSW or FI are used to inner coincidnece in SSC#5~18 in Endcap and Forward region
int pos = 4*coincidenceOut->getR() + coincidenceOut->getPhi(); int pos = 4*coincidenceOut->getR() + coincidenceOut->getPhi();
bool validFI = (m_mapEIFI->getFlagROI(pos, coincidenceOut->getIdSSC(), m_sectorId) == 1); bool validFI = (m_mapEIFI->getFlagROI(pos, coincidenceOut->getIdSSC(), m_sectorId) == 1) && m_region==ENDCAP;
if(tgcArgs()->USE_NSW() && m_nswSide){ //this function will be implemented.There is a NSW on A-side only in early Run3; if(tgcArgs()->USE_NSW() && m_nswSide){ //this function will be implemented.There is a NSW on A-side only in early Run3;
doTGCNSWCoincidence(coincidenceOut); doTGCNSWCoincidence(coincidenceOut);
} }
else if(m_nswSide && validFI){ else if(!m_nswSide && validFI){
if(m_useEIFI){ if(m_useEIFI){
coincidenceOut->setInnerCoincidenceFlag( doTGCFICoincidence(coincidenceOut) ); coincidenceOut->setInnerCoincidenceFlag( doTGCFICoincidence(coincidenceOut) );
} }
......
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