CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DPGAnalysis/SiStripTools/interface/SiStripTKNumbers.h

Go to the documentation of this file.
00001 #ifndef DPGAnalysis_SiStripTools_SiStripTKNumbers_H
00002 #define DPGAnalysis_SiStripTools_SiStripTKNumbers_H
00003 
00004 #include <map>
00005 
00006 class SiStripDetId;
00007 
00008 class SiStripTKNumbers {
00009 
00010  public:
00011 
00012   SiStripTKNumbers();
00013 
00014   int  nmodules(const SiStripDetId& detid) const;
00015   int  nmodules(const int id) const;
00016 
00017   int  nfibres(const SiStripDetId& detid) const;
00018   int  nfibres(const int id) const;
00019 
00020   int  napvs(const SiStripDetId& detid) const;
00021   int  napvs(const int id) const;
00022 
00023   int  nstrips(const SiStripDetId& detid) const;
00024   int  nstrips(const int id) const;
00025   
00026  private:
00027   
00028   std::map<int, int> _nmodules;
00029   std::map<int, int> _nfibres;
00030   
00031   
00032   static const int _apvsperfibre = 2;
00033   static const int _stripsperapv = 128;
00034   
00035 };
00036 
00037 #endif  //  DPGAnalysis_SiStripTools_SiStripTKNumbers_H