Go to the documentation of this file.00001 #include "CalibMuon/CSCCalibration/interface/CSCChannelMapperPostls1.h"
00002
00003 int CSCChannelMapperPostls1::rawStripChannel( const CSCDetId& id, int igeo ) const {
00004
00005
00006
00007
00008 int iraw = igeo;
00009
00010 bool zplus = (id.endcap()==1);
00011
00012 bool me1a = (id.station()==1) && (id.ring()==4);
00013 bool me1b = (id.station()==1) && (id.ring()==1);
00014
00015 if ( me1a && zplus ) { iraw = 49 - iraw; }
00016 if ( me1b && !zplus) { iraw = 65 - iraw; }
00017
00018 return iraw;
00019 }
00020
00021
00022 int CSCChannelMapperPostls1::geomStripChannel( const CSCDetId& id, int iraw ) const {
00023
00024
00025
00026
00027 int igeo = iraw;
00028
00029 bool zplus = (id.endcap()==1);
00030 bool me1a = (id.station()==1) && (id.ring()==4);
00031 bool me1b = (id.station()==1) && (id.ring()==1);
00032
00033 if ( me1a && zplus ) { igeo = 49 - igeo; }
00034 if ( me1b && !zplus) { igeo = 65 - igeo; }
00035
00036 return igeo;
00037 }
00038
00039 int CSCChannelMapperPostls1::channelFromStrip( const CSCDetId& id, int strip ) const {
00040
00041
00042 int ichan = strip;
00043 return ichan;
00044 }
00045
00046 CSCDetId CSCChannelMapperPostls1::rawCSCDetId( const CSCDetId& id ) const {
00047
00048
00049 CSCDetId idraw( id );
00050 return idraw;
00051 }