#include <GEMeMap.h>
Classes | |
struct | GEMChamberMap |
struct | GEMStripMap |
struct | GEMVFatMap |
Public Member Functions | |
void | convert (GEMROMapping &romap) |
void | convertDummy (GEMROMapping &romap) |
GEMeMap () | |
GEMeMap (const std::string &version) | |
const std::string & | version () const |
virtual | ~GEMeMap () |
Public Attributes | |
std::vector< GEMChamberMap > | theChamberMap_ |
std::vector< GEMStripMap > | theStripMap_ |
std::vector< GEMVFatMap > | theVFatMap_ |
Static Public Attributes | |
static const int | chipIdMask_ = 0xfff |
static const int | maxAMCs_ = 15 |
static const int | maxChan_ = 128 |
static const int | maxGEB1_ = 12 |
static const int | maxGEB2_ = 12 |
static const int | maxGEBs_ = 24 |
static const int | maxiEtaIdGE0_ = 8 |
static const int | maxiEtaIdGE11_ = 8 |
static const int | maxiEtaIdGE21_ = 16 |
static const int | maxVFatGE0_ = 12 |
static const int | maxVFatGE11_ = 3 |
static const int | maxVFatGE21_ = 6 |
static const int | vfatTypeV3_ = 11 |
static const int | vfatVerV3_ = 3 |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::string | theVersion |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
GEMeMap::GEMeMap | ( | ) |
Definition at line 6 of file GEMeMap.cc.
|
explicit |
Definition at line 8 of file GEMeMap.cc.
|
virtual |
Definition at line 10 of file GEMeMap.cc.
void GEMeMap::convert | ( | GEMROMapping & | romap | ) |
Definition at line 14 of file GEMeMap.cc.
References funct::abs(), GEMROMapping::add(), GEMDetId::chamberId(), chipIdMask_, GEMROMapping::channelNum::chNum, GEMROMapping::chamDC::detId, GEMROMapping::vfatEC::detId, GEMROMapping::vfatDC::detId, GEMROMapping::sectorEC::fedId, GEMROMapping::chamEC::fedId, GEMROMapping::isValidAMC(), GEMROMapping::vfatDC::localPhi, GEMROMapping::stripNum::stNum, theChamberMap_, theStripMap_, theVFatMap_, GEMROMapping::vfatEC::vfatAdd, GEMROMapping::vfatDC::vfatType, GEMROMapping::channelNum::vfatType, GEMROMapping::stripNum::vfatType, and GEMROMapping::chamDC::vfatVer.
void GEMeMap::convertDummy | ( | GEMROMapping & | romap | ) |
Definition at line 74 of file GEMeMap.cc.
References GEMROMapping::add(), GEMROMapping::chamEC::amcNum, GEMDetId::chamberId(), GEMROMapping::channelNum::chNum, GEMROMapping::chamDC::detId, GEMROMapping::vfatEC::detId, GEMROMapping::vfatDC::detId, GEMROMapping::chamEC::fedId, l1tstage2_dqm_sourceclient-live_cfg::fedId, GEMROMapping::chamEC::gebId, mps_fire::i, hcalRecHitTable_cff::ieta, GEMROMapping::isValidAMC(), GEMROMapping::vfatDC::localPhi, GEMDetId::maxChamberId, maxChan_, maxGEB1_, maxGEBs_, maxiEtaIdGE0_, maxiEtaIdGE11_, maxiEtaIdGE21_, GEMDetId::maxLayerId, GEMDetId::maxLayerId0, GEMDetId::maxStationId, maxVFatGE0_, maxVFatGE11_, maxVFatGE21_, FEDNumbering::MINGE0FEDID, FEDNumbering::MINGE21FEDID, FEDNumbering::MINGEMFEDID, GEMDetId::minStationId0, GEMROMapping::stripNum::stNum, GEMROMapping::vfatEC::vfatAdd, GEMROMapping::vfatDC::vfatType, GEMROMapping::channelNum::vfatType, GEMROMapping::stripNum::vfatType, vfatTypeV3_, GEMROMapping::chamDC::vfatVer, and vfatVerV3_.
|
private |
const std::string & GEMeMap::version | ( | ) | const |
Definition at line 12 of file GEMeMap.cc.
References theVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
|
static |
|
static |
Definition at line 72 of file GEMeMap.h.
Referenced by convertDummy(), GEMDQMBase::getVFATNumberByDigi(), and GEMDQMBase::loadChambers().
|
static |
Definition at line 63 of file GEMeMap.h.
Referenced by convertDummy().
|
static |
Definition at line 62 of file GEMeMap.h.
Referenced by convertDummy().
|
static |
Definition at line 69 of file GEMeMap.h.
Referenced by convertDummy(), and GEMDQMBase::getIEtaFromVFATGE0().
|
static |
Definition at line 70 of file GEMeMap.h.
Referenced by convertDummy(), GEMDQMBase::getIEtaFromVFATGE11(), and GEMDQMBase::getVFATNumberGE11().
|
static |
Definition at line 71 of file GEMeMap.h.
Referenced by convertDummy(), and GEMDQMBase::getIEtaFromVFATGE21().
|
static |
Definition at line 66 of file GEMeMap.h.
Referenced by convertDummy(), and GEMDQMBase::getMaxVFAT().
|
static |
Definition at line 67 of file GEMeMap.h.
Referenced by convertDummy(), and GEMDQMBase::getMaxVFAT().
|
static |
Definition at line 68 of file GEMeMap.h.
Referenced by convertDummy(), and GEMDQMBase::getMaxVFAT().
std::vector<GEMChamberMap> GEMeMap::theChamberMap_ |
std::vector<GEMStripMap> GEMeMap::theStripMap_ |
|
private |
std::vector<GEMVFatMap> GEMeMap::theVFatMap_ |
|
static |
Definition at line 60 of file GEMeMap.h.
Referenced by convertDummy().
|
static |
Definition at line 59 of file GEMeMap.h.
Referenced by convertDummy().