CMS 3D CMS Logo

CSCChannelTranslator.h
Go to the documentation of this file.
1 #ifndef CSCChannelTranslator_h
2 #define CSCChannelTranslator_h
3 
34 
36 public:
39 
41  int rawStripChannel(const CSCDetId& id, int igeom) const;
43  int rawWireChannel(const CSCDetId& id, int igeom) const { return igeom; }
45  int geomStripChannel(const CSCDetId& id, int iraw) const;
47  int geomWireChannel(const CSCDetId& id, int iraw) const { return iraw; }
48 
50  int rawCathodeChannel(const CSCDetId& id, int igeom) const { return rawStripChannel(id, igeom); }
52  int rawAnodeChannel(const CSCDetId& id, int igeom) const { return rawWireChannel(id, igeom); }
54  int geomCathodeChannel(const CSCDetId& id, int iraw) const { return geomStripChannel(id, iraw); }
56  int geomAnodeChannel(const CSCDetId& id, int iraw) const { return geomWireChannel(id, iraw); }
57 
60  int channelFromStrip(const CSCDetId& id, int strip) const;
61 
64  CSCDetId rawCSCDetId(const CSCDetId& id) const;
65 };
66 
67 #endif
int geomAnodeChannel(const CSCDetId &id, int iraw) const
Alias for geomWireChannel.
int rawWireChannel(const CSCDetId &id, int igeom) const
Return raw wiregroup channel number for input geometrical channel number.
int rawStripChannel(const CSCDetId &id, int igeom) const
Return raw strip channel number for input geometrical channel number.
int rawAnodeChannel(const CSCDetId &id, int igeom) const
Alias for rawWireChannel.
int geomCathodeChannel(const CSCDetId &id, int iraw) const
Alias for geomStripChannel.
int channelFromStrip(const CSCDetId &id, int strip) const
CSCDetId rawCSCDetId(const CSCDetId &id) const
int geomWireChannel(const CSCDetId &id, int iraw) const
Return geometrical wiregroup channel number for input raw channel number.
int geomStripChannel(const CSCDetId &id, int iraw) const
Return geometrical strip channel number for input raw channel number.
int rawCathodeChannel(const CSCDetId &id, int igeom) const
Alias for rawStripChannel.