Commit c9f22d9d authored by Junpei Maeda's avatar Junpei Maeda
Browse files

fix a bug due to setting zero-bcid

parent 1476a62a
......@@ -621,7 +621,10 @@ void LVL1TGCTrigger::FillSectorLogicData(LVL1MUONIF::Lvl1MuSectorLogicData *slda
int Zdir= (subsystem==LVL1MUONIF::Lvl1MuCTPIInput::idSideA() ? 1 : -1);
sldata->clear2candidatesInSector();// for temporary
sldata->bcid(0);
const int muctpiBcId_offset = TgcDigit::BC_CURRENT;
sldata->bcid(m_bctagInProcess - muctpiBcId_offset);
if ((selectorOut->getNCandidate()) >= 1) {
sldata->roi(0,((selectorOut->getR(0))<<2)+(selectorOut->getPhi(0)));
// ovl --> veto
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment