#include <GEMChMap.h>
Classes | |
struct | chamDC |
struct | chamEC |
struct | channelNum |
struct | sectorEC |
struct | stripNum |
struct | vfatEC |
Public Member Functions | |
void | add (sectorEC e) |
void | add (chamEC e, chamDC d) |
void | add (int type, uint16_t d) |
void | add (vfatEC d, int iEta) |
void | add (channelNum c, stripNum s) |
void | add (stripNum s, channelNum c) |
std::map< chamEC, chamDC > | chamberMap () |
const chamDC & | chamberPos (unsigned int fedId, uint8_t amcNum, uint16_t gebId) const |
GEMChMap () | |
GEMChMap (const std::string &version) | |
const channelNum & | getChannel (int chamberType, int iEta, int strip) const |
const std::vector< int > | getIEtas (int chamberType, uint16_t vfatAdd) const |
const stripNum & | getStrip (int chamberType, int vfatAdd, int channel) const |
const std::vector< uint16_t > | getVfats (const int type) const |
bool | isValidAMC (unsigned int fedId, uint8_t amcNum) const |
bool | isValidChamber (unsigned int fedId, uint8_t amcNum, uint16_t gebId) const |
bool | isValidStrip (int chamberType, int iEta, int strip) const |
bool | isValidVFAT (int chamberType, uint16_t vfatAdd) const |
void | setDummy () |
const std::string & | version () const |
~GEMChMap () | |
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 |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< sectorEC > | amcVec_ |
std::map< chamEC, chamDC > | chamberMap_ |
std::map< vfatEC, std::vector< int > > | chamIEtas_ |
std::map< int, std::vector< uint16_t > > | chamVfats_ |
std::map< channelNum, stripNum > | chStMap_ |
std::map< stripNum, channelNum > | stChMap_ |
std::string | theVersion |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 11 of file GEMChMap.h.
GEMChMap::GEMChMap | ( | ) |
Definition at line 5 of file GEMChMap.cc.
|
explicit |
Definition at line 7 of file GEMChMap.cc.
GEMChMap::~GEMChMap | ( | ) |
Definition at line 9 of file GEMChMap.cc.
|
inline |
Definition at line 139 of file GEMChMap.h.
References amcVec_, and MillePedeFileConverter_cfg::e.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), SequenceTypes._TaskBase::replace(), and setDummy().
Definition at line 144 of file GEMChMap.h.
References chamberMap_, ztail::d, and MillePedeFileConverter_cfg::e.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
inline |
Definition at line 147 of file GEMChMap.h.
References SplitLinear::begin, chamVfats_, ztail::d, mps_fire::end, and spr::find().
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
inline |
Definition at line 155 of file GEMChMap.h.
References SplitLinear::begin, chamIEtas_, ztail::d, mps_fire::end, spr::find(), and l1tPhase2CaloJetEmulator_cfi::iEta.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
inline |
Definition at line 167 of file GEMChMap.h.
References DummyCfis::c, chStMap_, and alignCSCRings::s.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
inline |
Definition at line 168 of file GEMChMap.h.
References DummyCfis::c, alignCSCRings::s, and stChMap_.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
inline |
Definition at line 141 of file GEMChMap.h.
References chamberMap_, and l1tstage2_dqm_sourceclient-live_cfg::fedId.
|
inline |
Definition at line 160 of file GEMChMap.h.
References nano_mu_digi_cff::chamberType, l1tPhase2CaloJetEmulator_cfi::iEta, stChMap_, and nano_mu_digi_cff::strip.
|
inline |
Definition at line 152 of file GEMChMap.h.
References nano_mu_digi_cff::chamberType, and chamIEtas_.
|
inline |
|
inline |
|
inline |
Definition at line 123 of file GEMChMap.h.
References amcVec_, l1tstage2_dqm_sourceclient-live_cfg::fedId, and spr::find().
Referenced by setDummy().
|
inline |
Definition at line 127 of file GEMChMap.h.
References chamberMap_, and l1tstage2_dqm_sourceclient-live_cfg::fedId.
|
inline |
Definition at line 135 of file GEMChMap.h.
References nano_mu_digi_cff::chamberType, l1tPhase2CaloJetEmulator_cfi::iEta, stChMap_, and nano_mu_digi_cff::strip.
|
inline |
Definition at line 131 of file GEMChMap.h.
References nano_mu_digi_cff::chamberType, and chamIEtas_.
|
private |
void GEMChMap::setDummy | ( | ) |
Definition at line 13 of file GEMChMap.cc.
References add(), GEMChMap::chamEC::amcNum, amcVec_, chamberMap_, GEMChMap::chamDC::chamberType, GEMChMap::vfatEC::chamberType, GEMChMap::channelNum::chamberType, GEMChMap::stripNum::chamberType, chamIEtas_, chamVfats_, GEMChMap::channelNum::chNum, chStMap_, GEMChMap::chamDC::detId, GEMChMap::chamEC::fedId, l1tstage2_dqm_sourceclient-live_cfg::fedId, GEMChMap::chamEC::gebId, mps_fire::i, hcalRecHitTable_cff::ieta, GEMChMap::stripNum::iEta, isValidAMC(), 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, stChMap_, GEMChMap::stripNum::stNum, GEMChMap::vfatEC::vfatAdd, and GEMChMap::channelNum::vfatAdd.
const std::string & GEMChMap::version | ( | ) | const |
Definition at line 11 of file GEMChMap.cc.
References theVersion.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 184 of file GEMChMap.h.
|
friend |
Definition at line 184 of file GEMChMap.h.
|
private |
Definition at line 173 of file GEMChMap.h.
Referenced by add(), isValidAMC(), and setDummy().
Definition at line 176 of file GEMChMap.h.
Referenced by add(), chamberMap(), chamberPos(), isValidChamber(), and setDummy().
|
private |
Definition at line 179 of file GEMChMap.h.
Referenced by add(), getIEtas(), isValidVFAT(), and setDummy().
|
private |
Definition at line 178 of file GEMChMap.h.
Referenced by add(), getVfats(), and setDummy().
|
static |
Definition at line 188 of file GEMChMap.h.
|
private |
Definition at line 181 of file GEMChMap.h.
Referenced by add(), getStrip(), and setDummy().
|
static |
Definition at line 192 of file GEMChMap.h.
Referenced by GEMDigiToRawModule::produce().
|
static |
Definition at line 199 of file GEMChMap.h.
Referenced by setDummy().
|
static |
Definition at line 190 of file GEMChMap.h.
Referenced by setDummy().
|
static |
Definition at line 191 of file GEMChMap.h.
|
static |
Definition at line 189 of file GEMChMap.h.
Referenced by GEMDigiToRawModule::produce(), and setDummy().
|
static |
Definition at line 196 of file GEMChMap.h.
Referenced by setDummy().
|
static |
Definition at line 197 of file GEMChMap.h.
Referenced by setDummy().
|
static |
Definition at line 198 of file GEMChMap.h.
Referenced by setDummy().
|
static |
Definition at line 193 of file GEMChMap.h.
Referenced by setDummy().
|
static |
Definition at line 194 of file GEMChMap.h.
Referenced by setDummy().
|
static |
Definition at line 195 of file GEMChMap.h.
Referenced by setDummy().
|
private |
Definition at line 182 of file GEMChMap.h.
Referenced by add(), getChannel(), isValidStrip(), and setDummy().
|
private |
Definition at line 171 of file GEMChMap.h.
Referenced by version().