#include <ESElectronicsMapper.h>
Public Member Functions | |
ESElectronicsMapper (const edm::ParameterSet &ps) | |
int | getFED (const ESDetId &id) |
int | getFED (int zside, int plane, int x, int y) |
int | getKCHIP (const ESDetId &id) |
int | getKCHIP (int zside, int plane, int x, int y) |
std::vector< int > | GetListofFEDs (const std::vector< int > &eeFEDs) const |
void | GetListofFEDs (const std::vector< int > &eeFEDs, std::vector< int > &esFEDs) const |
~ESElectronicsMapper () | |
Private Attributes | |
std::map< int, std::vector< int > > | ee_es_map_ |
int | fed_ [2][2][40][40] |
int | kchip_ [2][2][40][40] |
edm::FileInPath | lookup_ |
Definition at line 14 of file ESElectronicsMapper.h.
ESElectronicsMapper::ESElectronicsMapper | ( | const edm::ParameterSet & | ps | ) |
Definition at line 3 of file ESElectronicsMapper.cc.
References gather_cfg::cout, ee_es_map_, fed_, FrontierConditions_GlobalTag_cff::file, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, kchip_, lookup_, visualization-live-secondInstance_cfg::m, submitDQMOfflineCAF::nLines, and z.
|
inline |
Definition at line 17 of file ESElectronicsMapper.h.
References getFED(), getKCHIP(), GetListofFEDs(), x, y, and ecaldqm::zside().
int ESElectronicsMapper::getFED | ( | const ESDetId & | id | ) |
Definition at line 68 of file ESElectronicsMapper.cc.
References fed_, and ecaldqm::zside().
Referenced by ~ESElectronicsMapper().
int ESElectronicsMapper::getFED | ( | int | zside, |
int | plane, | ||
int | x, | ||
int | y | ||
) |
int ESElectronicsMapper::getKCHIP | ( | const ESDetId & | id | ) |
Definition at line 102 of file ESElectronicsMapper.cc.
References kchip_, and ecaldqm::zside().
Referenced by ~ESElectronicsMapper().
int ESElectronicsMapper::getKCHIP | ( | int | zside, |
int | plane, | ||
int | x, | ||
int | y | ||
) |
std::vector< int > ESElectronicsMapper::GetListofFEDs | ( | const std::vector< int > & | eeFEDs | ) | const |
Definition at line 80 of file ESElectronicsMapper.cc.
Referenced by ~ESElectronicsMapper().
void ESElectronicsMapper::GetListofFEDs | ( | const std::vector< int > & | eeFEDs, |
std::vector< int > & | esFEDs | ||
) | const |
Definition at line 86 of file ESElectronicsMapper.cc.
References ee_es_map_, dqmiolumiharvest::j, and tier0::unique().
|
private |
Definition at line 31 of file ESElectronicsMapper.h.
Referenced by ESElectronicsMapper(), and GetListofFEDs().
|
private |
Definition at line 29 of file ESElectronicsMapper.h.
Referenced by ESElectronicsMapper(), and getFED().
|
private |
Definition at line 30 of file ESElectronicsMapper.h.
Referenced by ESElectronicsMapper(), and getKCHIP().
|
private |
Definition at line 27 of file ESElectronicsMapper.h.
Referenced by ESElectronicsMapper().