|
int | getProcessorPhi (int phiZero, l1t::tftype part, int dtScNum, int dtPhi) const override |
|
| OmtfPhase2AngleConverter () |
|
| ~OmtfPhase2AngleConverter () override=default |
|
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 |
|
| 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, 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 () |
|
Definition at line 6 of file OmtfPhase2AngleConverter.h.
int OmtfPhase2AngleConverter::getProcessorPhi |
( |
int |
phiZero, |
|
|
l1t::tftype |
part, |
|
|
int |
dtScNum, |
|
|
int |
dtPhi |
|
) |
| const |
|
overridevirtual |
get phi of DT,CSC and RPC azimutal angle digi in processor scale, used by OMTF algorithm. in case of wrong phi returns OMTFConfiguration::instance()->nPhiBins phiZero - desired phi where the scale should start, should be in the desired scale, use getProcessorPhiZero to obtain it
Reimplemented from AngleConverterBase.
Definition at line 3 of file OmtfPhase2AngleConverter.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), createfilelist::int, M_PI, AngleConverterBase::nPhiBins, l1ctLayer1_cff::phiZero, isotrackNtupler::scale, and nano_mu_digi_cff::sector.
9 double scale = 0.5 / dtPhiBins / hsPhiPitch;
10 int scale_coeff = lround(
scale * (1 << 15));
14 ichamber = ichamber - 12;
18 int phiConverted = ((dtPhi * scale_coeff) >> 15) + offsetGlobal -
phiZero;
20 return config->foldPhi(phiConverted);
unsigned int nPhiBins
Number of phi bins along 2Pi.