#include <PtAssignmentEngine2017.h>
Public Member Functions | |
const PtAssignmentEngineAux2017 & | aux () const |
address_t | calculate_address (const EMTFTrack &track) const override |
float | calculate_pt_xml (const address_t &address) const override |
float | calculate_pt_xml (const EMTFTrack &track) const override |
PtAssignmentEngine2017 () | |
float | scale_pt (const float pt, const int mode=15) const override |
float | unscale_pt (const float pt, const int mode=15) const override |
~PtAssignmentEngine2017 () override | |
Public Member Functions inherited from PtAssignmentEngine | |
const PtAssignmentEngineAux & | aux () const |
virtual float | calculate_pt (const address_t &address) const |
virtual float | calculate_pt (const EMTFTrack &track) const |
virtual float | calculate_pt_lut (const address_t &address) const |
void | configure (int verbose, int ptLUTVersion, bool readPtLUTFile, bool fixMode15HighPt, bool bug9BitDPhi, bool bugMode7CLCT, bool bugNegPt) |
void | configure_details () |
const std::vector< int > & | getAllowedModes (void) const |
const std::array< emtf::Forest, 16 > & | getForests (void) const |
void | load (const L1TMuonEndCapForest *payload) |
PtAssignmentEngine () | |
void | read (const std::string &xml_dir) |
int | readPtLUTFile () |
void | set_ptLUTVersion (int ptLUTVersion) |
virtual | ~PtAssignmentEngine () |
Private Attributes | |
int | version_ |
Additional Inherited Members | |
Public Types inherited from PtAssignmentEngine | |
typedef uint64_t | address_t |
Protected Attributes inherited from PtAssignmentEngine | |
std::vector< int > | allowedModes_ |
bool | bug9BitDPhi_ |
bool | bugMode7CLCT_ |
bool | bugNegPt_ |
bool | fixMode15HighPt_ |
std::array< emtf::Forest, 16 > | forests_ |
PtLUTReader | ptlut_reader_ |
int | ptLUTVersion_ |
bool | readPtLUTFile_ |
int | verbose_ |
Definition at line 7 of file PtAssignmentEngine2017.h.
|
inlineexplicit |
Definition at line 9 of file PtAssignmentEngine2017.h.
|
inlineoverride |
Definition at line 10 of file PtAssignmentEngine2017.h.
References aux(), calculate_address(), calculate_pt_xml(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, EnergyCorrector::pt, scale_pt(), HiIsolationCommonParameters_cff::track, and unscale_pt().
const PtAssignmentEngineAux2017 & PtAssignmentEngine2017::aux | ( | ) | const |
Definition at line 9 of file PtAssignmentEngine2017.cc.
References instance.
Referenced by calculate_address(), calculate_pt_xml(), and ~PtAssignmentEngine2017().
|
overridevirtual |
Reimplemented from PtAssignmentEngine.
Definition at line 54 of file PtAssignmentEngine2017.cc.
References aux(), l1t::EMTFPtLUT::cpattern, data, l1t::EMTFPtLUT::delta_ph, l1t::EMTFPtLUT::delta_th, l1t::EMTFTrack::Endcap(), makeMuonMisalignmentScenario::endcap, l1t::EMTFPtLUT::fr, PtAssignmentEngineAux2017::get2bRPC(), PtAssignmentEngineAux2017::get8bMode15(), PtAssignmentEngineAux2017::getCLCT(), PtAssignmentEngineAux2017::getdTheta(), PtAssignmentEngineAux2017::getNLBdPhiBin(), PtAssignmentEngineAux2017::getTheta(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, l1t::EMTFTrack::Mode(), funct::pow(), l1t::EMTFTrack::PtLUT(), l1t::EMTFPtLUT::sign_ph, l1t::EMTFPtLUT::sign_th, l1t::EMTFPtLUT::st1_ring2, theta(), and l1t::EMTFTrack::Theta_fp().
Referenced by ~PtAssignmentEngine2017().
|
overridevirtual |
Reimplemented from PtAssignmentEngine.
Definition at line 215 of file PtAssignmentEngine2017.cc.
References aux(), CalcDeltaPhiSums(), makeMuonMisalignmentScenario::endcap, PtAssignmentEngine::forests_, PtAssignmentEngineAux2017::getdPhiFromBin(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, funct::pow(), emtf::Forest::predictEvent(), theta(), tmp, PtAssignmentEngineAux2017::unpack2bRPC(), PtAssignmentEngineAux2017::unpack8bMode15(), and PtAssignmentEngineAux2017::unpackSt1Ring2().
Referenced by ~PtAssignmentEngine2017().
|
overridevirtual |
Reimplemented from PtAssignmentEngine.
Definition at line 434 of file PtAssignmentEngine2017.cc.
References PtAssignmentEngine::allowedModes_, CalcBends(), CalcDeltaPhis(), CalcDeltaThetas(), CalcRPCs(), CalcTrackTheta(), l1t::EMTFPtLUT::cpattern, data, l1t::EMTFPtLUT::delta_ph, l1t::EMTFPtLUT::delta_th, HTMLExport::elem(), l1t::EMTFTrack::Endcap(), makeMuonMisalignmentScenario::endcap, spr::find(), PtAssignmentEngine::forests_, l1t::EMTFPtLUT::fr, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, l1t::EMTFTrack::Mode(), phi, l1t::EMTFTrack::Phi_fp(), emtf::Forest::predictEvent(), l1t::EMTFTrack::PtLUT(), l1t::EMTFPtLUT::sign_ph, l1t::EMTFPtLUT::sign_th, l1t::EMTFPtLUT::st1_ring2, theta(), and l1t::EMTFTrack::Theta_fp().
|
overridevirtual |
Reimplemented from PtAssignmentEngine.
Definition at line 14 of file PtAssignmentEngine2017.cc.
References PtAssignmentEngine::ptLUTVersion_.
Referenced by ~PtAssignmentEngine2017().
|
overridevirtual |
Reimplemented from PtAssignmentEngine.
Definition at line 38 of file PtAssignmentEngine2017.cc.
References EnergyCorrector::pt, and PtAssignmentEngine::ptLUTVersion_.
Referenced by ~PtAssignmentEngine2017().
|
private |
Definition at line 21 of file PtAssignmentEngine2017.h.