Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:34

0001 #ifndef DPGAnalysis_SiStripTools_SiStripTKNumbers_H
0002 #define DPGAnalysis_SiStripTools_SiStripTKNumbers_H
0003 
0004 #include <map>
0005 
0006 class DetId;
0007 
0008 class SiStripTKNumbers {
0009 public:
0010   SiStripTKNumbers();
0011 
0012   int nmodules(const DetId& detid) const;
0013   int nmodules(const int id) const;
0014 
0015   int nfibres(const DetId& detid) const;
0016   int nfibres(const int id) const;
0017 
0018   int napvs(const DetId& detid) const;
0019   int napvs(const int id) const;
0020 
0021   int nstrips(const DetId& detid) const;
0022   int nstrips(const int id) const;
0023 
0024 private:
0025   std::map<int, int> _nmodules;
0026   std::map<int, int> _nfibres;
0027 
0028   static const int _apvsperfibre = 2;
0029   static const int _stripsperapv = 128;
0030 };
0031 
0032 #endif  //  DPGAnalysis_SiStripTools_SiStripTKNumbers_H