#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, gen::k, kchip_, lookup_, funct::m, and z.
|
inline |
Definition at line 19 of file ESElectronicsMapper.h.
References getFED(), getKCHIP(), GetListofFEDs(), x, y, and ecaldqm::zside().
int ESElectronicsMapper::getFED | ( | const ESDetId & | id | ) |
Definition at line 69 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 106 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 83 of file ESElectronicsMapper.cc.
Referenced by ~ESElectronicsMapper().
void ESElectronicsMapper::GetListofFEDs | ( | const std::vector< int > & | eeFEDs, |
std::vector< int > & | esFEDs | ||
) | const |
Definition at line 89 of file ESElectronicsMapper.cc.
References ee_es_map_, jetUpdater_cfi::sort, and tier0::unique().
|
private |
Definition at line 34 of file ESElectronicsMapper.h.
Referenced by ESElectronicsMapper(), and GetListofFEDs().
|
private |
Definition at line 32 of file ESElectronicsMapper.h.
Referenced by ESElectronicsMapper(), and getFED().
|
private |
Definition at line 33 of file ESElectronicsMapper.h.
Referenced by ESElectronicsMapper(), and getKCHIP().
|
private |
Definition at line 30 of file ESElectronicsMapper.h.
Referenced by ESElectronicsMapper().