#include <OmtfAngleConverter.h>
Public Member Functions | |
virtual int | getGlobalEta (const DTChamberId dTChamberId, const L1MuDTChambThContainer *dtThDigis, int bxNum) const |
virtual int | getGlobalEta (unsigned int rawid, const CSCCorrelatedLCTDigi &aDigi, float &r) const |
Convert local eta coordinate to global digital microGMT scale. More... | |
virtual EtaValue | getGlobalEta (unsigned int rawid, const unsigned int &aDigi) const |
virtual std::vector< EtaValue > | getGlobalEta (const L1MuDTChambThContainer *dtThDigis, int bxFrom, int bxTo) const |
virtual EtaValue | getGlobalEta (const CSCDetId &detId, const CSCCorrelatedLCTDigi &aDigi) const |
Convert local eta coordinate to global digital microGMT scale. More... | |
virtual void | getGlobalEta (const L1MuDTChambThDigi &thetaDigi, std::vector< EtaValue > &etaSegments) const |
virtual int | getGlobalEtaRpc (unsigned int rawid, const unsigned int &aDigi, float &r) const |
Convert local eta coordinate to global digital microGMT scale. More... | |
OmtfAngleConverter () | |
~OmtfAngleConverter () override | |
Public Member Functions inherited from AngleConverterBase | |
AngleConverterBase () | |
virtual void | checkAndUpdateGeometry (const edm::EventSetup &, const ProcConfigurationBase *config, const MuonGeometryTokens &muonGeometryTokens) |
Update the Geometry with current Event Setup. More... | |
float | cscChamberEtaSize (const CSCDetId &id) const |
virtual void | getGlobalEta (const L1MuDTChambThDigi &thetaDigi, std::vector< EtaValue > &etaSegments) const |
virtual std::vector< EtaValue > | getGlobalEta (const L1MuDTChambThContainer *dtThDigis, int bxFrom, int bxTo) const |
virtual EtaValue | getGlobalEta (const CSCDetId &detId, const CSCCorrelatedLCTDigi &aDigi) const |
Convert local eta coordinate to global digital microGMT scale. More... | |
virtual EtaValue | getGlobalEta (unsigned int rawid, const unsigned int &aDigi) const |
virtual EtaValue | getGlobalEtaCsc (const CSCDetId &detId) const |
returns the eta position of the CSC chamber More... | |
virtual EtaValue | getGlobalEtaDt (const DTChamberId &detId) const |
virtual int | getProcessorPhi (int phiZero, l1t::tftype part, int dtScNum, int dtPhi) const |
virtual int | getProcessorPhi (int phiZero, l1t::tftype part, const CSCDetId &csc, const CSCCorrelatedLCTDigi &digi, unsigned int iInput) const |
virtual int | getProcessorPhi (unsigned int iProcessor, l1t::tftype part, const RPCDetId &rollId, const unsigned int &digi) const |
virtual int | getProcessorPhi (int phiZero, l1t::tftype part, const RPCDetId &rollId, const unsigned int &digi1, const unsigned int &digi2) const |
virtual | ~AngleConverterBase () |
Additional Inherited Members | |
Protected Member Functions inherited from AngleConverterBase | |
virtual const int | findBTIgroup (const L1MuDTChambPhDigi &aDigi, const L1MuDTChambThContainer *dtThDigis) |
Find BTI group. More... | |
virtual bool | isCSCCounterClockwise (const CSCLayer *layer) const |
Check orientation of strips in given CSC chamber. More... | |
Protected Attributes inherited from AngleConverterBase | |
edm::ESHandle< CSCGeometry > | _geocsc |
edm::ESHandle< DTGeometry > | _geodt |
unsigned long long | _geom_cache_id = 0 |
edm::ESHandle< RPCGeometry > | _georpc |
const ProcConfigurationBase * | config = nullptr |
edm::ESWatcher< MuonGeometryRecord > | muonGeometryRecordWatcher |
unsigned int | nPhiBins = 0 |
Number of phi bins along 2Pi. More... | |
Definition at line 13 of file OmtfAngleConverter.h.
|
inline |
Definition at line 15 of file OmtfAngleConverter.h.
|
override |
Definition at line 101 of file OmtfAngleConverter.cc.
|
virtual |
Convert local eta coordinate to global digital microGMT scale. theta is returned only if in the dtThDigis is only one hit, otherwise eta = 95 or middle of the chamber
Definition at line 105 of file OmtfAngleConverter.cc.
References AngleConverterBase::_geodt, funct::abs(), ProcConfigurationBase::bits, DTGeometry::chamber(), L1MuDTChambThContainer::chThetaSegm(), PV3DBase< T, PVType, FrameType >::eta(), OMTFConfiguration::eta2Bits(), mps_fire::i, l1tPhase2CaloJetEmulator_cfi::iEta, L1MuDTChambThDigi::position(), DTChamberId::sector(), FWPFMaths::sgn(), DTChamberId::station(), ProcConfigurationBase::valueP1Scale, and DTChamberId::wheel().
Referenced by CscDigiToStubsConverterOmtf::addCSCstubs(), and DtDigiToStubsConverterOmtf::addDTphiDigi().
|
virtual |
Convert local eta coordinate to global digital microGMT scale.
Code taken from GeometryTranslator. Will be replaced by direct CSC phi local to global scale transformation as used in FPGA implementation
Definition at line 159 of file OmtfAngleConverter.cc.
References AngleConverterBase::_geocsc, funct::abs(), ProcConfigurationBase::bits, CSCGeometry::chamber(), PV3DBase< T, PVType, FrameType >::eta(), OMTFConfiguration::eta2Bits(), CSCLayer::geometry(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getStrip(), l1ctLayer2EG_cff::id, AngleConverterBase::isCSCCounterClockwise(), CSCConstants::KEY_ALCT_LAYER, nano_mu_digi_cff::layer, CSCChamber::layer(), PV3DBase< T, PVType, FrameType >::mag(), hltrates_dqm_sourceclient-live_cfg::offset, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), alignCSCRings::r, nano_mu_digi_cff::strip, PV3DBase< T, PVType, FrameType >::theta(), Geom::Phi< T1, Range >::value(), and ProcConfigurationBase::valueP1Scale.
EtaValue AngleConverterBase::getGlobalEta |
Convert local eta coordinate to global digital microGMT scale. EtaValue::etaSigma is half of the strip
Definition at line 386 of file AngleConverterBase.cc.
std::vector< EtaValue > AngleConverterBase::getGlobalEta |
Definition at line 287 of file AngleConverterBase.cc.
void AngleConverterBase::getGlobalEta |
Definition at line 256 of file AngleConverterBase.cc.
EtaValue AngleConverterBase::getGlobalEta |
Convert local eta coordinate to global digital microGMT scale.
Code taken from GeometryTranslator. Will be replaced by direct CSC phi local to global scale transformation as used in FPGA implementation
Definition at line 333 of file AngleConverterBase.cc.
|
virtual |
Convert local eta coordinate to global digital microGMT scale.
Definition at line 223 of file OmtfAngleConverter.cc.
References AngleConverterBase::_georpc, funct::abs(), ProcConfigurationBase::bits, OMTFConfiguration::eta2Bits(), runTauDisplay::gp, l1ctLayer2EG_cff::id, alignCSCRings::r, nano_mu_digi_cff::region, nano_mu_digi_cff::roll, RPCGeometry::roll(), nano_mu_digi_cff::strip, and ProcConfigurationBase::valueP1Scale.
Referenced by RpcDigiToStubsConverterOmtf::addRPCstub().