#include <SectorProcessorLUT.h>
Public Member Functions | |
uint32_t | get_cppf_lut_id (int rpc_region, int rpc_sector, int rpc_station, int rpc_ring, int rpc_subsector, int rpc_roll) const |
uint32_t | get_cppf_ph_lut (int rpc_region, int rpc_sector, int rpc_station, int rpc_ring, int rpc_subsector, int rpc_roll, int halfstrip, bool is_neighbor) const |
uint32_t | get_cppf_th_lut (int rpc_region, int rpc_sector, int rpc_station, int rpc_ring, int rpc_subsector, int rpc_roll) const |
uint32_t | get_ph_disp (int fw_endcap, int fw_sector, int pc_lut_id) const |
uint32_t | get_ph_init (int fw_endcap, int fw_sector, int pc_lut_id) const |
uint32_t | get_ph_init_hard (int fw_station, int fw_cscid) const |
uint32_t | get_ph_patt_corr (int pattern) const |
uint32_t | get_ph_patt_corr_sign (int pattern) const |
uint32_t | get_ph_zone_offset (int pc_station, int pc_chamber) const |
uint32_t | get_th_corr_lut (int fw_endcap, int fw_sector, int pc_lut_id, int pc_wire_strip_id) const |
uint32_t | get_th_disp (int fw_endcap, int fw_sector, int pc_lut_id) const |
uint32_t | get_th_init (int fw_endcap, int fw_sector, int pc_lut_id) const |
uint32_t | get_th_lut (int fw_endcap, int fw_sector, int pc_lut_id, int pc_wire_id) const |
void | read (bool pc_lut_data, int pc_lut_version) |
SectorProcessorLUT () | |
~SectorProcessorLUT () | |
Private Member Functions | |
void | read_cppf_file (const std::string &filename, std::vector< uint32_t > &vec1, std::vector< uint32_t > &vec2, bool local) |
void | read_file (const std::string &filename, std::vector< uint32_t > &vec) |
Private Attributes | |
std::vector< uint32_t > | cppf_ph_lut_ |
std::vector< uint32_t > | cppf_th_lut_ |
std::vector< uint32_t > | ph_disp_neighbor_ |
std::vector< uint32_t > | ph_init_hard_ |
std::vector< uint32_t > | ph_init_neighbor_ |
std::vector< uint32_t > | ph_patt_corr_ |
std::vector< uint32_t > | ph_patt_corr_sign_ |
std::vector< uint32_t > | ph_zone_offset_ |
std::vector< uint32_t > | th_corr_lut_neighbor_ |
std::vector< uint32_t > | th_disp_neighbor_ |
std::vector< uint32_t > | th_init_neighbor_ |
std::vector< uint32_t > | th_lut_neighbor_ |
int | version_ |
Definition at line 8 of file SectorProcessorLUT.h.
|
explicit |
Definition at line 10 of file SectorProcessorLUT.cc.
SectorProcessorLUT::~SectorProcessorLUT | ( | ) |
Definition at line 12 of file SectorProcessorLUT.cc.
uint32_t SectorProcessorLUT::get_cppf_lut_id | ( | int | rpc_region, |
int | rpc_sector, | ||
int | rpc_station, | ||
int | rpc_ring, | ||
int | rpc_subsector, | ||
int | rpc_roll | ||
) | const |
Definition at line 304 of file SectorProcessorLUT.cc.
Referenced by get_cppf_ph_lut(), get_cppf_th_lut(), and read_cppf_file().
uint32_t SectorProcessorLUT::get_cppf_ph_lut | ( | int | rpc_region, |
int | rpc_sector, | ||
int | rpc_station, | ||
int | rpc_ring, | ||
int | rpc_subsector, | ||
int | rpc_roll, | ||
int | halfstrip, | ||
bool | is_neighbor | ||
) | const |
Definition at line 314 of file SectorProcessorLUT.cc.
References cppf_ph_lut_, and get_cppf_lut_id().
Referenced by PrimitiveConversion::convert_rpc_details().
uint32_t SectorProcessorLUT::get_cppf_th_lut | ( | int | rpc_region, |
int | rpc_sector, | ||
int | rpc_station, | ||
int | rpc_ring, | ||
int | rpc_subsector, | ||
int | rpc_roll | ||
) | const |
Definition at line 341 of file SectorProcessorLUT.cc.
References cppf_th_lut_, and get_cppf_lut_id().
Referenced by PrimitiveConversion::convert_rpc_details().
uint32_t SectorProcessorLUT::get_ph_disp | ( | int | fw_endcap, |
int | fw_sector, | ||
int | pc_lut_id | ||
) | const |
Definition at line 159 of file SectorProcessorLUT.cc.
References mps_splice::entry, and ph_disp_neighbor_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_ph_init | ( | int | fw_endcap, |
int | fw_sector, | ||
int | pc_lut_id | ||
) | const |
Definition at line 146 of file SectorProcessorLUT.cc.
References mps_splice::entry, and ph_init_neighbor_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_ph_init_hard | ( | int | fw_station, |
int | fw_cscid | ||
) | const |
Definition at line 291 of file SectorProcessorLUT.cc.
References mps_splice::entry, and ph_init_hard_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_ph_patt_corr | ( | int | pattern | ) | const |
Definition at line 254 of file SectorProcessorLUT.cc.
References mps_splice::entry, topSingleLeptonDQM_PU_cfi::pattern, and ph_patt_corr_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_ph_patt_corr_sign | ( | int | pattern | ) | const |
Definition at line 266 of file SectorProcessorLUT.cc.
References mps_splice::entry, topSingleLeptonDQM_PU_cfi::pattern, and ph_patt_corr_sign_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_ph_zone_offset | ( | int | pc_station, |
int | pc_chamber | ||
) | const |
Definition at line 278 of file SectorProcessorLUT.cc.
References mps_splice::entry, and ph_zone_offset_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_th_corr_lut | ( | int | fw_endcap, |
int | fw_sector, | ||
int | pc_lut_id, | ||
int | pc_wire_strip_id | ||
) | const |
Definition at line 221 of file SectorProcessorLUT.cc.
References mps_splice::entry, and th_corr_lut_neighbor_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_th_disp | ( | int | fw_endcap, |
int | fw_sector, | ||
int | pc_lut_id | ||
) | const |
Definition at line 185 of file SectorProcessorLUT.cc.
References mps_splice::entry, and th_disp_neighbor_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_th_init | ( | int | fw_endcap, |
int | fw_sector, | ||
int | pc_lut_id | ||
) | const |
Definition at line 172 of file SectorProcessorLUT.cc.
References mps_splice::entry, and th_init_neighbor_.
Referenced by PrimitiveConversion::convert_csc_details().
uint32_t SectorProcessorLUT::get_th_lut | ( | int | fw_endcap, |
int | fw_sector, | ||
int | pc_lut_id, | ||
int | pc_wire_id | ||
) | const |
Definition at line 198 of file SectorProcessorLUT.cc.
References mps_splice::entry, and th_lut_neighbor_.
Referenced by PrimitiveConversion::convert_csc_details().
void SectorProcessorLUT::read | ( | bool | pc_lut_data, |
int | pc_lut_version | ||
) |
Definition at line 14 of file SectorProcessorLUT.cc.
References cppf_ph_lut_, cppf_th_lut_, Exception, ph_disp_neighbor_, ph_init_hard_, ph_init_neighbor_, ph_patt_corr_, ph_patt_corr_sign_, ph_zone_offset_, read_cppf_file(), read_file(), AlCaHLTBitMon_QueryRunRegistry::string, th_corr_lut_neighbor_, th_disp_neighbor_, th_init_neighbor_, th_lut_neighbor_, and version_.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), and EMTFSetup::reload().
|
private |
Definition at line 371 of file SectorProcessorLUT.cc.
References Exception, corrVsCorr::filename, contentValuesFiles::fullPath, get_cppf_lut_id(), mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, timingPdfMaker::infile, and DTRecHitClients_cfi::local.
Referenced by read().
|
private |
Definition at line 357 of file SectorProcessorLUT.cc.
References visDQMUpload::buf, corrVsCorr::filename, contentValuesFiles::fullPath, and timingPdfMaker::infile.
Referenced by read().
|
private |
Definition at line 67 of file SectorProcessorLUT.h.
Referenced by get_cppf_ph_lut(), and read().
|
private |
Definition at line 68 of file SectorProcessorLUT.h.
Referenced by get_cppf_th_lut(), and read().
|
private |
Definition at line 56 of file SectorProcessorLUT.h.
Referenced by get_ph_disp(), and read().
|
private |
Definition at line 65 of file SectorProcessorLUT.h.
Referenced by get_ph_init_hard(), and read().
|
private |
Definition at line 55 of file SectorProcessorLUT.h.
Referenced by get_ph_init(), and read().
|
private |
Definition at line 62 of file SectorProcessorLUT.h.
Referenced by get_ph_patt_corr(), and read().
|
private |
Definition at line 63 of file SectorProcessorLUT.h.
Referenced by get_ph_patt_corr_sign(), and read().
|
private |
Definition at line 64 of file SectorProcessorLUT.h.
Referenced by get_ph_zone_offset(), and read().
|
private |
Definition at line 60 of file SectorProcessorLUT.h.
Referenced by get_th_corr_lut(), and read().
|
private |
Definition at line 58 of file SectorProcessorLUT.h.
Referenced by get_th_disp(), and read().
|
private |
Definition at line 57 of file SectorProcessorLUT.h.
Referenced by get_th_init(), and read().
|
private |
Definition at line 59 of file SectorProcessorLUT.h.
Referenced by get_th_lut(), and read().
|
private |
Definition at line 70 of file SectorProcessorLUT.h.
Referenced by read().