#include <CSCChamberMap.h>
Public Types | |
typedef std::map< int, CSCMapItem::MapItem > | CSCMap |
Data are public. @Should be private? More... | |
Public Member Functions | |
int | crate (const CSCDetId &) const |
Interface required use in digi-to-raw. More... | |
CSCChamberMap () | |
int | ddu (const CSCDetId &) const |
ddu id for given DetId More... | |
int | dduInput (const CSCDetId &) const |
ddu input for given DetId More... | |
int | dduSlot (const CSCDetId &) const |
ddu slot for given DetId More... | |
int | dmb (const CSCDetId &) const |
dmb id for given DetId More... | |
const CSCMapItem::MapItem & | item (int key) const |
Accessor for item according to key. More... | |
int | slink (const CSCDetId &) const |
slink id for given DetId More... | |
~CSCChamberMap () | |
Public Attributes | |
CSCMap | ch_map |
Private Member Functions | |
int | dbIndex (const CSCDetId &) const |
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 CSCChamberMap.h.
typedef std::map< int, CSCMapItem::MapItem > CSCChamberMap::CSCMap |
Data are public. @Should be private?
Definition at line 40 of file CSCChamberMap.h.
CSCChamberMap::CSCChamberMap | ( | ) |
Definition at line 4 of file CSCChamberMap.cc.
CSCChamberMap::~CSCChamberMap | ( | ) |
Definition at line 6 of file CSCChamberMap.cc.
int CSCChamberMap::crate | ( | const CSCDetId & | id | ) | const |
Interface required use in digi-to-raw.
vme crate id for given DetId
Definition at line 26 of file CSCChamberMap.cc.
References CSCMapItem::MapItem::crateid, dbIndex(), and item().
Referenced by CSCDigiToRaw::findEventData().
|
private |
Decimal-encoded index (as used inside db - the 'Igor' index)
This is the decimal integer ie*100000 + is*10000 + ir*1000 + ic*10 + il
(ie=1-2, is=1-4, ir=1-4, ic=1-36, il=1-6)
But in this case il=0 labels entire chamber.
Definition at line 12 of file CSCChamberMap.cc.
Referenced by crate(), ddu(), dduInput(), dduSlot(), dmb(), and slink().
int CSCChamberMap::ddu | ( | const CSCDetId & | id | ) | const |
ddu id for given DetId
Definition at line 38 of file CSCChamberMap.cc.
References dbIndex(), CSCMapItem::MapItem::ddu, and item().
Referenced by CSCDigiToRaw::createFedBuffers(), and CSCDCCUnpacker::produce().
int CSCChamberMap::dduInput | ( | const CSCDetId & | id | ) | const |
ddu input for given DetId
Definition at line 56 of file CSCChamberMap.cc.
References dbIndex(), CSCMapItem::MapItem::ddu_input, and item().
Referenced by CSCDigiToRaw::createFedBuffers().
int CSCChamberMap::dduSlot | ( | const CSCDetId & | id | ) | const |
ddu slot for given DetId
Definition at line 50 of file CSCChamberMap.cc.
References dbIndex(), CSCMapItem::MapItem::ddu_slot, and item().
Referenced by CSCDigiToRaw::createFedBuffers().
int CSCChamberMap::dmb | ( | const CSCDetId & | id | ) | const |
dmb id for given DetId
Definition at line 32 of file CSCChamberMap.cc.
References dbIndex(), CSCMapItem::MapItem::dmb, and item().
Referenced by CSCDigiToRaw::createFedBuffers(), and CSCDigiToRaw::findEventData().
const CSCMapItem::MapItem & CSCChamberMap::item | ( | int | key | ) | const |
Accessor for item according to key.
Definition at line 8 of file CSCChamberMap.cc.
References ch_map, and edm::second().
Referenced by Vispa.Views.TableView.TableView::_selectedRow(), crate(), ddu(), dduInput(), dduSlot(), dmb(), Vispa.Views.TableView.TableView::itemSelectionChanged(), Vispa.Views.TableView.TableView::select(), Vispa.Views.TableView.TableView::selection(), and slink().
|
private |
int CSCChamberMap::slink | ( | const CSCDetId & | id | ) | const |
slink id for given DetId
Definition at line 44 of file CSCChamberMap.cc.
References dbIndex(), item(), and CSCMapItem::MapItem::slink.
Referenced by CSCDigiToRaw::createFedBuffers().
|
friend |
Definition at line 53 of file CSCChamberMap.h.
|
friend |
Definition at line 53 of file CSCChamberMap.h.
CSCMap CSCChamberMap::ch_map |
Definition at line 41 of file CSCChamberMap.h.
Referenced by CSCChamberMapValues::fillChamberMap(), and item().