#include <CSCSectorReceiverLUT.h>
Public Member Functions | |
CSCSectorReceiverLUT (int endcap, int sector, int subsector, int station, const edm::ParameterSet &pset, bool TMB07) | |
CSCSectorReceiverLUT (const CSCSectorReceiverLUT &) | |
std::string | encodeFileIndex () const |
Helpers. More... | |
gbletadat | globalEtaME (int phi_bend, int phi_local, int wire_group, int cscid, const bool gangedME1a=false) const |
gbletadat | globalEtaME (unsigned address, const bool gangedME1a=false) const |
gbletadat | globalEtaME (gbletaadd address, const bool gangedME1a=false) const |
gblphidat | globalPhiMB (int phi_local, int wire_group, int cscid, const bool gangedME1a=false) const |
gblphidat | globalPhiMB (unsigned address, const bool gangedME1a=false) const |
gblphidat | globalPhiMB (gblphiadd address, const bool gangedME1a=false) const |
gblphidat | globalPhiME (int phi_local, int wire_group, int cscid, const bool gangedME1a=false) const |
gblphidat | globalPhiME (unsigned address, const bool gangedME1a=false) const |
gblphidat | globalPhiME (gblphiadd address, const bool gangedME1a=false) const |
lclphidat | localPhi (int strip, int pattern, int quality, int lr, const bool gangedME1a=false) const |
Geometry Lookup Tables. More... | |
lclphidat | localPhi (unsigned address, const bool gangedME1a=false) const |
lclphidat | localPhi (lclphiadd address, const bool gangedME1a=false) const |
CSCSectorReceiverLUT & | operator= (const CSCSectorReceiverLUT &) |
~CSCSectorReceiverLUT () | |
Private Member Functions | |
gbletadat | calcGlobalEtaME (const gbletaadd &address) const |
Global Eta LUT. More... | |
gblphidat | calcGlobalPhiMB (const gblphidat &me_gphi_data) const |
gblphidat | calcGlobalPhiME (const gblphiadd &address) const |
Global Phi LUT. More... | |
lclphidat | calcLocalPhi (const lclphiadd &address) const |
Local Phi LUT. More... | |
void | fillLocalPhiLUT () |
double | getGlobalEtaValue (const unsigned &cscid, const unsigned &wire_group, const unsigned &phi_local) const |
double | getGlobalPhiValue (const CSCLayer *thelayer, const unsigned &strip, const unsigned &wire_group) const |
void | readLUTsFromFile () |
Private Attributes | |
int | _endcap |
int | _sector |
int | _station |
int | _subsector |
bool | isBinary |
bool | isTMB07 |
bool | LUTsFromFile |
edm::FileInPath | mb_gbl_phi_file |
gblphidat * | mb_global_phi |
edm::FileInPath | me_gbl_eta_file |
edm::FileInPath | me_gbl_phi_file |
gbletadat * | me_global_eta |
gblphidat * | me_global_phi |
edm::FileInPath | me_lcl_phi_file |
bool | useMiniLUTs |
Static Private Attributes | |
static lclphidat * | me_lcl_phi = NULL |
static bool | me_lcl_phi_loaded = false |
Provides Look Up Table information for use in the SP Core. Partial port from ORCA.
Definition at line 18 of file CSCSectorReceiverLUT.h.
CSCSectorReceiverLUT::CSCSectorReceiverLUT | ( | int | endcap, |
int | sector, | ||
int | subsector, | ||
int | station, | ||
const edm::ParameterSet & | pset, | ||
bool | TMB07 | ||
) |
Definition at line 26 of file CSCSectorReceiverLUT.cc.
CSCSectorReceiverLUT::CSCSectorReceiverLUT | ( | const CSCSectorReceiverLUT & | lut | ) |
Definition at line 57 of file CSCSectorReceiverLUT.cc.
CSCSectorReceiverLUT::~CSCSectorReceiverLUT | ( | ) |
Definition at line 127 of file CSCSectorReceiverLUT.cc.
Global Eta LUT.
Definition at line 717 of file CSCSectorReceiverLUT.cc.
Definition at line 539 of file CSCSectorReceiverLUT.cc.
Global Phi LUT.
Definition at line 273 of file CSCSectorReceiverLUT.cc.
Local Phi LUT.
Local Phi Bend is always zero. Until we start using it.
Definition at line 152 of file CSCSectorReceiverLUT.cc.
std::string CSCSectorReceiverLUT::encodeFileIndex | ( | ) | const |
Helpers.
Definition at line 816 of file CSCSectorReceiverLUT.cc.
|
private |
Definition at line 200 of file CSCSectorReceiverLUT.cc.
|
private |
Calculate Eta correction
Definition at line 611 of file CSCSectorReceiverLUT.cc.
|
private |
Definition at line 249 of file CSCSectorReceiverLUT.cc.
gbletadat CSCSectorReceiverLUT::globalEtaME | ( | int | phi_bend, |
int | phi_local, | ||
int | wire_group, | ||
int | cscid, | ||
const bool | gangedME1a = false |
||
) | const |
Definition at line 778 of file CSCSectorReceiverLUT.cc.
gbletadat CSCSectorReceiverLUT::globalEtaME | ( | unsigned | address, |
const bool | gangedME1a = false |
||
) | const |
Definition at line 795 of file CSCSectorReceiverLUT.cc.
gbletadat CSCSectorReceiverLUT::globalEtaME | ( | gbletaadd | address, |
const bool | gangedME1a = false |
||
) | const |
Definition at line 806 of file CSCSectorReceiverLUT.cc.
gblphidat CSCSectorReceiverLUT::globalPhiMB | ( | int | phi_local, |
int | wire_group, | ||
int | cscid, | ||
const bool | gangedME1a = false |
||
) | const |
Definition at line 568 of file CSCSectorReceiverLUT.cc.
gblphidat CSCSectorReceiverLUT::globalPhiMB | ( | unsigned | address, |
const bool | gangedME1a = false |
||
) | const |
Definition at line 586 of file CSCSectorReceiverLUT.cc.
gblphidat CSCSectorReceiverLUT::globalPhiMB | ( | gblphiadd | address, |
const bool | gangedME1a = false |
||
) | const |
Definition at line 599 of file CSCSectorReceiverLUT.cc.
gblphidat CSCSectorReceiverLUT::globalPhiME | ( | int | phi_local, |
int | wire_group, | ||
int | cscid, | ||
const bool | gangedME1a = false |
||
) | const |
Definition at line 502 of file CSCSectorReceiverLUT.cc.
gblphidat CSCSectorReceiverLUT::globalPhiME | ( | unsigned | address, |
const bool | gangedME1a = false |
||
) | const |
Definition at line 517 of file CSCSectorReceiverLUT.cc.
gblphidat CSCSectorReceiverLUT::globalPhiME | ( | gblphiadd | address, |
const bool | gangedME1a = false |
||
) | const |
Definition at line 528 of file CSCSectorReceiverLUT.cc.
lclphidat CSCSectorReceiverLUT::localPhi | ( | int | strip, |
int | pattern, | ||
int | quality, | ||
int | lr, | ||
const bool | gangedME1a = false |
||
) | const |
Geometry Lookup Tables.
Please note, the pattern used below is the 4 bit pattern. ex) digi->getPattern(), NOT digi->getCLCTPattern()
Definition at line 205 of file CSCSectorReceiverLUT.cc.
lclphidat CSCSectorReceiverLUT::localPhi | ( | unsigned | address, |
const bool | gangedME1a = false |
||
) | const |
Definition at line 220 of file CSCSectorReceiverLUT.cc.
Definition at line 235 of file CSCSectorReceiverLUT.cc.
CSCSectorReceiverLUT & CSCSectorReceiverLUT::operator= | ( | const CSCSectorReceiverLUT & | lut | ) |
Definition at line 88 of file CSCSectorReceiverLUT.cc.
|
private |
Arrays for holding read in LUT information. MB LUT arrays only initialized in ME1
Definition at line 839 of file CSCSectorReceiverLUT.cc.
|
private |
Definition at line 52 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 52 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 52 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 52 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 74 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 76 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 72 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 70 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 84 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 71 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 69 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 85 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 84 of file CSCSectorReceiverLUT.h.
Definition at line 83 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 68 of file CSCSectorReceiverLUT.h.
|
staticprivate |
Definition at line 82 of file CSCSectorReceiverLUT.h.
|
private |
Definition at line 73 of file CSCSectorReceiverLUT.h.