#include <PtAssignmentEngineAux2017.h>
Public Member Functions | |
int | calcBendFromPattern (const int pattern, const int endcap) const |
void | calcBends (int &bend1, int &bend2, int &bend3, int &bend4, const int pat1, const int pat2, const int pat3, const int pat4, const int dPhSign, const int endcap, const int mode, const bool BIT_COMP=false) const |
void | calcDeltaPhis (int &dPh12, int &dPh13, int &dPh14, int &dPh23, int &dPh24, int &dPh34, int &dPhSign, int &dPhSum4, int &dPhSum4A, int &dPhSum3, int &dPhSum3A, int &outStPh, const int ph1, const int ph2, const int ph3, const int ph4, const int mode, const bool BIT_COMP=false) const |
void | calcDeltaPhiSums (int &dPhSum4, int &dPhSum4A, int &dPhSum3, int &dPhSum3A, int &outStPh, const int dPh12, const int dPh13, const int dPh14, const int dPh23, const int dPh24, const int dPh34) const |
void | calcDeltaThetas (int &dTh12, int &dTh13, int &dTh14, int &dTh23, int &dTh24, int &dTh34, const int th1, const int th2, const int th3, const int th4, const int mode, const bool BIT_COMP=false) const |
void | calcRPCs (int &RPC1, int &RPC2, int &RPC3, int &RPC4, const int mode, const int st1_ring2, const int theta, const bool BIT_COMP=false) const |
int | calcTrackTheta (const int th1, const int th2, const int th3, const int th4, const int ring1, const int mode, const bool BIT_COMP=false) const |
int | get2bRPC (int clctA, int clctB, int clctC) const |
int | get8bMode15 (int theta, int st1_ring2, int endcap, int sPhiAB, int clctA, int clctB, int clctC, int clctD) const |
int | getCLCT (int clct, int endcap, int dPhiSign, int bits=3) const |
int | getdPhiFromBin (int dPhiBin, int bits=7, int max=512) const |
int | getdTheta (int dTheta, int bits=3) const |
int | getNLBdPhi (int dPhi, int bits=7, int max=512) const |
int | getNLBdPhiBin (int dPhi, int bits=7, int max=512) const |
int | getTheta (int theta, int ring2, int bits=5) const |
void | unpack2bRPC (int rpc_2b, int &rpcA, int &rpcB, int &rpcC) const |
void | unpack8bMode15 (int mode15_8b, int &theta, int &st1_ring2, int endcap, int sPhiAB, int &clctA, int &rpcA, int &rpcB, int &rpcC, int &rpcD) const |
int | unpackCLCT (int clct, int endcap, int dPhiSign, int bits) const |
int | unpackdTheta (int dTheta, int bits) const |
int | unpackSt1Ring2 (int theta, int bits) const |
void | unpackTheta (int &theta, int &st1_ring2, int bits) const |
Public Member Functions inherited from PtAssignmentEngineAux | |
std::pair< int, int > | getGMTCharge (int mode, const std::vector< int > &phidiffs) const |
int | getGMTDxy (float dxy) const |
int | getGMTEta (int theta, int endcap) const |
int | getGMTPhi (int phi) const |
int | getGMTPhiV2 (int phi) const |
int | getGMTPt (float pt) const |
int | getGMTPtDxy (float pt) const |
int | getGMTQuality (int mode, int theta, bool promoteMode7, int version) const |
float | getPtFromGMTPt (int gmt_pt) const |
float | getPtFromGMTPtDxy (int gmt_pt_dxy) const |
Definition at line 6 of file PtAssignmentEngineAux2017.h.
int PtAssignmentEngineAux2017::calcBendFromPattern | ( | const int | pattern, |
const int | endcap | ||
) | const |
Definition at line 999 of file PtAssignmentEngineAux2017.cc.
References emtf_assert, makeMuonMisalignmentScenario::endcap, and topSingleLeptonDQM_PU_cfi::pattern.
Referenced by calcBends().
void PtAssignmentEngineAux2017::calcBends | ( | int & | bend1, |
int & | bend2, | ||
int & | bend3, | ||
int & | bend4, | ||
const int | pat1, | ||
const int | pat2, | ||
const int | pat3, | ||
const int | pat4, | ||
const int | dPhSign, | ||
const int | endcap, | ||
const int | mode, | ||
const bool | BIT_COMP = false |
||
) | const |
Definition at line 895 of file PtAssignmentEngineAux2017.cc.
References calcBendFromPattern(), makeMuonMisalignmentScenario::endcap, getCLCT(), and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
void PtAssignmentEngineAux2017::calcDeltaPhis | ( | int & | dPh12, |
int & | dPh13, | ||
int & | dPh14, | ||
int & | dPh23, | ||
int & | dPh24, | ||
int & | dPh34, | ||
int & | dPhSign, | ||
int & | dPhSum4, | ||
int & | dPhSum4A, | ||
int & | dPhSum3, | ||
int & | dPhSum3A, | ||
int & | outStPh, | ||
const int | ph1, | ||
const int | ph2, | ||
const int | ph3, | ||
const int | ph4, | ||
const int | mode, | ||
const bool | BIT_COMP = false |
||
) | const |
Definition at line 751 of file PtAssignmentEngineAux2017.cc.
References calcDeltaPhiSums(), emtf_assert, getNLBdPhi(), and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
void PtAssignmentEngineAux2017::calcDeltaPhiSums | ( | int & | dPhSum4, |
int & | dPhSum4A, | ||
int & | dPhSum3, | ||
int & | dPhSum3A, | ||
int & | outStPh, | ||
const int | dPh12, | ||
const int | dPh13, | ||
const int | dPh14, | ||
const int | dPh23, | ||
const int | dPh24, | ||
const int | dPh34 | ||
) | const |
Definition at line 1019 of file PtAssignmentEngineAux2017.cc.
References funct::abs().
Referenced by calcDeltaPhis(), and PtAssignmentEngine2017::calculate_pt_xml().
void PtAssignmentEngineAux2017::calcDeltaThetas | ( | int & | dTh12, |
int & | dTh13, | ||
int & | dTh14, | ||
int & | dTh23, | ||
int & | dTh24, | ||
int & | dTh34, | ||
const int | th1, | ||
const int | th2, | ||
const int | th3, | ||
const int | th4, | ||
const int | mode, | ||
const bool | BIT_COMP = false |
||
) | const |
Definition at line 863 of file PtAssignmentEngineAux2017.cc.
References getdTheta(), and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
void PtAssignmentEngineAux2017::calcRPCs | ( | int & | RPC1, |
int & | RPC2, | ||
int & | RPC3, | ||
int & | RPC4, | ||
const int | mode, | ||
const int | st1_ring2, | ||
const int | theta, | ||
const bool | BIT_COMP = false |
||
) | const |
Definition at line 929 of file PtAssignmentEngineAux2017.cc.
References ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, and theta().
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
int PtAssignmentEngineAux2017::calcTrackTheta | ( | const int | th1, |
const int | th2, | ||
const int | th3, | ||
const int | th4, | ||
const int | ring1, | ||
const int | mode, | ||
const bool | BIT_COMP = false |
||
) | const |
Definition at line 725 of file PtAssignmentEngineAux2017.cc.
References emtf_assert, getTheta(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, and theta().
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
int PtAssignmentEngineAux2017::get2bRPC | ( | int | clctA, |
int | clctB, | ||
int | clctC | ||
) | const |
Definition at line 492 of file PtAssignmentEngineAux2017.cc.
References emtf_assert.
Referenced by PtAssignmentEngine2017::calculate_address().
int PtAssignmentEngineAux2017::get8bMode15 | ( | int | theta, |
int | st1_ring2, | ||
int | endcap, | ||
int | sPhiAB, | ||
int | clctA, | ||
int | clctB, | ||
int | clctC, | ||
int | clctD | ||
) | const |
Definition at line 524 of file PtAssignmentEngineAux2017.cc.
References emtf_assert, makeMuonMisalignmentScenario::endcap, getCLCT(), SiStripPI::max, SiStripPI::min, funct::pow(), and theta().
Referenced by PtAssignmentEngine2017::calculate_address().
int PtAssignmentEngineAux2017::getCLCT | ( | int | clct, |
int | endcap, | ||
int | dPhiSign, | ||
int | bits = 3 |
||
) | const |
Definition at line 139 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, emtf_assert, makeMuonMisalignmentScenario::endcap, and funct::pow().
Referenced by calcBends(), PtAssignmentEngine2017::calculate_address(), and get8bMode15().
int PtAssignmentEngineAux2017::getdPhiFromBin | ( | int | dPhiBin, |
int | bits = 7 , |
||
int | max = 512 |
||
) | const |
Definition at line 115 of file PtAssignmentEngineAux2017.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, photonValidator_cfi::dPhiBin, dPhiNLBMap_4bit_256Max, dPhiNLBMap_5bit_256Max, dPhiNLBMap_7bit_512Max, emtf_assert, and SiStripPI::max.
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
int PtAssignmentEngineAux2017::getdTheta | ( | int | dTheta, |
int | bits = 3 |
||
) | const |
Definition at line 313 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, emtf_assert, and funct::pow().
Referenced by calcDeltaThetas(), and PtAssignmentEngine2017::calculate_address().
int PtAssignmentEngineAux2017::getNLBdPhi | ( | int | dPhi, |
int | bits = 7 , |
||
int | max = 512 |
||
) | const |
Definition at line 26 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, HLT_2024v10_cff::dPhi, dPhiNLBMap_4bit_256Max, dPhiNLBMap_5bit_256Max, dPhiNLBMap_7bit_512Max, emtf_assert, and SiStripPI::max.
Referenced by calcDeltaPhis().
int PtAssignmentEngineAux2017::getNLBdPhiBin | ( | int | dPhi, |
int | bits = 7 , |
||
int | max = 512 |
||
) | const |
Definition at line 72 of file PtAssignmentEngineAux2017.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, HLT_2024v10_cff::dPhi, dPhiNLBMap_4bit_256Max, dPhiNLBMap_5bit_256Max, dPhiNLBMap_7bit_512Max, emtf_assert, SiStripPI::max, and funct::pow().
Referenced by PtAssignmentEngine2017::calculate_address().
int PtAssignmentEngineAux2017::getTheta | ( | int | theta, |
int | ring2, | ||
int | bits = 5 |
||
) | const |
Definition at line 411 of file PtAssignmentEngineAux2017.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, emtf_assert, SiStripPI::max, SiStripPI::min, funct::pow(), and theta().
Referenced by calcTrackTheta(), and PtAssignmentEngine2017::calculate_address().
void PtAssignmentEngineAux2017::unpack2bRPC | ( | int | rpc_2b, |
int & | rpcA, | ||
int & | rpcB, | ||
int & | rpcC | ||
) | const |
Definition at line 508 of file PtAssignmentEngineAux2017.cc.
References emtf_assert.
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
void PtAssignmentEngineAux2017::unpack8bMode15 | ( | int | mode15_8b, |
int & | theta, | ||
int & | st1_ring2, | ||
int | endcap, | ||
int | sPhiAB, | ||
int & | clctA, | ||
int & | rpcA, | ||
int & | rpcB, | ||
int & | rpcC, | ||
int & | rpcD | ||
) | const |
Definition at line 586 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), emtf_assert, makeMuonMisalignmentScenario::endcap, funct::pow(), and theta().
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
int PtAssignmentEngineAux2017::unpackCLCT | ( | int | clct, |
int | endcap, | ||
int | dPhiSign, | ||
int | bits | ||
) | const |
Definition at line 247 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, emtf_assert, makeMuonMisalignmentScenario::endcap, and funct::pow().
int PtAssignmentEngineAux2017::unpackdTheta | ( | int | dTheta, |
int | bits | ||
) | const |
Definition at line 354 of file PtAssignmentEngineAux2017.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, and emtf_assert.
int PtAssignmentEngineAux2017::unpackSt1Ring2 | ( | int | theta, |
int | bits | ||
) | const |
Definition at line 473 of file PtAssignmentEngineAux2017.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, emtf_assert, funct::pow(), and theta().
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
void PtAssignmentEngineAux2017::unpackTheta | ( | int & | theta, |
int & | st1_ring2, | ||
int | bits | ||
) | const |
Definition at line 446 of file PtAssignmentEngineAux2017.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::bits, emtf_assert, funct::pow(), and theta().