Skip to content

Commit

Permalink
Merge pull request #12422 from davidlange6/755deadlockfix
Browse files Browse the repository at this point in the history
implement fix for mayconsumes race condition in L1MuDTSectorReceiver
  • Loading branch information
davidlange6 committed Nov 15, 2015
2 parents 4079148 + cd2c882 commit c73961c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions L1Trigger/DTTrackFinder/src/L1MuDTSectorReceiver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ using namespace std;
//----------------
L1MuDTSectorReceiver::L1MuDTSectorReceiver(L1MuDTSectorProcessor& sp, edm::ConsumesCollector && iC) :
m_sp(sp),
m_DTDigiToken(iC.consumes<L1MuDTChambPhContainer>(L1MuDTTFConfig::getDTDigiInputTag())),
m_CSCTrSToken(iC.mayConsume<CSCTriggerContainer<csctf::TrackStub> >(L1MuDTTFConfig::getCSCTrSInputTag())) {
m_DTDigiToken(iC.consumes<L1MuDTChambPhContainer>(L1MuDTTFConfig::getDTDigiInputTag()))
{
if (L1MuDTTFConfig::getCSCTrSInputTag().label() != "none" )
m_CSCTrSToken=iC.consumes<CSCTriggerContainer<csctf::TrackStub> >(L1MuDTTFConfig::getCSCTrSInputTag());
}


Expand Down

0 comments on commit c73961c

Please sign in to comment.