#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) const |
Convert local eta coordinate to global digital microGMT scale. More... | |
virtual int | getGlobalEtaRpc (unsigned int rawid, const unsigned int &aDigi) 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) 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 143 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 147 of file OmtfAngleConverter.cc.
References AngleConverterBase::_geodt, L1MuDTChambThContainer::chThetaSegm(), PV3DBase< T, PVType, FrameType >::eta(), mps_fire::i, L1MuDTChambThDigi::position(), DTChamberId::sector(), FWPFMaths::sgn(), DTChamberId::station(), 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 195 of file OmtfAngleConverter.cc.
References AngleConverterBase::_geocsc, CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getStrip(), gpuClustering::id, AngleConverterBase::isCSCCounterClockwise(), CSCConstants::KEY_ALCT_LAYER, phase1PixelTopology::layer, PV3DBase< T, PVType, FrameType >::mag(), hltrates_dqm_sourceclient-live_cfg::offset, PV3DBase< T, PVType, FrameType >::phi(), digitizers_cfi::strip, PV3DBase< T, PVType, FrameType >::theta(), and Geom::Phi< T1, Range >::value().
|
virtual |
Convert local eta coordinate to global digital microGMT scale.
Definition at line 253 of file OmtfAngleConverter.cc.
References AngleConverterBase::_georpc, PV3DBase< T, PVType, FrameType >::eta(), runTauDisplay::gp, and gpuClustering::id.
Referenced by RpcDigiToStubsConverterOmtf::addRPCstub().