#include <L1MuGlobalMuonTrigger.h>
Public Member Functions | |
virtual void | beginJob () |
const L1MuGMTCancelOutUnit * | CancelOutUnit (int id) const |
return pointer to Cancel Out Unit | |
L1MuGMTReadoutRecord * | currentReadoutRecord () const |
return a reference to the current record in the ring buffer | |
const L1MuGMTPSB * | Data () const |
return pointer to PSB | |
L1MuGMTDebugBlock * | DebugBlockForFill () const |
for debug: return the debug block (in order to fill it) | |
std::auto_ptr < L1MuGMTReadoutCollection > | getReadoutCollection () |
L1MuGlobalMuonTrigger (const edm::ParameterSet &) | |
const L1MuGMTMatcher * | Matcher (int id) const |
return pointer to Matcher | |
const L1MuGMTMerger * | Merger (int id) const |
return pointer to Merger | |
const L1MuGMTMipIsoAU * | MipIsoAU (int id) const |
return pointer to MIP & ISO bit assignment unit | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
void | reset () |
const L1MuGMTSorter * | Sorter () const |
return pointer to Sorter | |
~L1MuGlobalMuonTrigger () | |
Private Attributes | |
L1MuGMTCancelOutUnit * | m_CancelOutUnit [4] |
std::vector< L1MuGMTExtendedCand > | m_ExtendedCands |
unsigned long long | m_L1CaloGeometryCacheID |
unsigned long long | m_L1MuGMTChannelMaskCacheID |
unsigned long long | m_L1MuGMTParametersCacheID |
unsigned long long | m_L1MuGMTScalesCacheID |
unsigned long long | m_L1MuTriggerPtScaleCacheID |
unsigned long long | m_L1MuTriggerScalesCacheID |
L1MuGMTMatcher * | m_Matcher [2] |
L1MuGMTMerger * | m_Merger [2] |
L1MuGMTMipIsoAU * | m_MipIsoAU [2] |
L1MuGMTPSB * | m_PSB |
std::vector < L1MuGMTReadoutRecord * > | m_ReadoutRingbuffer |
bool | m_sendMipIso |
L1MuGMTSorter * | m_Sorter |
bool | m_writeLUTsAndRegs |
Static Private Attributes | |
static L1MuGMTConfig * | m_config = 0 |
static L1MuGMTDebugBlock * | m_db = 0 |
Definition at line 52 of file L1MuGlobalMuonTrigger.h.
L1MuGlobalMuonTrigger::L1MuGlobalMuonTrigger | ( | const edm::ParameterSet & | ps | ) | [explicit] |
Definition at line 71 of file L1MuGlobalMuonTrigger.cc.
References L1MuGMTConfig::Debug(), L1MuGMTConfig::getBxMax(), L1MuGMTConfig::getBxMin(), edm::ParameterSet::getUntrackedParameter(), m_CancelOutUnit, m_config, m_db, m_ExtendedCands, m_L1CaloGeometryCacheID, m_L1MuGMTChannelMaskCacheID, m_L1MuGMTParametersCacheID, m_L1MuGMTScalesCacheID, m_L1MuTriggerPtScaleCacheID, m_L1MuTriggerScalesCacheID, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_sendMipIso, m_Sorter, and m_writeLUTsAndRegs.
{ produces<std::vector<L1MuGMTCand> >(); produces<L1MuGMTReadoutCollection>(); m_sendMipIso = ps.getUntrackedParameter<bool>("SendMipIso",false); if( m_sendMipIso ) { produces<std::vector<unsigned> >(); } m_L1MuGMTScalesCacheID = 0ULL; m_L1MuTriggerScalesCacheID = 0ULL; m_L1MuTriggerPtScaleCacheID = 0ULL; m_L1MuGMTParametersCacheID = 0ULL; m_L1MuGMTChannelMaskCacheID = 0ULL; m_L1CaloGeometryCacheID = 0ULL; m_ExtendedCands.reserve(20); // set configuration parameters if(!m_config) m_config = new L1MuGMTConfig(ps); m_writeLUTsAndRegs = ps.getUntrackedParameter<bool>("WriteLUTsAndRegs",false); // build GMT if ( L1MuGMTConfig::Debug(1) ) edm::LogVerbatim("GMT_info"); if ( L1MuGMTConfig::Debug(1) ) edm::LogVerbatim("GMT_info") << "**** L1GlobalMuonTrigger building ****"; if ( L1MuGMTConfig::Debug(1) ) edm::LogVerbatim("GMT_info"); // create new PSB if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "creating GMT PSB"; m_PSB = new L1MuGMTPSB(*this); // create new matcher if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "creating GMT Matcher (0,1)"; m_Matcher[0] = new L1MuGMTMatcher(*this,0); // barrel m_Matcher[1] = new L1MuGMTMatcher(*this,1); // endcap // create new cancel-out units if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "creating GMT Cancel Out Unit (0,1,2,3)"; m_CancelOutUnit[0] = new L1MuGMTCancelOutUnit(*this,0); // barrel m_CancelOutUnit[1] = new L1MuGMTCancelOutUnit(*this,1); // endcap m_CancelOutUnit[2] = new L1MuGMTCancelOutUnit(*this,2); // CSC/bRPC m_CancelOutUnit[3] = new L1MuGMTCancelOutUnit(*this,3); // DT/fRPC // create new MIP & ISO bit assignment units if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "creating GMT MIP & ISO bit Assigment Unit (0,1)"; m_MipIsoAU[0] = new L1MuGMTMipIsoAU(*this,0); // barrel m_MipIsoAU[1] = new L1MuGMTMipIsoAU(*this,1); // endcap // create new Merger if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "creating GMT Merger (0,1)"; m_Merger[0] = new L1MuGMTMerger(*this,0); // barrel m_Merger[1] = new L1MuGMTMerger(*this,1); // endcap // create new sorter if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "creating GMT Sorter"; m_Sorter = new L1MuGMTSorter(*this); // barrel if(!m_db) m_db = new L1MuGMTDebugBlock(m_config->getBxMin(),m_config->getBxMax()); }
L1MuGlobalMuonTrigger::~L1MuGlobalMuonTrigger | ( | ) |
Definition at line 133 of file L1MuGlobalMuonTrigger.cc.
References m_CancelOutUnit, m_config, m_db, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_ReadoutRingbuffer, and m_Sorter.
{ if(m_db) delete m_db; m_db = 0; delete m_Sorter; delete m_Merger[1]; // endcap Merger delete m_Merger[0]; // barrel Merger delete m_MipIsoAU[1]; // barrel MIP & ISO bit assignment unit delete m_MipIsoAU[0]; // barrel MIP & ISO bit assignment unit delete m_CancelOutUnit[3]; // DT/fRPC cancel-out unit (in endcap chip) delete m_CancelOutUnit[2]; // CSC/bRPC cancel-out unit (in barrel chip) delete m_CancelOutUnit[1]; // endcap DT/CSC cancel out unit delete m_CancelOutUnit[0]; // barrel DT/CSC cancel out unit delete m_Matcher[1]; // endcap matcher delete m_Matcher[0]; // barrel matcher delete m_PSB; if(m_config) delete m_config; m_config = 0; // copied from produce() by Jim B, 7 Aug 2007 std::vector<L1MuGMTReadoutRecord*>::iterator irr = m_ReadoutRingbuffer.begin(); for ( ;irr!=m_ReadoutRingbuffer.end(); irr++) delete (*irr); m_ReadoutRingbuffer.clear(); // end Jim B edit }
void L1MuGlobalMuonTrigger::beginJob | ( | void | ) | [virtual] |
const L1MuGMTCancelOutUnit* L1MuGlobalMuonTrigger::CancelOutUnit | ( | int | id | ) | const [inline] |
return pointer to Cancel Out Unit
Definition at line 71 of file L1MuGlobalMuonTrigger.h.
References m_CancelOutUnit.
Referenced by L1MuGMTMerger::merge().
{ return m_CancelOutUnit[id]; }
L1MuGMTReadoutRecord* L1MuGlobalMuonTrigger::currentReadoutRecord | ( | ) | const [inline] |
return a reference to the current record in the ring buffer
Definition at line 89 of file L1MuGlobalMuonTrigger.h.
References m_ReadoutRingbuffer.
Referenced by L1MuGMTPSB::getCalo(), L1MuGMTPSB::receiveData(), and L1MuGMTSorter::run().
{ return m_ReadoutRingbuffer.back(); };
const L1MuGMTPSB* L1MuGlobalMuonTrigger::Data | ( | ) | const [inline] |
return pointer to PSB
Definition at line 65 of file L1MuGlobalMuonTrigger.h.
References m_PSB.
Referenced by L1MuGMTMipIsoAU::assignISO(), L1MuGMTMipIsoAU::assignMIP(), L1MuGMTMipIsoAU::load(), L1MuGMTMatcher::load(), and L1MuGMTMerger::load().
{ return m_PSB; }
L1MuGMTDebugBlock* L1MuGlobalMuonTrigger::DebugBlockForFill | ( | ) | const [inline] |
for debug: return the debug block (in order to fill it)
Definition at line 93 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGMTMipIsoAU::assignISO(), L1MuGMTMipIsoAU::assignMIP(), L1MuGMTCancelOutUnit::decide(), L1MuGMTMatcher::match(), L1MuGMTSorter::run(), L1MuGMTEtaProjectionUnit::run(), and L1MuGMTPhiProjectionUnit::run().
{ return m_db; };
std::auto_ptr< L1MuGMTReadoutCollection > L1MuGlobalMuonTrigger::getReadoutCollection | ( | ) |
get the GMT readout data for the triggered bx readout data contains input and output muons as well as MIP and Quiet bits for 3 or 5 bx around the triggered bx
Definition at line 386 of file L1MuGlobalMuonTrigger.cc.
References L1MuGMTConfig::getBxMaxRo(), L1MuGMTConfig::getBxMinRo(), and m_ReadoutRingbuffer.
Referenced by produce().
{ int bx_min_ro = L1MuGMTConfig::getBxMinRo(); int bx_max_ro = L1MuGMTConfig::getBxMaxRo(); int bx_size = bx_max_ro - bx_min_ro + 1; std::auto_ptr<L1MuGMTReadoutCollection> rrc(new L1MuGMTReadoutCollection(bx_size)); for (int bx = bx_min_ro; bx <= bx_max_ro; bx++) { std::vector<L1MuGMTReadoutRecord*>::const_iterator iter = m_ReadoutRingbuffer.begin(); for ( ;iter!=m_ReadoutRingbuffer.end(); iter++) { if ( (*iter)->getBxInEvent() == bx ) { rrc->addRecord(**iter); break; } } } return rrc; }
const L1MuGMTMatcher* L1MuGlobalMuonTrigger::Matcher | ( | int | id | ) | const [inline] |
return pointer to Matcher
Definition at line 68 of file L1MuGlobalMuonTrigger.h.
References m_Matcher.
Referenced by L1MuGMTCancelOutUnit::decide(), and L1MuGMTMerger::merge().
{ return m_Matcher[id]; }
const L1MuGMTMerger* L1MuGlobalMuonTrigger::Merger | ( | int | id | ) | const [inline] |
return pointer to Merger
Definition at line 77 of file L1MuGlobalMuonTrigger.h.
References m_Merger.
Referenced by L1MuGMTSorter::run().
{ return m_Merger[id]; }
const L1MuGMTMipIsoAU* L1MuGlobalMuonTrigger::MipIsoAU | ( | int | id | ) | const [inline] |
return pointer to MIP & ISO bit assignment unit
Definition at line 74 of file L1MuGlobalMuonTrigger.h.
References m_MipIsoAU.
Referenced by L1MuGMTMerger::createDTCSCCand(), L1MuGMTMerger::createMergedCand(), and L1MuGMTMerger::createRPCCand().
{ return m_MipIsoAU[id]; }
void L1MuGlobalMuonTrigger::produce | ( | edm::Event & | e, |
const edm::EventSetup & | es | ||
) | [virtual] |
Implements edm::EDProducer.
Definition at line 170 of file L1MuGlobalMuonTrigger.cc.
References L1MuGMTSorter::Cands(), L1MuGMTConfig::clearLUTsRegs(), L1MuGMTConfig::createLUTsRegs(), L1MuGMTConfig::Debug(), dir, L1MuGMTConfig::dumpLUTs(), L1MuGMTConfig::dumpRegs(), L1MuGMTPSB::empty(), edm::EventSetup::get(), L1MuGMTConfig::getBxMax(), L1MuGMTConfig::getBxMin(), L1MuGMTConfig::getGMTChanMask(), getReadoutCollection(), L1MuGMTChannelMask::getSubsystemMask(), i, L1MuGMTDebugBlock::IsMIPISO(), m_CancelOutUnit, m_config, m_db, m_ExtendedCands, m_L1CaloGeometryCacheID, m_L1MuGMTChannelMaskCacheID, m_L1MuGMTParametersCacheID, m_L1MuGMTScalesCacheID, m_L1MuTriggerPtScaleCacheID, m_L1MuTriggerScalesCacheID, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_ReadoutRingbuffer, m_sendMipIso, m_Sorter, m_writeLUTsAndRegs, L1MuGMTSorter::numberOfCands(), L1MuGMTMerger::print(), L1MuGMTMatcher::print(), L1MuGMTPSB::print(), L1MuGMTCancelOutUnit::print(), L1MuGMTMipIsoAU::print(), L1MuGMTSorter::print(), edm::ESHandle< T >::product(), edm::Event::put(), L1MuGMTPSB::receiveData(), reset(), L1MuGMTDebugBlock::reset(), L1MuGMTCancelOutUnit::run(), L1MuGMTSorter::run(), L1MuGMTMatcher::run(), L1MuGMTMerger::run(), L1MuGMTMipIsoAU::run(), L1MuGMTDebugBlock::SetBX(), L1MuGMTConfig::setCaloGeom(), L1MuGMTConfig::setDefaults(), L1MuGMTConfig::setGMTChanMask(), L1MuGMTConfig::setGMTParams(), L1MuGMTConfig::setGMTScales(), L1MuGMTConfig::setTriggerPtScale(), L1MuGMTConfig::setTriggerScales(), and AlCaHLTBitMon_QueryRunRegistry::string.
{ // configure from the event setup unsigned long long L1MuGMTScalesCacheID = es.get< L1MuGMTScalesRcd >().cacheIdentifier(); if(L1MuGMTScalesCacheID != m_L1MuGMTScalesCacheID) { edm::ESHandle< L1MuGMTScales > gmtscales_h; es.get< L1MuGMTScalesRcd >().get( gmtscales_h ); m_config->setGMTScales( gmtscales_h.product() ); } unsigned long long L1MuTriggerScalesCacheID = es.get< L1MuTriggerScalesRcd >().cacheIdentifier(); if(L1MuTriggerScalesCacheID != m_L1MuTriggerScalesCacheID) { edm::ESHandle< L1MuTriggerScales > trigscales_h; es.get< L1MuTriggerScalesRcd >().get( trigscales_h ); m_config->setTriggerScales( trigscales_h.product() ); } unsigned long long L1MuTriggerPtScaleCacheID = es.get< L1MuTriggerPtScaleRcd >().cacheIdentifier(); if(L1MuTriggerPtScaleCacheID != m_L1MuTriggerPtScaleCacheID) { edm::ESHandle< L1MuTriggerPtScale > trigptscale_h; es.get< L1MuTriggerPtScaleRcd >().get( trigptscale_h ); m_config->setTriggerPtScale( trigptscale_h.product() ); } unsigned long long L1MuGMTParametersCacheID = es.get< L1MuGMTParametersRcd >().cacheIdentifier(); if(L1MuGMTParametersCacheID != m_L1MuGMTParametersCacheID) { edm::ESHandle< L1MuGMTParameters > gmtparams_h; es.get< L1MuGMTParametersRcd >().get( gmtparams_h ); m_config->setGMTParams( gmtparams_h.product() ); m_config->setDefaults(); } unsigned long long L1MuGMTChannelMaskCacheID = es.get< L1MuGMTChannelMaskRcd >().cacheIdentifier(); if(L1MuGMTChannelMaskCacheID != m_L1MuGMTChannelMaskCacheID) { edm::ESHandle< L1MuGMTChannelMask > gmtchanmask_h; es.get< L1MuGMTChannelMaskRcd >().get( gmtchanmask_h ); m_config->setGMTChanMask( gmtchanmask_h.product() ); if ( L1MuGMTConfig::Debug(1) ) { std::string onoff; const L1MuGMTChannelMask* theChannelMask = L1MuGMTConfig::getGMTChanMask(); unsigned mask = theChannelMask->getSubsystemMask(); edm::LogVerbatim("GMT_info"); edm::LogVerbatim("GMT_info") << " GMT input Channel Mask:" << std::hex << mask << std::dec; onoff = mask&1 ? "OFF" : "ON"; edm::LogVerbatim("GMT_info") << " DT input " << onoff; onoff = mask&2 ? "OFF" : "ON"; edm::LogVerbatim("GMT_info") << " RPCb input " << onoff; onoff = mask&4 ? "OFF" : "ON"; edm::LogVerbatim("GMT_info") << " CSC input " << onoff; onoff = mask&8 ? "OFF" : "ON"; edm::LogVerbatim("GMT_info") << " RPCf input " << onoff; edm::LogVerbatim("GMT_info"); } } unsigned long long L1CaloGeometryCacheID = es.get< L1CaloGeometryRecord >().cacheIdentifier(); if(L1CaloGeometryCacheID != m_L1CaloGeometryCacheID) { edm::ESHandle< L1CaloGeometry > caloGeom_h ; es.get< L1CaloGeometryRecord >().get( caloGeom_h ) ; m_config->setCaloGeom( caloGeom_h.product() ) ; } m_config->createLUTsRegs(); // write LUTs and Regs if required if(m_writeLUTsAndRegs) { std::string dir = "gmtconfig"; mkdir(dir.c_str(), S_ISUID|S_ISGID|S_ISVTX|S_IRUSR|S_IWUSR|S_IXUSR); m_config->dumpLUTs(dir); m_config->dumpRegs(dir); } // process the event if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info"); if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "**** L1GlobalMuonTrigger processing ****"; if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info"); int bx_min = L1MuGMTConfig::getBxMin(); int bx_max = L1MuGMTConfig::getBxMax(); m_ExtendedCands.clear(); // clear readout ring buffer std::vector<L1MuGMTReadoutRecord*>::iterator irr = m_ReadoutRingbuffer.begin(); for ( ;irr!=m_ReadoutRingbuffer.end(); irr++) delete (*irr); m_ReadoutRingbuffer.clear(); if(m_db) m_db->reset(); // reset debug block for ( int bx = bx_min; bx <= bx_max; bx++ ) { m_db->SetBX(bx); // create new element in readout ring buffer m_ReadoutRingbuffer.push_back( new L1MuGMTReadoutRecord(bx) ); if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "L1GlobalMuonTrigger processing bunch-crossing : " << bx; // get data into the data buffer if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT PSB"; if ( m_PSB ) { m_PSB->receiveData(e,bx); if ( L1MuGMTConfig::Debug(4) ) m_PSB->print(); } if ( m_PSB && !m_PSB->empty() ) { // run matcher if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT barrel Matcher"; if ( m_Matcher[0] ) m_Matcher[0]->run(); if ( L1MuGMTConfig::Debug(3) && m_Matcher[0] ) m_Matcher[0]->print(); if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT endcap Matcher"; if ( m_Matcher[1] ) m_Matcher[1]->run(); if ( L1MuGMTConfig::Debug(3) && m_Matcher[1] ) m_Matcher[1]->print(); // run cancel-out units if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT barrel Cancel Out Unit"; if ( m_CancelOutUnit[0] ) m_CancelOutUnit[0]->run(); if ( L1MuGMTConfig::Debug(3) && m_CancelOutUnit[0] ) m_CancelOutUnit[0]->print(); if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT endcap Cancel Out Unit"; if ( m_CancelOutUnit[1] ) m_CancelOutUnit[1]->run(); if ( L1MuGMTConfig::Debug(3) && m_CancelOutUnit[1] ) m_CancelOutUnit[1]->print(); if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT CSC/fRPC Cancel Out Unit"; if ( m_CancelOutUnit[2] ) m_CancelOutUnit[2]->run(); if ( L1MuGMTConfig::Debug(3) && m_CancelOutUnit[2] ) m_CancelOutUnit[2]->print(); if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT DT/bRPC Cancel Out Unit"; if ( m_CancelOutUnit[3] ) m_CancelOutUnit[3]->run(); if ( L1MuGMTConfig::Debug(3) && m_CancelOutUnit[3] ) m_CancelOutUnit[3]->print(); // run MIP & ISO bit assignment units if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT barrel MIP & ISO bit Assignment Unit"; if ( m_MipIsoAU[0] ) m_MipIsoAU[0]->run(); if ( L1MuGMTConfig::Debug(3) && m_MipIsoAU[0] ) m_MipIsoAU[0]->print(); if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT endcap MIP & ISO bit Assignment Unit"; if ( m_MipIsoAU[1] ) m_MipIsoAU[1]->run(); if ( L1MuGMTConfig::Debug(3) && m_MipIsoAU[1] ) m_MipIsoAU[1]->print(); // run Merger if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT barrel Merger"; if ( m_Merger[0] ) m_Merger[0]->run(); if ( L1MuGMTConfig::Debug(3) && m_Merger[0] ) m_Merger[0]->print(); if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT endcap Merger"; if ( m_Merger[1] ) m_Merger[1]->run(); if ( L1MuGMTConfig::Debug(3) && m_Merger[1] ) m_Merger[1]->print(); // run sorter if ( L1MuGMTConfig::Debug(2) ) edm::LogVerbatim("GMT_info") << "running GMT Sorter"; if ( m_Sorter ) m_Sorter->run(); if ( L1MuGMTConfig::Debug(1) && m_Sorter ) m_Sorter->print(); // store found track candidates in a container if ( m_Sorter->numberOfCands() > 0 ) { const std::vector<const L1MuGMTExtendedCand*>& gmt_cont = m_Sorter->Cands(); std::vector<const L1MuGMTExtendedCand*>::const_iterator iexc; for ( iexc = gmt_cont.begin(); iexc != gmt_cont.end(); iexc++ ) { if ( *iexc ) m_ExtendedCands.push_back( **iexc ); } } // reset GMT reset(); } } // produce the output std::auto_ptr<std::vector<L1MuGMTCand> > GMTCands(new std::vector<L1MuGMTCand>); std::vector<L1MuGMTExtendedCand>::const_iterator iexc; for(iexc=m_ExtendedCands.begin(); iexc!=m_ExtendedCands.end(); iexc++) { GMTCands->push_back(*iexc); } e.put(GMTCands); std::auto_ptr<L1MuGMTReadoutCollection> GMTRRC(getReadoutCollection()); e.put(GMTRRC); if( m_sendMipIso ) { std::auto_ptr<std::vector<unsigned> > mipiso(new std::vector<unsigned>); for(int i=0; i<32; i++) { mipiso->push_back(m_db->IsMIPISO(0,i)); } e.put(mipiso); } // delete registers and LUTs m_config->clearLUTsRegs(); }
void L1MuGlobalMuonTrigger::reset | ( | void | ) |
Definition at line 368 of file L1MuGlobalMuonTrigger.cc.
References m_CancelOutUnit, m_Matcher, m_Merger, m_MipIsoAU, m_PSB, m_Sorter, L1MuGMTMatcher::reset(), L1MuGMTPSB::reset(), L1MuGMTMipIsoAU::reset(), L1MuGMTCancelOutUnit::reset(), L1MuGMTSorter::reset(), and L1MuGMTMerger::reset().
Referenced by produce().
{ if ( m_PSB ) m_PSB->reset(); if ( m_Matcher[0] ) m_Matcher[0]->reset(); if ( m_Matcher[1] ) m_Matcher[1]->reset(); if ( m_CancelOutUnit[0] ) m_CancelOutUnit[0]->reset(); if ( m_CancelOutUnit[1] ) m_CancelOutUnit[1]->reset(); if ( m_CancelOutUnit[2] ) m_CancelOutUnit[2]->reset(); if ( m_CancelOutUnit[3] ) m_CancelOutUnit[3]->reset(); if ( m_MipIsoAU[0] ) m_MipIsoAU[0]->reset(); if ( m_MipIsoAU[1] ) m_MipIsoAU[1]->reset(); if ( m_Merger[0] ) m_Merger[0]->reset(); if ( m_Merger[1] ) m_Merger[1]->reset(); if ( m_Sorter) m_Sorter->reset(); }
const L1MuGMTSorter* L1MuGlobalMuonTrigger::Sorter | ( | ) | const [inline] |
return pointer to Sorter
Definition at line 80 of file L1MuGlobalMuonTrigger.h.
References m_Sorter.
{ return m_Sorter; }
L1MuGMTCancelOutUnit* L1MuGlobalMuonTrigger::m_CancelOutUnit[4] [private] |
Definition at line 99 of file L1MuGlobalMuonTrigger.h.
Referenced by CancelOutUnit(), L1MuGlobalMuonTrigger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
L1MuGMTConfig * L1MuGlobalMuonTrigger::m_config = 0 [static, private] |
Definition at line 110 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), produce(), and ~L1MuGlobalMuonTrigger().
L1MuGMTDebugBlock * L1MuGlobalMuonTrigger::m_db = 0 [static, private] |
Definition at line 112 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), produce(), and ~L1MuGlobalMuonTrigger().
std::vector<L1MuGMTExtendedCand> L1MuGlobalMuonTrigger::m_ExtendedCands [private] |
Definition at line 104 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
unsigned long long L1MuGlobalMuonTrigger::m_L1CaloGeometryCacheID [private] |
Definition at line 119 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
unsigned long long L1MuGlobalMuonTrigger::m_L1MuGMTChannelMaskCacheID [private] |
Definition at line 118 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
unsigned long long L1MuGlobalMuonTrigger::m_L1MuGMTParametersCacheID [private] |
Definition at line 117 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
unsigned long long L1MuGlobalMuonTrigger::m_L1MuGMTScalesCacheID [private] |
Definition at line 114 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
unsigned long long L1MuGlobalMuonTrigger::m_L1MuTriggerPtScaleCacheID [private] |
Definition at line 116 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
unsigned long long L1MuGlobalMuonTrigger::m_L1MuTriggerScalesCacheID [private] |
Definition at line 115 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
L1MuGMTMatcher* L1MuGlobalMuonTrigger::m_Matcher[2] [private] |
Definition at line 98 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), Matcher(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
L1MuGMTMerger* L1MuGlobalMuonTrigger::m_Merger[2] [private] |
Definition at line 101 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), Merger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
L1MuGMTMipIsoAU* L1MuGlobalMuonTrigger::m_MipIsoAU[2] [private] |
Definition at line 100 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), MipIsoAU(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
L1MuGMTPSB* L1MuGlobalMuonTrigger::m_PSB [private] |
Definition at line 93 of file L1MuGlobalMuonTrigger.h.
Referenced by Data(), L1MuGlobalMuonTrigger(), produce(), reset(), and ~L1MuGlobalMuonTrigger().
std::vector<L1MuGMTReadoutRecord*> L1MuGlobalMuonTrigger::m_ReadoutRingbuffer [private] |
Definition at line 105 of file L1MuGlobalMuonTrigger.h.
Referenced by currentReadoutRecord(), getReadoutCollection(), produce(), and ~L1MuGlobalMuonTrigger().
bool L1MuGlobalMuonTrigger::m_sendMipIso [private] |
Definition at line 108 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().
L1MuGMTSorter* L1MuGlobalMuonTrigger::m_Sorter [private] |
Definition at line 102 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), produce(), reset(), Sorter(), and ~L1MuGlobalMuonTrigger().
bool L1MuGlobalMuonTrigger::m_writeLUTsAndRegs [private] |
Definition at line 107 of file L1MuGlobalMuonTrigger.h.
Referenced by L1MuGlobalMuonTrigger(), and produce().