CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Geometry/CSCGeometry/src/CSCUngangedStripTopology.h

Go to the documentation of this file.
00001 #ifndef OFFSET_RADIAL_STRIP_TOPOLOGY_H
00002 #define OFFSET_RADIAL_STRIP_TOPOLOGY_H
00003 
00011 #include "Geometry/CSCGeometry/interface/CSCStripTopology.h"
00012 
00013 class CSCUngangedStripTopology : public CSCStripTopology
00014 {
00015 public:
00016 
00017   CSCUngangedStripTopology( int numberOfStrips, float stripPhiPitch,
00018        float detectorHeight, float whereStripsMeet, float stripOffset, float yCentre):
00019     CSCStripTopology( numberOfStrips, stripPhiPitch, 
00020        detectorHeight, whereStripsMeet, stripOffset, yCentre ){}
00021 
00022   ~CSCUngangedStripTopology(){}
00023 
00028   int channel(const LocalPoint& lp) const {
00029     return RadialStripTopology::channel(lp) + 1;
00030   }
00031 
00036   int channel(int strip) const {return strip;}
00037 
00044   CSCStripTopology* clone() const {
00045     return new CSCUngangedStripTopology(*this);
00046   }
00047 
00051   std::ostream& put ( std::ostream& os ) const {
00052     return os << "CSCUngangedStripTopology";
00053   }
00054 };
00055 
00056 #endif
00057