#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... | |
edm::ESGetToken < L1TMuonBarrelParams, L1TMuonBarrelParamsRcd > | m_mbParamsToken |
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 69 of file L1MuBMTrackFinder.h.
container for muon candidates
Definition at line 72 of file L1MuBMTrackFinder.h.
Definition at line 73 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_mbParamsToken, m_ms, m_spmap, and m_wsvec.
|
virtual |
destructor
Definition at line 86 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 422 of file L1MuBMTrackFinder.cc.
References _cache, and BXVector< T >::begin().
void L1MuBMTrackFinder::clear | ( | void | ) |
Definition at line 426 of file L1MuBMTrackFinder.cc.
References _cache, _cache0, _cache1, _cache2, _cache3, and BXVector< T >::clear().
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inlinestatic |
return configuration
Definition at line 117 of file L1MuBMTrackFinder.h.
References m_config.
Referenced by zMuMuValidation.ZMuMuValidation::trackcollection().
L1MuBMTrackFinder::TFtracks_const_iter L1MuBMTrackFinder::end | ( | int | bx | ) |
Definition at line 424 of file L1MuBMTrackFinder.cc.
References _cache, and BXVector< T >::end().
|
inline |
get a pointer to an Eta Processor, index [0-11]
Definition at line 96 of file L1MuBMTrackFinder.h.
References gpuClustering::id, and m_epvec.
Referenced by setup().
|
inline |
Definition at line 119 of file L1MuBMTrackFinder.h.
References _cache.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 120 of file L1MuBMTrackFinder.h.
References _cache0.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 121 of file L1MuBMTrackFinder.h.
References _cache1.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 122 of file L1MuBMTrackFinder.h.
References _cache2.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
Definition at line 123 of file L1MuBMTrackFinder.h.
References _cache3.
Referenced by L1TMuonBarrelTrackProducer::produce().
|
inline |
get a pointer to the BM Muon Sorter
Definition at line 102 of file L1MuBMTrackFinder.h.
References m_ms.
int L1MuBMTrackFinder::numberOfTracks | ( | ) |
get number of muon candidates found by the barrel MTTF
Definition at line 414 of file L1MuBMTrackFinder.cc.
References _cache, makePileupJSON::bx, BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), pileupDistInMC::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 437 of file L1MuBMTrackFinder.cc.
References _cache, and BXVector< T >::size().
|
inlineprivatevirtual |
run Track Finder and store candidates in cache
Definition at line 127 of file L1MuBMTrackFinder.h.
References reset(), and run().
void L1MuBMTrackFinder::reset | ( | void | ) |
reset the barrel MTTF
Definition at line 380 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 161 of file L1MuBMTrackFinder.cc.
References _cache, _cache0, _cache1, _cache2, _cache3, funct::abs(), L1MuBMTrack::address(), SplitLinear::begin, L1MuBMSecProcMap::begin(), l1t::bmtf, makePileupJSON::bx, L1MuBMTrack::bx(), gather_cfg::cout, L1MuBMTFConfig::Debug(), L1MuBMTrack::empty(), L1MuBMSecProcMap::end(), dataset::end, L1MuBMTFConfig::getBxMax(), L1MuBMTFConfig::getBxMin(), edm::Event::getByToken(), edm::EventSetup::getData(), L1MuBMTrack::getTSeta(), L1MuBMTrack::getTSphi(), 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_mbParamsToken, m_spmap, m_wsvec, contentValuesFiles::number, 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 117 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 409 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 99 of file L1MuBMTrackFinder.h.
References gpuClustering::id, and m_wsvec.
Referenced by L1MuBMMuonSorter::run(), and setup().
|
private |
Definition at line 134 of file L1MuBMTrackFinder.h.
Referenced by trackingPlots.TrackingIterationOrder::__call__(), begin(), clear(), trackingPlots.TimePerEventPlot::create(), end(), getcache(), numberOfTracks(), and run().
|
private |
Definition at line 133 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache0(), and run().
|
private |
Definition at line 135 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache1(), and run().
|
private |
Definition at line 136 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache2(), and run().
|
private |
Definition at line 137 of file L1MuBMTrackFinder.h.
Referenced by clear(), getcache3(), and run().
|
staticprivate |
Track Finder configuration.
Definition at line 144 of file L1MuBMTrackFinder.h.
Referenced by config(), L1MuBMTrackFinder(), run(), and ~L1MuBMTrackFinder().
|
private |
Definition at line 146 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), and run().
|
private |
Eta Processors.
Definition at line 140 of file L1MuBMTrackFinder.h.
Referenced by ep(), L1MuBMTrackFinder(), reset(), run(), setup(), and ~L1MuBMTrackFinder().
|
private |
Definition at line 147 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), and run().
|
private |
BM Muon Sorter.
Definition at line 142 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), ms(), reset(), setup(), and ~L1MuBMTrackFinder().
|
private |
Sector Processors.
Definition at line 139 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), reset(), run(), setup(), sp(), and ~L1MuBMTrackFinder().
|
private |
Wedge Sorters.
Definition at line 141 of file L1MuBMTrackFinder.h.
Referenced by L1MuBMTrackFinder(), reset(), run(), setup(), ws(), and ~L1MuBMTrackFinder().