#include <CSCChannelMapperStartup.h>
Public Member Functions | |
int | channelFromStrip (const CSCDetId &id, int strip) const override |
CSCChannelMapperStartup () | |
int | geomStripChannel (const CSCDetId &id, int iraw) const override |
Return geometrical strip channel number for input raw channel number. More... | |
std::string | name () const override |
CSCDetId | rawCSCDetId (const CSCDetId &id) const override |
int | rawStripChannel (const CSCDetId &id, int igeom) const override |
Return raw strip channel number for input geometrical channel number. More... | |
~CSCChannelMapperStartup () override | |
Public Member Functions inherited from CSCChannelMapperBase | |
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... | |
int | geomWireChannel (const CSCDetId &id, int iraw) const |
Return geometrical wiregroup channel number for input raw channel number. More... | |
int | rawAnodeChannel (const CSCDetId &id, int igeom) const |
Alias for rawWireChannel. More... | |
int | rawCathodeChannel (const CSCDetId &id, int igeom) const |
Alias for rawStripChannel. More... | |
int | rawWireChannel (const CSCDetId &id, int igeom) const |
Return raw wiregroup channel number for input geometrical channel number. More... | |
virtual | ~CSCChannelMapperBase () |
A concrete CSCChannelMapper class to 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.
This version is for CMS Startup (2008-2013)
Since 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 34 of file CSCChannelMapperStartup.h.
|
inline |
Definition at line 36 of file CSCChannelMapperStartup.h.
|
inlineoverride |
Definition at line 37 of file CSCChannelMapperStartup.h.
|
overridevirtual |
Offline conversion of a strip (geometric labelling) back to channel (Startup: convert the 48 strips of ME1A to 16 ganged channels.)
Implements CSCChannelMapperBase.
Definition at line 52 of file CSCChannelMapperStartup.cc.
References relativeConstraints::ring, and digitizers_cfi::strip.
Referenced by name().
|
overridevirtual |
Return geometrical strip channel number for input raw channel number.
Implements CSCChannelMapperBase.
Definition at line 27 of file CSCChannelMapperStartup.cc.
References relativeConstraints::ring, and SurfaceOrientation::zplus.
Referenced by name().
|
inlineoverridevirtual |
Reimplemented from CSCChannelMapperBase.
Definition at line 39 of file CSCChannelMapperStartup.h.
References channelFromStrip(), geomStripChannel(), rawCSCDetId(), rawStripChannel(), and digitizers_cfi::strip.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
Construct raw CSCDetId matching supplied offline CSCDetid (Startup: return the ME11 CSCDetID when supplied with that for ME1A)
Implements CSCChannelMapperBase.
Definition at line 64 of file CSCChannelMapperStartup.cc.
References relativeConstraints::chamber, makeMuonMisalignmentScenario::endcap, relativeConstraints::ring, and relativeConstraints::station.
Referenced by name().
|
overridevirtual |
Return raw strip channel number for input geometrical channel number.
Implements CSCChannelMapperBase.
Definition at line 3 of file CSCChannelMapperStartup.cc.
References relativeConstraints::ring, and SurfaceOrientation::zplus.
Referenced by name().