test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCChannelMapperBase.h
Go to the documentation of this file.
1 #ifndef CSCChannelMapperBase_H
2 #define CSCChannelMapperBase_H
3 
36 
38  public:
39 
41  virtual ~CSCChannelMapperBase() {}
42 
43  virtual std::string name() const {return "CSCChannelMapperBase";}
44 
46  virtual int rawStripChannel( const CSCDetId& id, int igeom ) const = 0;
48  int rawWireChannel( const CSCDetId& id, int igeom ) const { return igeom; }
50  virtual int geomStripChannel( const CSCDetId& id, int iraw ) const = 0;
52  int geomWireChannel( const CSCDetId& id, int iraw ) const { return iraw; }
53 
55  int rawCathodeChannel( const CSCDetId& id, int igeom ) const { return rawStripChannel( id, igeom );}
57  int rawAnodeChannel( const CSCDetId& id, int igeom ) const { return rawWireChannel( id, igeom );}
59  int geomCathodeChannel( const CSCDetId& id, int iraw ) const { return geomStripChannel( id, iraw );}
61  int geomAnodeChannel( const CSCDetId& id, int iraw ) const { return geomWireChannel( id, iraw );}
62 
65  virtual int channelFromStrip( const CSCDetId& id, int strip ) const = 0;
66 
69  virtual CSCDetId rawCSCDetId( const CSCDetId& id ) const = 0;
70 
71 };
72 
73 #endif
int geomAnodeChannel(const CSCDetId &id, int iraw) const
Alias for geomWireChannel.
virtual int channelFromStrip(const CSCDetId &id, int strip) const =0
virtual CSCDetId rawCSCDetId(const CSCDetId &id) const =0
virtual int geomStripChannel(const CSCDetId &id, int iraw) const =0
Return geometrical strip channel number for input raw channel number.
int rawWireChannel(const CSCDetId &id, int igeom) const
Return raw wiregroup channel number for input geometrical channel number.
virtual std::string name() const
virtual int rawStripChannel(const CSCDetId &id, int igeom) const =0
Return raw strip channel number for input geometrical channel number.
int rawAnodeChannel(const CSCDetId &id, int igeom) const
Alias for rawWireChannel.
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 geomCathodeChannel(const CSCDetId &id, int iraw) const
Alias for geomStripChannel.