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
CSCChannelTranslator::rawStripChannel
int rawStripChannel(const CSCDetId &id, int igeom) const
Return raw strip channel number for input geometrical channel number.
Definition: CSCChannelTranslator.cc:3
CSCChannelTranslator::geomAnodeChannel
int geomAnodeChannel(const CSCDetId &id, int iraw) const
Alias for geomWireChannel.
Definition: CSCChannelTranslator.h:56
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
CSCChannelTranslator::channelFromStrip
int channelFromStrip(const CSCDetId &id, int strip) const
Definition: CSCChannelTranslator.cc:52
CSCChannelTranslator::rawCSCDetId
CSCDetId rawCSCDetId(const CSCDetId &id) const
Definition: CSCChannelTranslator.cc:63
CSCChannelTranslator::rawCathodeChannel
int rawCathodeChannel(const CSCDetId &id, int igeom) const
Alias for rawStripChannel.
Definition: CSCChannelTranslator.h:50
CSCChannelTranslator::~CSCChannelTranslator
~CSCChannelTranslator()
Definition: CSCChannelTranslator.h:38
CSCChannelTranslator::geomWireChannel
int geomWireChannel(const CSCDetId &id, int iraw) const
Return geometrical wiregroup channel number for input raw channel number.
Definition: CSCChannelTranslator.h:47
CSCDetId.h
CSCChannelTranslator::geomCathodeChannel
int geomCathodeChannel(const CSCDetId &id, int iraw) const
Alias for geomStripChannel.
Definition: CSCChannelTranslator.h:54
CSCChannelTranslator::geomStripChannel
int geomStripChannel(const CSCDetId &id, int iraw) const
Return geometrical strip channel number for input raw channel number.
Definition: CSCChannelTranslator.cc:27
CSCChannelTranslator::rawWireChannel
int rawWireChannel(const CSCDetId &id, int igeom) const
Return raw wiregroup channel number for input geometrical channel number.
Definition: CSCChannelTranslator.h:43
CSCChannelTranslator::CSCChannelTranslator
CSCChannelTranslator()
Definition: CSCChannelTranslator.h:37
CSCDetId
Definition: CSCDetId.h:26
CSCChannelTranslator::rawAnodeChannel
int rawAnodeChannel(const CSCDetId &id, int igeom) const
Alias for rawWireChannel.
Definition: CSCChannelTranslator.h:52
CSCChannelTranslator
Definition: CSCChannelTranslator.h:35