CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
68 #endif
int geomCathodeChannel(const CSCDetId &id, int iraw) const
Alias for geomStripChannel.
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
int rawWireChannel(const CSCDetId &id, int igeom) const
Return raw wiregroup channel number for input geometrical channel number.
int geomWireChannel(const CSCDetId &id, int iraw) const
Return geometrical wiregroup channel number for input raw channel number.
int rawCathodeChannel(const CSCDetId &id, int igeom) const
Alias for rawStripChannel.
int geomStripChannel(const CSCDetId &id, int iraw) const
Return geometrical strip channel number for input raw channel number.
int channelFromStrip(const CSCDetId &id, int strip) const
int rawAnodeChannel(const CSCDetId &id, int igeom) const
Alias for rawWireChannel.
int rawStripChannel(const CSCDetId &id, int igeom) const
Return raw strip channel number for input geometrical channel number.
CSCDetId rawCSCDetId(const CSCDetId &id) const
int geomAnodeChannel(const CSCDetId &id, int iraw) const
Alias for geomWireChannel.