#include <DTReadOutMapping.h>
Public Types | |
typedef std::vector < DTReadOutGeometryLink > ::const_iterator | const_iterator |
Access methods to the connections. More... | |
enum | type { plain, compact } |
Public Member Functions | |
const_iterator | begin () const |
void | clear () |
clear map More... | |
DTReadOutMapping () | |
DTReadOutMapping (const std::string &cell_map_version, const std::string &rob_map_version) | |
const_iterator | end () const |
const DTReadOutMapping * | fullMap () const |
Expand to full map. More... | |
int | geometryToReadOut (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, int &dduId, int &rosId, int &robId, int &tdcId, int &channelId) const |
int | geometryToReadOut (const DTWireId &wireId, int &dduId, int &rosId, int &robId, int &tdcId, int &channelId) const |
int | insertReadOutGeometryLink (int dduId, int rosId, int robId, int tdcId, int channelId, int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId) |
insert connection More... | |
const std::string & | mapCellTdc () const |
access parent maps identifiers More... | |
std::string & | mapCellTdc () |
const std::string & | mapRobRos () const |
std::string & | mapRobRos () |
type | mapType () const |
int | readOutToGeometry (int dduId, int rosId, int robId, int tdcId, int channelId, DTWireId &wireId) const |
transform identifiers More... | |
int | readOutToGeometry (int dduId, int rosId, int robId, int tdcId, int channelId, int &wheelId, int &stationId, int §orId, int &slId, int &layerId, int &cellId) const |
~DTReadOutMapping () | |
Private Member Functions | |
void | cacheMap () const |
read and store full content More... | |
std::string | mapNameGR () const |
std::string | mapNameRG () const |
Private Attributes | |
std::string | cellMapVersion |
DTBufferTree< int, int > * | grBuf |
DTBufferTree< int, std::vector < int > * > * | grDDU |
DTBufferTree< int, std::vector < int > * > * | grROB |
DTBufferTree< int, std::vector < int > * > * | grROS |
DTBufferTree< int, int > * | mType |
std::vector < DTReadOutGeometryLink > | readOutChannelDriftTubeMap |
DTBufferTree< int, int > * | rgBuf |
DTBufferTree< int, int > * | rgDDU |
DTBufferTree< int, int > * | rgROB |
DTBufferTree< int, int > * | rgROS |
std::string | robMapVersion |
Description: Class to map read-out channels to physical drift tubes
Definition at line 57 of file DTReadOutMapping.h.
typedef std::vector<DTReadOutGeometryLink>::const_iterator DTReadOutMapping::const_iterator |
Access methods to the connections.
Definition at line 140 of file DTReadOutMapping.h.
Enumerator | |
---|---|
plain | |
compact |
Definition at line 71 of file DTReadOutMapping.h.
DTReadOutMapping::DTReadOutMapping | ( | ) |
Constructor
Definition at line 36 of file DTReadOutMapping.cc.
References grBuf, grDDU, grROB, grROS, mType, readOutChannelDriftTubeMap, rgBuf, rgDDU, rgROB, and rgROS.
DTReadOutMapping::DTReadOutMapping | ( | const std::string & | cell_map_version, |
const std::string & | rob_map_version | ||
) |
Definition at line 45 of file DTReadOutMapping.cc.
References grBuf, grDDU, grROB, grROS, mType, readOutChannelDriftTubeMap, rgBuf, rgDDU, rgROB, and rgROS.
DTReadOutMapping::~DTReadOutMapping | ( | ) |
Destructor
Definition at line 72 of file DTReadOutMapping.cc.
References DTBufferTree< Key, Content >::contList(), grBuf, grDDU, grROB, grROS, mType, rgBuf, rgDDU, rgROB, and rgROS.
DTReadOutMapping::const_iterator DTReadOutMapping::begin | ( | void | ) | const |
Definition at line 498 of file DTReadOutMapping.cc.
References readOutChannelDriftTubeMap.
Referenced by DTCompactMapPluginHandler::expandMap().
|
private |
read and store full content
Definition at line 535 of file DTReadOutMapping.cc.
References DTReadOutGeometryLink::cellId, DTReadOutGeometryLink::channelId, DTReadOutGeometryLink::dduId, DTBufferTree< Key, Content >::find(), grBuf, grDDU, grROB, grROS, DTBufferTree< Key, Content >::insert(), combine::key, DTReadOutGeometryLink::layerId, link(), mType, readOutChannelDriftTubeMap, rgBuf, rgDDU, rgROB, rgROS, DTReadOutGeometryLink::robId, DTReadOutGeometryLink::rosId, DTReadOutGeometryLink::sectorId, DTBufferTree< Key, Content >::setDefault(), DTReadOutGeometryLink::stationId, and DTReadOutGeometryLink::wheelId.
Referenced by geometryToReadOut(), mapType(), and readOutToGeometry().
void DTReadOutMapping::clear | ( | void | ) |
clear map
Definition at line 424 of file DTReadOutMapping.cc.
References grBuf, mType, readOutChannelDriftTubeMap, and rgBuf.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
DTReadOutMapping::const_iterator DTReadOutMapping::end | ( | void | ) | const |
Definition at line 503 of file DTReadOutMapping.cc.
References readOutChannelDriftTubeMap.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and DTCompactMapPluginHandler::expandMap().
const DTReadOutMapping * DTReadOutMapping::fullMap | ( | ) | const |
Expand to full map.
Definition at line 508 of file DTReadOutMapping.cc.
References gather_cfg::cout, DTCompactMapAbstractHandler::expandMap(), DTCompactMapAbstractHandler::getInstance(), mapType(), and plain.
int DTReadOutMapping::geometryToReadOut | ( | int | wheelId, |
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId, | ||
int & | dduId, | ||
int & | rosId, | ||
int & | robId, | ||
int & | tdcId, | ||
int & | channelId | ||
) | const |
Definition at line 257 of file DTReadOutMapping.cc.
References cacheMap(), DTReadOutGeometryLink::channelId, DTReadOutGeometryLink::dduId, DTBufferTree< Key, Content >::find(), grBuf, grDDU, grROB, grROS, link(), mType, readOutChannelDriftTubeMap, DTReadOutGeometryLink::robId, DTReadOutGeometryLink::rosId, DTReadOutGeometryLink::sectorId, and DTReadOutGeometryLink::wheelId.
Referenced by geometryToReadOut().
int DTReadOutMapping::geometryToReadOut | ( | const DTWireId & | wireId, |
int & | dduId, | ||
int & | rosId, | ||
int & | robId, | ||
int & | tdcId, | ||
int & | channelId | ||
) | const |
Definition at line 237 of file DTReadOutMapping.cc.
References geometryToReadOut(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), DTChamberId::wheel(), and DTWireId::wire().
int DTReadOutMapping::insertReadOutGeometryLink | ( | int | dduId, |
int | rosId, | ||
int | robId, | ||
int | tdcId, | ||
int | channelId, | ||
int | wheelId, | ||
int | stationId, | ||
int | sectorId, | ||
int | slId, | ||
int | layerId, | ||
int | cellId | ||
) |
insert connection
Definition at line 434 of file DTReadOutMapping.cc.
References DTReadOutGeometryLink::channelId, grBuf, DTBufferTree< Key, Content >::insert(), link(), readOutChannelDriftTubeMap, rgBuf, and DTReadOutGeometryLink::stationId.
Referenced by DTCompactMapPluginHandler::expandMap(), and DTReadOutMappingHandler::getNewObjects().
const std::string & DTReadOutMapping::mapCellTdc | ( | ) | const |
access parent maps identifiers
Definition at line 403 of file DTReadOutMapping.cc.
References cellMapVersion.
Referenced by DTCompactMapPluginHandler::expandMap().
std::string & DTReadOutMapping::mapCellTdc | ( | ) |
|
private |
Definition at line 521 of file DTReadOutMapping.cc.
References cellMapVersion, mergeVDriftHistosByStation::name, and robMapVersion.
|
private |
Definition at line 528 of file DTReadOutMapping.cc.
References cellMapVersion, mergeVDriftHistosByStation::name, and robMapVersion.
const std::string & DTReadOutMapping::mapRobRos | ( | ) | const |
Definition at line 414 of file DTReadOutMapping.cc.
References robMapVersion.
Referenced by DTCompactMapPluginHandler::expandMap().
std::string & DTReadOutMapping::mapRobRos | ( | ) |
DTReadOutMapping::type DTReadOutMapping::mapType | ( | ) | const |
Definition at line 393 of file DTReadOutMapping.cc.
References cacheMap(), compact, DTBufferTree< Key, Content >::find(), mType, and plain.
Referenced by fullMap().
int DTReadOutMapping::readOutToGeometry | ( | int | dduId, |
int | rosId, | ||
int | robId, | ||
int | tdcId, | ||
int | channelId, | ||
DTWireId & | wireId | ||
) | const |
transform identifiers
Operations
Definition at line 113 of file DTReadOutMapping.cc.
References ntuplemaker::status.
int DTReadOutMapping::readOutToGeometry | ( | int | dduId, |
int | rosId, | ||
int | robId, | ||
int | tdcId, | ||
int | channelId, | ||
int & | wheelId, | ||
int & | stationId, | ||
int & | sectorId, | ||
int & | slId, | ||
int & | layerId, | ||
int & | cellId | ||
) | const |
Definition at line 145 of file DTReadOutMapping.cc.
References cacheMap(), DTBufferTree< Key, Content >::find(), link(), mType, readOutChannelDriftTubeMap, rgBuf, rgDDU, rgROB, rgROS, and DTReadOutGeometryLink::stationId.
|
private |
Definition at line 149 of file DTReadOutMapping.h.
Referenced by mapCellTdc(), mapNameGR(), and mapNameRG().
|
private |
Definition at line 159 of file DTReadOutMapping.h.
Referenced by cacheMap(), clear(), DTReadOutMapping(), geometryToReadOut(), insertReadOutGeometryLink(), and ~DTReadOutMapping().
|
private |
Definition at line 165 of file DTReadOutMapping.h.
Referenced by cacheMap(), DTReadOutMapping(), geometryToReadOut(), and ~DTReadOutMapping().
|
private |
Definition at line 161 of file DTReadOutMapping.h.
Referenced by cacheMap(), DTReadOutMapping(), geometryToReadOut(), and ~DTReadOutMapping().
|
private |
Definition at line 163 of file DTReadOutMapping.h.
Referenced by cacheMap(), DTReadOutMapping(), geometryToReadOut(), and ~DTReadOutMapping().
|
private |
Definition at line 154 of file DTReadOutMapping.h.
Referenced by cacheMap(), clear(), DTReadOutMapping(), geometryToReadOut(), mapType(), readOutToGeometry(), and ~DTReadOutMapping().
|
private |
Definition at line 152 of file DTReadOutMapping.h.
Referenced by begin(), cacheMap(), clear(), DTReadOutMapping(), end(), geometryToReadOut(), insertReadOutGeometryLink(), and readOutToGeometry().
|
private |
Definition at line 155 of file DTReadOutMapping.h.
Referenced by cacheMap(), clear(), DTReadOutMapping(), insertReadOutGeometryLink(), readOutToGeometry(), and ~DTReadOutMapping().
|
private |
Definition at line 158 of file DTReadOutMapping.h.
Referenced by cacheMap(), DTReadOutMapping(), readOutToGeometry(), and ~DTReadOutMapping().
|
private |
Definition at line 156 of file DTReadOutMapping.h.
Referenced by cacheMap(), DTReadOutMapping(), readOutToGeometry(), and ~DTReadOutMapping().
|
private |
Definition at line 157 of file DTReadOutMapping.h.
Referenced by cacheMap(), DTReadOutMapping(), readOutToGeometry(), and ~DTReadOutMapping().
|
private |
Definition at line 150 of file DTReadOutMapping.h.
Referenced by mapNameGR(), mapNameRG(), and mapRobRos().