#include <L1TkEtMissEmuTrackTransform.h>
Public Member Functions | |
l1tmetemu::nstub_t | countNStub (TTTrack_TrackWord::hit_t Hitpattern) |
void | generateLUTs () |
std::vector< l1tmetemu::global_phi_t > | generatePhiSliceLUT (unsigned int N) |
std::vector< l1tmetemu::global_phi_t > | getPhiQuad () const |
std::vector< l1tmetemu::global_phi_t > | getPhiShift () const |
L1TkEtMissEmuTrackTransform ()=default | |
l1tmetemu::global_phi_t | localToGlobalPhi (TTTrack_TrackWord::phi_t local_phi, l1tmetemu::global_phi_t sector_shift) |
void | setGTTinput (bool input) |
template<class track , class vertex > | |
InternalEtWord | transformTrack (track &track_ref, vertex &PV) |
~L1TkEtMissEmuTrackTransform ()=default | |
Private Attributes | |
bool | GTTinput_ = false |
std::vector< l1tmetemu::global_phi_t > | phiQuadrants |
std::vector< l1tmetemu::global_phi_t > | phiShift |
Definition at line 41 of file L1TkEtMissEmuTrackTransform.h.
|
default |
|
default |
nstub_t L1TkEtMissEmuTrackTransform::countNStub | ( | TTTrack_TrackWord::hit_t | Hitpattern | ) |
Definition at line 34 of file L1TkEtMissEmuTrackTransform.cc.
References mps_fire::i, dqmdumpme::k, and TTTrack_TrackWord::kHitPatternSize.
Referenced by transformTrack().
void L1TkEtMissEmuTrackTransform::generateLUTs | ( | ) |
Definition at line 7 of file L1TkEtMissEmuTrackTransform.cc.
References l1tmetemu::kNQuadrants, and l1tmetemu::kNSector.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
std::vector< global_phi_t > L1TkEtMissEmuTrackTransform::generatePhiSliceLUT | ( | unsigned int | N | ) |
Definition at line 44 of file L1TkEtMissEmuTrackTransform.cc.
References l1tmetemu::kStepPhi, M_PI, N, and submitPVResolutionJobs::q.
|
inline |
Definition at line 60 of file L1TkEtMissEmuTrackTransform.h.
References phiQuadrants.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
|
inline |
Definition at line 61 of file L1TkEtMissEmuTrackTransform.h.
References phiShift.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
global_phi_t L1TkEtMissEmuTrackTransform::localToGlobalPhi | ( | TTTrack_TrackWord::phi_t | local_phi, |
l1tmetemu::global_phi_t | sector_shift | ||
) |
Definition at line 12 of file L1TkEtMissEmuTrackTransform.cc.
References l1tmetemu::kInternalPhiWidth, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, funct::pow(), and l1tmetemu::unpackSignedValue().
Referenced by transformTrack().
|
inline |
Definition at line 63 of file L1TkEtMissEmuTrackTransform.h.
References GTTinput_, and input.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
InternalEtWord L1TkEtMissEmuTrackTransform::transformTrack | ( | track & | track_ref, |
vertex & | PV | ||
) |
Definition at line 74 of file L1TkEtMissEmuTrackTransform.h.
References funct::abs(), InternalEtWord::bendChi2, InternalEtWord::chi2rphidof, InternalEtWord::chi2rzdof, countNStub(), InternalEtWord::eta, InternalEtWord::EtaSector, InternalEtWord::globalPhi, GTTinput_, InternalEtWord::Hitpattern, l1tmetemu::kInternalEtaWidth, l1tmetemu::kInternalPtWidth, l1tmetemu::kInternalVTXWidth, l1tmetemu::kStepEta, l1tmetemu::kStepPt, localToGlobalPhi(), InternalEtWord::nstubs, InternalEtWord::phi, phiShift, InternalEtWord::pt, InternalEtWord::pV, nanoDQM_cfi::PV, InternalEtWord::Sector, TTTrack_TrackWord::stepZ0, l1tmetemu::transformSignedValue(), and InternalEtWord::z0.
Referenced by L1TrackerEtMissEmulatorProducer::produce().
|
private |
Definition at line 69 of file L1TkEtMissEmuTrackTransform.h.
Referenced by setGTTinput(), and transformTrack().
|
private |
Definition at line 66 of file L1TkEtMissEmuTrackTransform.h.
Referenced by getPhiQuad().
|
private |
Definition at line 67 of file L1TkEtMissEmuTrackTransform.h.
Referenced by getPhiShift(), and transformTrack().