#include <CSCCrateMap.h>
Public Types | |
typedef std::map< int, CSCMapItem::MapItem > | CSCMap |
Public Member Functions | |
CSCCrateMap () | |
CSCDetId | detId (int vme, int dmb, int cfeb, int layer=0) const |
const CSCMapItem::MapItem & | item (int key) const |
Accessor for item according to a key. More... | |
~CSCCrateMap () | |
Public Attributes | |
CSCMap | crate_map |
Definition at line 9 of file CSCCrateMap.h.
typedef std::map< int,CSCMapItem::MapItem > CSCCrateMap::CSCMap |
Definition at line 22 of file CSCCrateMap.h.
CSCCrateMap::CSCCrateMap | ( | ) |
Definition at line 3 of file CSCCrateMap.cc.
CSCCrateMap::~CSCCrateMap | ( | ) |
Definition at line 5 of file CSCCrateMap.cc.
CSCDetId CSCCrateMap::detId | ( | int | vme, |
int | dmb, | ||
int | cfeb, | ||
int | layer = 0 |
||
) | const |
Build DetId from hardware labels of vme crate, dmb Need cfeb to split ME11 into ME1a and ME1b. May need layer # 1-6 (set 0 for chamber, as default arg.)
Definition at line 11 of file CSCCrateMap.cc.
References CSCMapItem::MapItem::chamber, CSCDetId, CSCMapItem::MapItem::endcap, item(), combine::key, CSCMapItem::MapItem::ring, and CSCMapItem::MapItem::station.
Referenced by CSCOfflineMonitor::doBXMonitor(), CSCValidation::doTimeMonitoring(), CSCMonitorModule::getCSCDetId(), and CSCDCCUnpacker::produce().
const CSCMapItem::MapItem & CSCCrateMap::item | ( | int | key | ) | const |
Accessor for item according to a key.
Definition at line 7 of file CSCCrateMap.cc.
References crate_map, and edm::second().
Referenced by Vispa.Views.TableView.TableView::_selectedRow(), detId(), Vispa.Views.TableView.TableView::itemSelectionChanged(), Vispa.Views.TableView.TableView::select(), and Vispa.Views.TableView.TableView::selection().
CSCMap CSCCrateMap::crate_map |
Definition at line 23 of file CSCCrateMap.h.
Referenced by CSCCrateMapValues::fillCrateMap(), and item().