#include <L1MuBMTrackFinder.h>
Public Types | |
typedef l1t::RegionalMuonCandBxCollection::const_iterator | TFtracks_const_iter |
container for muon candidates More... | |
typedef l1t::RegionalMuonCandBxCollection::iterator | TFtracks_iter |
Public Member Functions | |
TFtracks_const_iter | begin (int bx) |
void | clear () |
TFtracks_const_iter | end (int bx) |
const L1MuBMEtaProcessor * | ep (int id) const |
get a pointer to an Eta Processor, index [0-11] More... | |
l1t::RegionalMuonCandBxCollection & | getcache () |
l1t::RegionalMuonCandBxCollection & | getcache0 () |
L1MuBMTrackFinder (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC) | |
constructor More... | |
const L1MuBMMuonSorter * | ms () const |
get a pointer to the BM Muon Sorter More... | |
int | numberOfTracks () |
get number of muon candidates found by the barrel MTTF More... | |
int | numberOfTracks (int bx) |
get number of muon candidates found by the barrel MTTF at a given bx More... | |
void | reset () |
reset the barrel MTTF More... | |
void | run (const edm::Event &e, const edm::EventSetup &c) |
run the barrel MTTF More... | |
int | setAdd (int ust, int rel_add) |
void | setup (edm::ConsumesCollector &&) |
build the structure of the barrel MTTF More... | |
const L1MuBMSectorProcessor * | sp (const L1MuBMSecProcId &) const |
get a pointer to a Sector Processor More... | |
const L1MuBMWedgeSorter * | ws (int id) const |
get a pointer to a Wedge Sorter, index [0-11] More... | |
virtual | ~L1MuBMTrackFinder () |
destructor More... | |
Static Public Member Functions | |
static const L1MuBMTFConfig * | config () |
return configuration More... | |
Private Member Functions | |
virtual void | reconstruct (const edm::Event &e, const edm::EventSetup &c) |
run Track Finder and store candidates in cache More... | |
Private Attributes | |
l1t::RegionalMuonCandBxCollection | _cache |
l1t::RegionalMuonCandBxCollection | _cache0 |
edm::EDGetTokenT< L1MuDTChambPhContainer > | m_DTDigiToken |
std::vector< L1MuBMEtaProcessor * > | m_epvec |
Eta Processors. More... | |
L1MuBMMuonSorter * | m_ms |
BM Muon Sorter. More... | |
L1MuBMSecProcMap * | m_spmap |
Sector Processors. More... | |
std::vector< L1MuBMWedgeSorter * > | m_wsvec |
Wedge Sorters. More... | |
Static Private Attributes | |
static L1MuBMTFConfig * | m_config = 0 |
Track Finder configuration. More... | |
L1 barrel Muon Trigger Track Finder (MTTF)
The barrel MTTF consists of:
N. Neumeister CERN EP J. Troconiz UAM Madrid modification: G.Karathanasis UoAthens
Definition at line 63 of file L1MuBMTrackFinder.h.
container for muon candidates
Definition at line 68 of file L1MuBMTrackFinder.h.
Definition at line 69 of file L1MuBMTrackFinder.h.
L1MuBMTrackFinder::L1MuBMTrackFinder | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector && | iC | ||
) |
constructor
Definition at line 59 of file L1MuBMTrackFinder.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), L1MuBMTFConfig::getBMDigiInputTag(), m_config, m_DTDigiToken, m_epvec, m_ms, m_spmap, and m_wsvec.
|
virtual |
destructor
Definition at line 81 of file L1MuBMTrackFinder.cc.
References m_config, m_epvec, m_ms, m_spmap, and m_wsvec.
L1MuBMTrackFinder::TFtracks_const_iter L1MuBMTrackFinder::begin | ( | int | bx | ) |
Definition at line 404 of file L1MuBMTrackFinder.cc.
References _cache, and BXVector< T >::begin().
Referenced by ms().
void L1MuBMTrackFinder::clear | ( | void | ) |
Definition at line 418 of file L1MuBMTrackFinder.cc.
References _cache, _cache0, and BXVector< T >::clear().
Referenced by ms(), and L1TMuonBarrelTrackProducer::produce().
|
inlinestatic |
return configuration
Definition at line 113 of file L1MuBMTrackFinder.h.
References m_config.
L1MuBMTrackFinder::TFtracks_const_iter L1MuBMTrackFinder::end | ( | int | bx | ) |
Definition at line 411 of file L1MuBMTrackFinder.cc.
References _cache, and BXVector< T >::end().
Referenced by ms().
|
inline |
get a pointer to an Eta Processor, index [0-11]
Definition at line 92 of file L1MuBMTrackFinder.h.
References hcalTTPDigis_cfi::id, and m_epvec.
Referenced by setup().
|
inline |
Definition at line 117 of file L1MuBMTrackFinder.h.
References _cache.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 118 of file L1MuBMTrackFinder.h.
References _cache0.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
get a pointer to the BM Muon Sorter
Definition at line 98 of file L1MuBMTrackFinder.h.
References begin(), clear(), end(), m_ms, and numberOfTracks().
int L1MuBMTrackFinder::numberOfTracks | ( | ) |
get number of muon candidates found by the barrel MTTF
Definition at line 395 of file L1MuBMTrackFinder.cc.
References _cache, BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), pileupDistInMC::num, and BXVector< T >::size().
Referenced by ms(), and L1TMuonBarrelTrackProducer::produce().
int L1MuBMTrackFinder::numberOfTracks | ( | int | bx | ) |
get number of muon candidates found by the barrel MTTF at a given bx
Definition at line 429 of file L1MuBMTrackFinder.cc.
References _cache, and BXVector< T >::size().
|
inlineprivatevirtual |
run Track Finder and store candidates in cache
Definition at line 123 of file L1MuBMTrackFinder.h.
References reset(), and run().
void L1MuBMTrackFinder::reset | ( | void | ) |
reset the barrel MTTF
Definition at line 357 of file L1MuBMTrackFinder.cc.
References L1MuBMSecProcMap::begin(), L1MuBMSecProcMap::end(), m_epvec, m_ms, m_spmap, m_wsvec, and L1MuBMMuonSorter::reset().
Referenced by reconstruct(), and run().
void L1MuBMTrackFinder::run | ( | const edm::Event & | e, |
const edm::EventSetup & | c | ||
) |
run the barrel MTTF
Definition at line 153 of file L1MuBMTrackFinder.cc.
References _cache, _cache0, funct::abs(), L1MuBMTrack::address(), L1MuBMSecProcMap::begin(), l1t::bmtf, L1MuBMTrack::bx(), L1MuDTChambPhContainer::bxEmpty(), gather_cfg::cout, L1MuBMTFConfig::Debug(), L1MuBMTrack::empty(), L1MuBMSecProcMap::end(), L1MuBMTFConfig::getBxMax(), L1MuBMTFConfig::getBxMin(), edm::Event::getByToken(), L1MuDTChambPhContainer::getContainer(), l1t::RegionalMuonCand::hwEta(), l1t::RegionalMuonCand::hwHF(), l1t::RegionalMuonCand::hwPhi(), l1t::RegionalMuonCand::hwQual(), l1t::RegionalMuonCand::hwSign(), l1t::RegionalMuonCand::hwSignValid(), l1t::RegionalMuonCand::kSegSelStat1, l1t::RegionalMuonCand::kSegSelStat2, l1t::RegionalMuonCand::kSegSelStat3, l1t::RegionalMuonCand::kSegSelStat4, l1t::RegionalMuonCand::kStat1, l1t::RegionalMuonCand::kStat2, l1t::RegionalMuonCand::kStat3, l1t::RegionalMuonCand::kStat4, l1t::RegionalMuonCand::kWheelNum, l1t::RegionalMuonCand::kWheelSide, m_config, m_DTDigiToken, m_epvec, m_spmap, m_wsvec, L1MuBMTrack::pt(), BXVector< T >::push_back(), reset(), L1MuBMSecProcId::sector(), setAdd(), BXVector< T >::setBXRange(), L1MuBMTFConfig::setDefaultsES(), l1t::RegionalMuonCand::setHwEta(), l1t::RegionalMuonCand::setHwHF(), l1t::RegionalMuonCand::setHwPhi(), l1t::RegionalMuonCand::setHwPt(), l1t::RegionalMuonCand::setHwQual(), l1t::RegionalMuonCand::setHwSign(), l1t::RegionalMuonCand::setHwSignValid(), l1t::RegionalMuonCand::setTFIdentifiers(), l1t::RegionalMuonCand::setTrackSubAddress(), L1MuBMTrack::spid(), and L1MuBMSecProcId::wheel().
Referenced by L1TMuonBarrelTrackProducer::produce(), and reconstruct().
|
inline |
void L1MuBMTrackFinder::setup | ( | edm::ConsumesCollector && | iC | ) |
build the structure of the barrel MTTF
Definition at line 114 of file L1MuBMTrackFinder.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), ep(), L1MuBMSecProcMap::insert(), m_epvec, m_ms, m_spmap, m_wsvec, eostools::move(), SimDataFormats::CaloAnalysis::sc, and ws().
Referenced by L1MuBMTFSetup::L1MuBMTFSetup().
const L1MuBMSectorProcessor * L1MuBMTrackFinder::sp | ( | const L1MuBMSecProcId & | id | ) | const |
get a pointer to a Sector Processor
Definition at line 385 of file L1MuBMTrackFinder.cc.
References m_spmap, and L1MuBMSecProcMap::sp().
Referenced by L1MuBMSectorProcessor::neighbour(), L1MuBMEtaProcessor::receiveAddresses(), and L1MuBMWedgeSorter::run().
|
inline |
get a pointer to a Wedge Sorter, index [0-11]
Definition at line 95 of file L1MuBMTrackFinder.h.
References hcalTTPDigis_cfi::id, and m_wsvec.
Referenced by L1MuBMMuonSorter::run(), and setup().
|
private |
Definition at line 128 of file L1MuBMTrackFinder.h.
Referenced by begin(), clear(), end(), getcache(), numberOfTracks(), and run().
|
private |
Definition at line 127 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache0(), and run().
|
staticprivate |
Track Finder configuration.
Definition at line 134 of file L1MuBMTrackFinder.h.
Referenced by config(), L1MuBMTrackFinder(), run(), setAdd(), and ~L1MuBMTrackFinder().
|
private |
Definition at line 138 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), and run().
|
private |
Eta Processors.
Definition at line 130 of file L1MuBMTrackFinder.h.
Referenced by ep(), L1MuBMTrackFinder(), reset(), run(), setup(), and ~L1MuBMTrackFinder().
|
private |
BM Muon Sorter.
Definition at line 132 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), ms(), reset(), setup(), and ~L1MuBMTrackFinder().
|
private |
Sector Processors.
Definition at line 129 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), reset(), run(), setup(), sp(), and ~L1MuBMTrackFinder().
|
private |
Wedge Sorters.
Definition at line 131 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), reset(), run(), setup(), ws(), and ~L1MuBMTrackFinder().