#include <L1MuBMEtaProcessor.h>
Public Member Functions | |
int | eta (int id) const |
return eta values, index [0,11] More... | |
bool | fineBit (int id) const |
return fine bit, index [0,11] More... | |
int | id () const |
return Eta Processor identifier (0-11) More... | |
L1MuBMEtaProcessor (const L1MuBMTrackFinder &, int id, edm::ConsumesCollector &&iC) | |
constructor More... | |
void | print () const |
print muon candidates found by the Eta Processor More... | |
virtual void | reset () |
reset the Eta Processor More... | |
virtual void | run (int bx, const edm::Event &e, const edm::EventSetup &c) |
run the Eta Processor More... | |
const L1MuBMTrackFinder & | tf () const |
return reference to barrel MTTF More... | |
virtual | ~L1MuBMEtaProcessor () |
destructor More... | |
Private Member Functions | |
void | assign () |
assign eta and etaFineBit More... | |
void | receiveAddresses () |
receive addresses (from 6 Sector Processors) More... | |
void | receiveData (int bx, const edm::Event &e, const edm::EventSetup &c) |
receive data (eta trigger primitives) More... | |
void | runEtaMatchingUnit (const edm::EventSetup &c) |
run Eta Matching Unit (EMU) More... | |
void | runEtaTrackFinder (const edm::EventSetup &c) |
run Eta Track Finder (ETF) More... | |
Static Private Member Functions | |
static int | quality (int id, int stat) |
get quality code; id [0,26], stat [1,3] More... | |
Private Attributes | |
edm::ESHandle< L1TMuonBarrelParams > | bmtfParamsHandle |
int | m_address [12] |
edm::EDGetTokenT< L1MuDTChambThContainer > | m_DTDigiToken |
int | m_epid |
int | m_eta [12] |
bool | m_fine [12] |
std::vector< int > | m_foundPattern |
int | m_mask |
int | m_pattern [12] |
const L1MuBMTrackFinder & | m_tf |
L1MuBMTrack * | m_TrackCand [12] |
L1MuBMTrack * | m_TracKCand [12] |
std::vector< const L1MuBMTrackSegEta * > | m_tseta |
L1MuDTTFMasks | msks |
L1MuDTEtaPatternLut | theEtaPatternLUT |
L1MuDTQualPatternLut | theQualPatternLUT |
Eta Processor:
An Eta Processor consists of :
N. Neumeister CERN EP J. Troconiz UAM Madrid
Definition at line 62 of file L1MuBMEtaProcessor.h.
L1MuBMEtaProcessor::L1MuBMEtaProcessor | ( | const L1MuBMTrackFinder & | tf, |
int | id, | ||
edm::ConsumesCollector && | iC | ||
) |
constructor
Definition at line 61 of file L1MuBMEtaProcessor.cc.
References m_tseta.
|
virtual |
|
private |
assign eta and etaFineBit
Definition at line 440 of file L1MuBMEtaProcessor.cc.
References L1MuDTEtaPatternLut::getPattern(), i, m_eta, m_fine, m_pattern, m_TrackCand, m_TracKCand, m_tseta, AlCaHLTBitMon_ParallelJobs::p, L1MuDTEtaPattern::position(), L1MuBMTrack::setEta(), L1MuBMTrack::setFineEtaBit(), L1MuBMTrack::setTSeta(), theEtaPatternLUT, and L1MuDTEtaPattern::wheel().
Referenced by fineBit(), and run().
|
inline |
return eta values, index [0,11]
Definition at line 88 of file L1MuBMEtaProcessor.h.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inline |
return fine bit, index [0,11]
Definition at line 91 of file L1MuBMEtaProcessor.h.
References assign(), id(), m_fine, quality(), receiveAddresses(), receiveData(), runEtaMatchingUnit(), and runEtaTrackFinder().
|
inline |
return Eta Processor identifier (0-11)
Definition at line 73 of file L1MuBMEtaProcessor.h.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, m_epid, print(), reset(), and run().
Referenced by eta(), fineBit(), and quality().
void L1MuBMEtaProcessor::print | ( | void | ) | const |
print muon candidates found by the Eta Processor
Definition at line 134 of file L1MuBMEtaProcessor.cc.
References gather_cfg::cout, L1MuDTEtaPattern::eta(), L1MuDTQualPatternLut::getCoarseEta(), L1MuDTEtaPatternLut::getPattern(), i, L1MuDTEtaPattern::id(), j, m_address, m_epid, m_eta, m_fine, m_foundPattern, m_pattern, m_tseta, AlCaHLTBitMon_ParallelJobs::p, position, L1MuDTEtaPattern::quality(), quality(), relativeConstraints::station, theEtaPatternLUT, and theQualPatternLUT.
Referenced by id().
|
staticprivate |
get quality code; id [0,26], stat [1,3]
Definition at line 477 of file L1MuBMEtaProcessor.cc.
References id().
Referenced by fineBit(), print(), and runEtaTrackFinder().
|
private |
receive addresses (from 6 Sector Processors)
Definition at line 279 of file L1MuBMEtaProcessor.cc.
References L1MuBMTrack::address(), L1MuBMTrack::empty(), i, m_address, m_epid, m_tf, m_TrackCand, m_TracKCand, L1MuBMTrackFinder::sp(), L1MuBMSectorProcessor::track(), L1MuBMSectorProcessor::tracK(), L1MuBMAddressArray::trackAddressCode(), and makeMuonMisalignmentScenario::wheel.
Referenced by fineBit(), and run().
|
private |
receive data (eta trigger primitives)
Definition at line 214 of file L1MuBMEtaProcessor.cc.
References bmtfParamsHandle, L1MuDTChambThContainer::chThetaSegm(), L1TMuonBarrelParams::LUTParams::eta_lut_, edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), L1MuDTTFMasks::get_etsoc_chdis_st1(), L1MuDTTFMasks::get_etsoc_chdis_st2(), L1MuDTTFMasks::get_etsoc_chdis_st3(), edm::Event::getByToken(), i, L1TMuonBarrelParams::l1mudttfmasks, L1TMuonBarrelParams::lutparams_, m_DTDigiToken, m_epid, L1MuDTEtaPatternLut::m_lut, L1MuDTQualPatternLut::m_lut, m_mask, m_tseta, msks, L1MuDTChambThDigi::position(), edm::ESHandle< T >::product(), L1TMuonBarrelParams::LUTParams::qp_lut_, L1MuDTChambThDigi::quality(), theEtaPatternLUT, theQualPatternLUT, and makeMuonMisalignmentScenario::wheel.
Referenced by fineBit(), and run().
|
virtual |
reset the Eta Processor
Definition at line 102 of file L1MuBMEtaProcessor.cc.
References i, m_address, m_eta, m_fine, m_foundPattern, m_mask, m_pattern, m_TrackCand, m_TracKCand, and m_tseta.
Referenced by id().
|
virtual |
run the Eta Processor
Definition at line 84 of file L1MuBMEtaProcessor.cc.
References assign(), L1MuBMTFConfig::getEtaTF(), receiveAddresses(), receiveData(), runEtaMatchingUnit(), and runEtaTrackFinder().
Referenced by id().
|
private |
run Eta Matching Unit (EMU)
Definition at line 361 of file L1MuBMEtaProcessor.cc.
References bmtfParamsHandle, L1MuDTEtaPattern::eta(), spr::find(), edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), L1MuDTQualPatternLut::getCoarseEta(), L1MuDTEtaPatternLut::getPattern(), L1MuDTQualPatternLut::getQualifiedPatterns(), i, L1TMuonBarrelParams::lutparams_, m_address, m_eta, m_fine, m_foundPattern, L1MuDTQualPatternLut::m_lut, m_mask, m_pattern, AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< T >::product(), L1TMuonBarrelParams::LUTParams::qp_lut_, theEtaPatternLUT, and theQualPatternLUT.
Referenced by fineBit(), and run().
|
private |
run Eta Track Finder (ETF)
Definition at line 310 of file L1MuBMEtaProcessor.cc.
References L1MuDTEtaPatternLut::begin(), stringResolutionProvider_cfi::bin, bmtfParamsHandle, relativeConstraints::empty, L1MuDTEtaPatternLut::end(), L1TMuonBarrelParams::LUTParams::eta_lut_, edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), i, L1MuDTEtaPattern::id(), L1TMuonBarrelParams::lutparams_, m_foundPattern, L1MuDTEtaPatternLut::m_lut, m_tseta, listBenchmarks::pattern, L1MuDTEtaPattern::position(), edm::ESHandle< T >::product(), lumiQueryAPI::q, L1MuDTEtaPattern::quality(), quality(), relativeConstraints::station, theEtaPatternLUT, L1MuDTEtaPattern::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by fineBit(), and run().
|
inline |
return reference to barrel MTTF
Definition at line 85 of file L1MuBMEtaProcessor.h.
References m_tf.
|
private |
Definition at line 134 of file L1MuBMEtaProcessor.h.
Referenced by receiveData(), runEtaMatchingUnit(), and runEtaTrackFinder().
|
private |
Definition at line 126 of file L1MuBMEtaProcessor.h.
Referenced by print(), receiveAddresses(), reset(), and runEtaMatchingUnit().
|
private |
Definition at line 139 of file L1MuBMEtaProcessor.h.
Referenced by receiveData().
|
private |
Definition at line 116 of file L1MuBMEtaProcessor.h.
Referenced by id(), print(), receiveAddresses(), and receiveData().
|
private |
Definition at line 120 of file L1MuBMEtaProcessor.h.
Referenced by assign(), eta(), print(), reset(), and runEtaMatchingUnit().
|
private |
Definition at line 121 of file L1MuBMEtaProcessor.h.
Referenced by assign(), fineBit(), print(), reset(), and runEtaMatchingUnit().
|
private |
Definition at line 123 of file L1MuBMEtaProcessor.h.
Referenced by print(), reset(), runEtaMatchingUnit(), and runEtaTrackFinder().
|
private |
Definition at line 118 of file L1MuBMEtaProcessor.h.
Referenced by receiveData(), reset(), and runEtaMatchingUnit().
|
private |
Definition at line 124 of file L1MuBMEtaProcessor.h.
Referenced by assign(), print(), reset(), and runEtaMatchingUnit().
|
private |
Definition at line 115 of file L1MuBMEtaProcessor.h.
Referenced by receiveAddresses(), and tf().
|
private |
Definition at line 127 of file L1MuBMEtaProcessor.h.
Referenced by assign(), receiveAddresses(), and reset().
|
private |
Definition at line 128 of file L1MuBMEtaProcessor.h.
Referenced by assign(), receiveAddresses(), and reset().
|
private |
Definition at line 129 of file L1MuBMEtaProcessor.h.
Referenced by assign(), L1MuBMEtaProcessor(), print(), receiveData(), reset(), and runEtaTrackFinder().
|
private |
Definition at line 135 of file L1MuBMEtaProcessor.h.
Referenced by receiveData().
|
private |
Definition at line 136 of file L1MuBMEtaProcessor.h.
Referenced by assign(), print(), receiveData(), runEtaMatchingUnit(), and runEtaTrackFinder().
|
private |
Definition at line 137 of file L1MuBMEtaProcessor.h.
Referenced by print(), receiveData(), and runEtaMatchingUnit().