#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 () |
L1MuBMTrackCollection & | getcache1 () |
L1MuBMTrackSegPhiCollection & | getcache2 () |
L1MuBMTrackSegEtaCollection & | getcache3 () |
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 |
L1MuBMTrackCollection | _cache1 |
L1MuBMTrackSegPhiCollection | _cache2 |
L1MuBMTrackSegEtaCollection | _cache3 |
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 = nullptr |
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 66 of file L1MuBMTrackFinder.h.
container for muon candidates
Definition at line 69 of file L1MuBMTrackFinder.h.
Definition at line 70 of file L1MuBMTrackFinder.h.
L1MuBMTrackFinder::L1MuBMTrackFinder | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector && | iC | ||
) |
constructor
Definition at line 60 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 |
L1MuBMTrackFinder::TFtracks_const_iter L1MuBMTrackFinder::begin | ( | int | bx | ) |
Definition at line 421 of file L1MuBMTrackFinder.cc.
References _cache, BXVector< T >::begin(), and l1GtPatternGenerator_cfi::bx.
void L1MuBMTrackFinder::clear | ( | void | ) |
Definition at line 425 of file L1MuBMTrackFinder.cc.
References _cache, _cache0, _cache1, _cache2, _cache3, and BXVector< T >::clear().
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inlinestatic |
L1MuBMTrackFinder::TFtracks_const_iter L1MuBMTrackFinder::end | ( | int | bx | ) |
Definition at line 423 of file L1MuBMTrackFinder.cc.
References _cache, l1GtPatternGenerator_cfi::bx, and BXVector< T >::end().
|
inline |
get a pointer to an Eta Processor, index [0-11]
Definition at line 93 of file L1MuBMTrackFinder.h.
References triggerObjects_cff::id, and m_epvec.
Referenced by setup().
|
inline |
Definition at line 116 of file L1MuBMTrackFinder.h.
References _cache.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 117 of file L1MuBMTrackFinder.h.
References _cache0.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 118 of file L1MuBMTrackFinder.h.
References _cache1.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 119 of file L1MuBMTrackFinder.h.
References _cache2.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 120 of file L1MuBMTrackFinder.h.
References _cache3.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
get a pointer to the BM Muon Sorter
Definition at line 99 of file L1MuBMTrackFinder.h.
References m_ms.
int L1MuBMTrackFinder::numberOfTracks | ( | ) |
get number of muon candidates found by the barrel MTTF
Definition at line 413 of file L1MuBMTrackFinder.cc.
References _cache, l1GtPatternGenerator_cfi::bx, BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), EgammaValidation_cff::num, and BXVector< T >::size().
Referenced by L1TMuonBarrelTrackProducer::produce().
int L1MuBMTrackFinder::numberOfTracks | ( | int | bx | ) |
get number of muon candidates found by the barrel MTTF at a given bx
Definition at line 436 of file L1MuBMTrackFinder.cc.
References _cache, and BXVector< T >::size().
|
inlineprivatevirtual |
run Track Finder and store candidates in cache
Definition at line 124 of file L1MuBMTrackFinder.h.
References HltBtagPostValidation_cff::c, MillePedeFileConverter_cfg::e, reset(), and run().
void L1MuBMTrackFinder::reset | ( | void | ) |
reset the barrel MTTF
Definition at line 379 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 160 of file L1MuBMTrackFinder.cc.
References _cache, _cache0, _cache1, _cache2, _cache3, funct::abs(), L1MuBMSecProcMap::begin(), l1t::bmtf, l1GtPatternGenerator_cfi::bx, L1MuDTChambPhContainer::bxEmpty(), HltBtagPostValidation_cff::c, gather_cfg::cout, L1MuBMTFConfig::Debug(), MillePedeFileConverter_cfg::e, L1MuBMSecProcMap::end(), mps_fire::end, L1MuBMTFConfig::getBxMax(), L1MuBMTFConfig::getBxMin(), L1MuDTChambPhContainer::getContainer(), 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, contentValuesFiles::number, BXVector< T >::push_back(), reset(), 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(), and l1t::RegionalMuonCand::setTrackSubAddress().
Referenced by L1TMuonBarrelTrackProducer::produce(), and reconstruct().
|
inline |
void L1MuBMTrackFinder::setup | ( | edm::ConsumesCollector && | iC | ) |
build the structure of the barrel MTTF
Definition at line 116 of file L1MuBMTrackFinder.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), ep(), L1MuBMSecProcMap::insert(), m_epvec, m_ms, m_spmap, m_wsvec, eostools::move(), sp(), and ws().
Referenced by L1MuBMTFSetup::L1MuBMTFSetup().
const L1MuBMSectorProcessor * L1MuBMTrackFinder::sp | ( | const L1MuBMSecProcId & | id | ) | const |
get a pointer to a Sector Processor
Definition at line 408 of file L1MuBMTrackFinder.cc.
References m_spmap, and L1MuBMSecProcMap::sp().
Referenced by L1MuBMSectorProcessor::neighbour(), L1MuBMEtaProcessor::receiveAddresses(), L1MuBMWedgeSorter::run(), and setup().
|
inline |
get a pointer to a Wedge Sorter, index [0-11]
Definition at line 96 of file L1MuBMTrackFinder.h.
References triggerObjects_cff::id, and m_wsvec.
Referenced by L1MuBMMuonSorter::run(), and setup().
|
private |
Definition at line 131 of file L1MuBMTrackFinder.h.
Referenced by trackingPlots.TrackingIterationOrder::__call__(), begin(), clear(), trackingPlots.TimePerEventPlot::create(), end(), getcache(), numberOfTracks(), and run().
|
private |
Definition at line 130 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache0(), and run().
|
private |
Definition at line 132 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache1(), and run().
|
private |
Definition at line 133 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache2(), and run().
|
private |
Definition at line 134 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache3(), and run().
|
staticprivate |
Track Finder configuration.
Definition at line 141 of file L1MuBMTrackFinder.h.
Referenced by config(), L1MuBMTrackFinder(), run(), and ~L1MuBMTrackFinder().
|
private |
Definition at line 143 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), and run().
|
private |
Eta Processors.
Definition at line 137 of file L1MuBMTrackFinder.h.
Referenced by ep(), L1MuBMTrackFinder(), reset(), run(), setup(), and ~L1MuBMTrackFinder().
|
private |
BM Muon Sorter.
Definition at line 139 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), ms(), reset(), setup(), and ~L1MuBMTrackFinder().
|
private |
Sector Processors.
Definition at line 136 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), reset(), run(), setup(), sp(), and ~L1MuBMTrackFinder().
|
private |
Wedge Sorters.
Definition at line 138 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), reset(), run(), setup(), ws(), and ~L1MuBMTrackFinder().