#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 | |
edm::AtomicPtrCache< DTReadOutMappingCache > const & | atomicCache () const |
edm::AtomicPtrCache< DTReadOutMappingCache > & | atomicCache () |
void | cacheMap () const |
read and store full content More... | |
DTReadOutMapping (DTReadOutMapping const &)=delete | |
std::string | mapNameGR () const |
std::string | mapNameRG () const |
DTReadOutMapping & | operator= (DTReadOutMapping const &)=delete |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Static Private Member Functions | |
static DTReadOutMapping * | expandMap (const DTReadOutMapping &compMap) |
Private Attributes | |
edm::AtomicPtrCache< DTReadOutMappingCache > | atomicCache_ |
std::string | cellMapVersion |
edm::ConstRespectingPtr< DTBufferTree< int, int > > | grBuf |
std::vector< DTReadOutGeometryLink > | readOutChannelDriftTubeMap |
edm::ConstRespectingPtr< DTBufferTree< int, int > > | rgBuf |
std::string | robMapVersion |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Description: Class to map read-out channels to physical drift tubes Many details related to this class are described in internal note IN 2010_033. In particular the compact format is described there.
Definition at line 66 of file DTReadOutMapping.h.
typedef std::vector<DTReadOutGeometryLink>::const_iterator DTReadOutMapping::const_iterator |
Access methods to the connections.
Definition at line 149 of file DTReadOutMapping.h.
Enumerator | |
---|---|
plain | |
compact |
Definition at line 80 of file DTReadOutMapping.h.
DTReadOutMapping::DTReadOutMapping | ( | ) |
Constructor
Definition at line 34 of file DTReadOutMapping.cc.
References readOutChannelDriftTubeMap.
DTReadOutMapping::DTReadOutMapping | ( | const std::string & | cell_map_version, |
const std::string & | rob_map_version | ||
) |
Definition at line 44 of file DTReadOutMapping.cc.
References readOutChannelDriftTubeMap.
DTReadOutMapping::~DTReadOutMapping | ( | ) |
|
privatedelete |
|
inlineprivate |
Definition at line 161 of file DTReadOutMapping.h.
|
inlineprivate |
Definition at line 162 of file DTReadOutMapping.h.
DTReadOutMapping::const_iterator DTReadOutMapping::begin | ( | void | ) | const |
Definition at line 463 of file DTReadOutMapping.cc.
Referenced by expandMap().
|
private |
read and store full content
Definition at line 580 of file DTReadOutMapping.cc.
References DTReadOutGeometryLink::cellId, DTReadOutGeometryLink::channelId, DTReadOutGeometryLink::dduId, crabWrapper::key, DTReadOutGeometryLink::layerId, eostools::move(), DTReadOutGeometryLink::robId, DTReadOutGeometryLink::rosId, DTReadOutGeometryLink::sectorId, DTReadOutGeometryLink::slId, DTReadOutGeometryLink::stationId, DTReadOutGeometryLink::tdcId, heppy_batch::val, and DTReadOutGeometryLink::wheelId.
void DTReadOutMapping::clear | ( | void | ) |
clear map
Definition at line 391 of file DTReadOutMapping.cc.
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 468 of file DTReadOutMapping.cc.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and expandMap().
|
staticprivate |
Definition at line 481 of file DTReadOutMapping.cc.
References begin(), DTReadOutGeometryLink::cellId, DTReadOutGeometryLink::channelId, gather_cfg::cout, DTReadOutGeometryLink::dduId, def, end(), insertReadOutGeometryLink(), DTReadOutGeometryLink::layerId, mapCellTdc(), mapRobRos(), MT2Analyzer::mt2, DTReadOutGeometryLink::robId, DTReadOutGeometryLink::rosId, DTReadOutGeometryLink::sectorId, DTReadOutGeometryLink::slId, DTReadOutGeometryLink::stationId, AlCaHLTBitMon_QueryRunRegistry::string, DTReadOutGeometryLink::tdcId, and DTReadOutGeometryLink::wheelId.
const DTReadOutMapping * DTReadOutMapping::fullMap | ( | ) | const |
Expand to full map.
Definition at line 473 of file DTReadOutMapping.cc.
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 223 of file DTReadOutMapping.cc.
References DTReadOutGeometryLink::channelId, DTReadOutGeometryLink::dduId, DTReadOutGeometryLink::robId, DTReadOutGeometryLink::rosId, DTReadOutGeometryLink::sectorId, DTReadOutGeometryLink::tdcId, and DTReadOutGeometryLink::wheelId.
int DTReadOutMapping::geometryToReadOut | ( | const DTWireId & | wireId, |
int & | dduId, | ||
int & | rosId, | ||
int & | robId, | ||
int & | tdcId, | ||
int & | channelId | ||
) | const |
Definition at line 203 of file DTReadOutMapping.cc.
References DTReadOutGeometryLink::channelId, DTReadOutGeometryLink::dduId, DTLayerId::layer(), DTReadOutGeometryLink::robId, DTReadOutGeometryLink::rosId, DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superLayer(), DTReadOutGeometryLink::tdcId, 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 400 of file DTReadOutMapping.cc.
References DTReadOutGeometryLink::cellId, DTReadOutGeometryLink::channelId, DTReadOutGeometryLink::dduId, DTBufferTree< Key, Content >::insert(), DTReadOutGeometryLink::layerId, DTReadOutGeometryLink::robId, DTReadOutGeometryLink::rosId, DTReadOutGeometryLink::sectorId, DTReadOutGeometryLink::slId, DTReadOutGeometryLink::stationId, DTReadOutGeometryLink::tdcId, and DTReadOutGeometryLink::wheelId.
Referenced by expandMap(), and DTReadOutMappingHandler::getNewObjects().
const std::string & DTReadOutMapping::mapCellTdc | ( | ) | const |
access parent maps identifiers
Definition at line 370 of file DTReadOutMapping.cc.
Referenced by expandMap().
std::string & DTReadOutMapping::mapCellTdc | ( | ) |
Definition at line 375 of file DTReadOutMapping.cc.
|
private |
|
private |
const std::string & DTReadOutMapping::mapRobRos | ( | ) | const |
std::string & DTReadOutMapping::mapRobRos | ( | ) |
Definition at line 386 of file DTReadOutMapping.cc.
DTReadOutMapping::type DTReadOutMapping::mapType | ( | ) | const |
Definition at line 356 of file DTReadOutMapping.cc.
|
privatedelete |
int DTReadOutMapping::readOutToGeometry | ( | int | dduId, |
int | rosId, | ||
int | robId, | ||
int | tdcId, | ||
int | channelId, | ||
DTWireId & | wireId | ||
) | const |
transform identifiers
Operations
Definition at line 81 of file DTReadOutMapping.cc.
References DTReadOutGeometryLink::cellId, DTReadOutGeometryLink::layerId, DTReadOutGeometryLink::sectorId, DTReadOutGeometryLink::slId, DTReadOutGeometryLink::stationId, mps_update::status, and DTReadOutGeometryLink::wheelId.
Referenced by DTBlockedROChannelsTest::fillChamberMap(), DTROS8Unpacker::interpretRawData(), DTROS25Unpacker::interpretRawData(), DTDataIntegrityTest::readOutToGeometry(), and DTBlockedROChannelsTest::readOutToGeometry().
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 113 of file DTReadOutMapping.cc.
References DTReadOutGeometryLink::cellId, DTReadOutGeometryLink::layerId, DTReadOutGeometryLink::sectorId, DTReadOutGeometryLink::slId, DTReadOutGeometryLink::stationId, and DTReadOutGeometryLink::wheelId.
|
private |
|
friend |
Definition at line 182 of file DTReadOutMapping.h.
|
friend |
Definition at line 182 of file DTReadOutMapping.h.
|
private |
Definition at line 171 of file DTReadOutMapping.h.
|
private |
Definition at line 166 of file DTReadOutMapping.h.
|
private |
Definition at line 173 of file DTReadOutMapping.h.
|
private |
Definition at line 169 of file DTReadOutMapping.h.
Referenced by DTReadOutMapping().
|
private |
Definition at line 172 of file DTReadOutMapping.h.
|
private |
Definition at line 167 of file DTReadOutMapping.h.