#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 |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 11 of file CSCCrateMap.h.
typedef std::map<int, CSCMapItem::MapItem> CSCCrateMap::CSCMap |
Definition at line 24 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 9 of file CSCCrateMap.cc.
References CSCMapItem::MapItem::chamber, CSCMapItem::MapItem::endcap, item(), crabWrapper::key, phase1PixelTopology::layer, CSCMapItem::MapItem::ring, and CSCMapItem::MapItem::station.
Referenced by CSCOfflineMonitor::doBXMonitor(), 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, crabWrapper::key, and edm::second().
Referenced by detId().
|
private |
|
friend |
Definition at line 27 of file CSCCrateMap.h.
|
friend |
Definition at line 27 of file CSCCrateMap.h.
CSCMap CSCCrateMap::crate_map |
Definition at line 25 of file CSCCrateMap.h.
Referenced by CSCCrateMapValues::fillCrateMap(), and item().