#include <PtAssignmentEngineAux2017.h>
Public Member Functions | |
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 |
Definition at line 4 of file PtAssignmentEngineAux2017.h.
int PtAssignmentEngineAux2017::get2bRPC | ( | int | clctA, |
int | clctB, | ||
int | clctC | ||
) | const |
Definition at line 563 of file PtAssignmentEngineAux2017.cc.
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 601 of file PtAssignmentEngineAux2017.cc.
References getCLCT(), SiStripPI::max, 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 159 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), bits, 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 129 of file PtAssignmentEngineAux2017.cc.
References bits, photonValidator_cfi::dPhiBin, dPhiNLBMap_4bit_256Max, dPhiNLBMap_5bit_256Max, dPhiNLBMap_7bit_512Max, and SiStripPI::max.
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
int PtAssignmentEngineAux2017::getdTheta | ( | int | dTheta, |
int | bits = 3 |
||
) | const |
Definition at line 352 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), bits, 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 28 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), bits, HLT_2018_cff::dPhi, dPhiNLBMap_4bit_256Max, dPhiNLBMap_5bit_256Max, dPhiNLBMap_7bit_512Max, and SiStripPI::max.
Referenced by CalcDeltaPhis().
int PtAssignmentEngineAux2017::getNLBdPhiBin | ( | int | dPhi, |
int | bits = 7 , |
||
int | max = 512 |
||
) | const |
Definition at line 80 of file PtAssignmentEngineAux2017.cc.
References bits, HLT_2018_cff::dPhi, dPhiNLBMap_4bit_256Max, dPhiNLBMap_5bit_256Max, dPhiNLBMap_7bit_512Max, SiStripPI::max, and funct::pow().
Referenced by PtAssignmentEngine2017::calculate_address().
int PtAssignmentEngineAux2017::getTheta | ( | int | theta, |
int | ring2, | ||
int | bits = 5 |
||
) | const |
Definition at line 461 of file PtAssignmentEngineAux2017.cc.
References bits, SiStripPI::max, min(), and funct::pow().
Referenced by CalcTrackTheta(), and PtAssignmentEngine2017::calculate_address().
void PtAssignmentEngineAux2017::unpack2bRPC | ( | int | rpc_2b, |
int & | rpcA, | ||
int & | rpcB, | ||
int & | rpcC | ||
) | const |
Definition at line 582 of file PtAssignmentEngineAux2017.cc.
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 668 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), and funct::pow().
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
int PtAssignmentEngineAux2017::unpackCLCT | ( | int | clct, |
int | endcap, | ||
int | dPhiSign, | ||
int | bits | ||
) | const |
Definition at line 274 of file PtAssignmentEngineAux2017.cc.
References funct::abs(), bits, and funct::pow().
int PtAssignmentEngineAux2017::unpackdTheta | ( | int | dTheta, |
int | bits | ||
) | const |
Definition at line 399 of file PtAssignmentEngineAux2017.cc.
References bits.
int PtAssignmentEngineAux2017::unpackSt1Ring2 | ( | int | theta, |
int | bits | ||
) | const |
Definition at line 538 of file PtAssignmentEngineAux2017.cc.
References bits, and funct::pow().
Referenced by PtAssignmentEngine2017::calculate_pt_xml().
void PtAssignmentEngineAux2017::unpackTheta | ( | int & | theta, |
int & | st1_ring2, | ||
int | bits | ||
) | const |
Definition at line 502 of file PtAssignmentEngineAux2017.cc.
References bits, funct::pow(), and theta().