diff --git a/L1Trigger/DTTrackFinder/src/L1MuDTSectorReceiver.cc b/L1Trigger/DTTrackFinder/src/L1MuDTSectorReceiver.cc index 52f042ec8f4ba..103cda342bbb7 100644 --- a/L1Trigger/DTTrackFinder/src/L1MuDTSectorReceiver.cc +++ b/L1Trigger/DTTrackFinder/src/L1MuDTSectorReceiver.cc @@ -54,8 +54,10 @@ using namespace std; //---------------- L1MuDTSectorReceiver::L1MuDTSectorReceiver(L1MuDTSectorProcessor& sp, edm::ConsumesCollector && iC) : m_sp(sp), - m_DTDigiToken(iC.consumes(L1MuDTTFConfig::getDTDigiInputTag())), - m_CSCTrSToken(iC.mayConsume >(L1MuDTTFConfig::getCSCTrSInputTag())) { + m_DTDigiToken(iC.consumes(L1MuDTTFConfig::getDTDigiInputTag())) +{ + if (L1MuDTTFConfig::getCSCTrSInputTag().label() != "none" ) + m_CSCTrSToken=iC.consumes >(L1MuDTTFConfig::getCSCTrSInputTag()); }