#include <CSCChannelMapperBase.h>
Public Member Functions | |
virtual int | channelFromStrip (const CSCDetId &id, int strip) const =0 |
CSCChannelMapperBase () | |
int | geomAnodeChannel (const CSCDetId &id, int iraw) const |
Alias for geomWireChannel. More... | |
int | geomCathodeChannel (const CSCDetId &id, int iraw) const |
Alias for geomStripChannel. More... | |
virtual int | geomStripChannel (const CSCDetId &id, int iraw) const =0 |
Return geometrical strip channel number for input raw channel number. More... | |
int | geomWireChannel (const CSCDetId &id, int iraw) const |
Return geometrical wiregroup channel number for input raw channel number. More... | |
virtual std::string | name () const |
int | rawAnodeChannel (const CSCDetId &id, int igeom) const |
Alias for rawWireChannel. More... | |
int | rawCathodeChannel (const CSCDetId &id, int igeom) const |
Alias for rawStripChannel. More... | |
virtual CSCDetId | rawCSCDetId (const CSCDetId &id) const =0 |
virtual int | rawStripChannel (const CSCDetId &id, int igeom) const =0 |
Return raw strip channel number for input geometrical channel number. More... | |
int | rawWireChannel (const CSCDetId &id, int igeom) const |
Return raw wiregroup channel number for input geometrical channel number. More... | |
virtual | ~CSCChannelMapperBase () |
Base class for concrete CSCChannelMapper classes that map between raw/online channel numbers (for strips/cathodes and wires/anodes) and offline geometry-oriented channel numbers, in which increasing number corresponds to increasing local x (strips) or y (wire groups) as defined in CMS Note CMS IN-2007/024.
The original of this class, CSCChannelTranslator, was written in the expectation that one day it would be replaced by a full "cable map" stored in conditions data. That has not yet been required and so the mappings are hard-coded.
Concrete derived classes must implement the following:
Beware that if ME1a is ganged,the 48 strips in ME1a are fed to 16 channels, so it is important to distinguish the nomenclatures "strip" vs "channel". It is usually a meaningful distinction!
Also note that the CSCDetId for ME11 and ME1b is identical. Offline we presume ring=1 of station 1 to mean the ME1b strips. We use the identifier ring=4 to denote the ME1a strips.
Definition at line 37 of file CSCChannelMapperBase.h.
|
inline |
Definition at line 40 of file CSCChannelMapperBase.h.
|
inlinevirtual |
Definition at line 41 of file CSCChannelMapperBase.h.
|
pure virtual |
Offline conversion of a strip (geometric labelling) back to channel (At present this just has to convert the 48 strips of ME1A to 16 ganged channels.)
Implemented in CSCChannelMapperStartup, and CSCChannelMapperPostls1.
|
inline |
Alias for geomWireChannel.
Definition at line 61 of file CSCChannelMapperBase.h.
References geomWireChannel().
|
inline |
Alias for geomStripChannel.
Definition at line 59 of file CSCChannelMapperBase.h.
References geomStripChannel().
|
pure virtual |
Return geometrical strip channel number for input raw channel number.
Implemented in CSCChannelMapperStartup, and CSCChannelMapperPostls1.
Referenced by geomCathodeChannel().
|
inline |
Return geometrical wiregroup channel number for input raw channel number.
Definition at line 52 of file CSCChannelMapperBase.h.
Referenced by geomAnodeChannel().
|
inlinevirtual |
Reimplemented in CSCChannelMapperStartup, and CSCChannelMapperPostls1.
Definition at line 43 of file CSCChannelMapperBase.h.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
Alias for rawWireChannel.
Definition at line 57 of file CSCChannelMapperBase.h.
References rawWireChannel().
|
inline |
Alias for rawStripChannel.
Definition at line 55 of file CSCChannelMapperBase.h.
References rawStripChannel().
Construct raw CSCDetId matching supplied offline CSCDetid (At present all this has to do is return the ME11 CSCDetID when supplied with that for ME1A)
Implemented in CSCChannelMapperStartup, and CSCChannelMapperPostls1.
|
pure virtual |
Return raw strip channel number for input geometrical channel number.
Implemented in CSCChannelMapperStartup, and CSCChannelMapperPostls1.
Referenced by rawCathodeChannel().
|
inline |
Return raw wiregroup channel number for input geometrical channel number.
Definition at line 48 of file CSCChannelMapperBase.h.
Referenced by rawAnodeChannel().