CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripTKNumbers.h
Go to the documentation of this file.
1 #ifndef DPGAnalysis_SiStripTools_SiStripTKNumbers_H
2 #define DPGAnalysis_SiStripTools_SiStripTKNumbers_H
3 
4 #include <map>
5 
6 class SiStripDetId;
7 
9 
10  public:
11 
13 
14  int nmodules(const SiStripDetId& detid) const;
15  int nmodules(const int id) const;
16 
17  int nfibres(const SiStripDetId& detid) const;
18  int nfibres(const int id) const;
19 
20  int napvs(const SiStripDetId& detid) const;
21  int napvs(const int id) const;
22 
23  int nstrips(const SiStripDetId& detid) const;
24  int nstrips(const int id) const;
25 
26  private:
27 
28  std::map<int, int> _nmodules;
29  std::map<int, int> _nfibres;
30 
31 
32  static const int _apvsperfibre = 2;
33  static const int _stripsperapv = 128;
34 
35 };
36 
37 #endif // DPGAnalysis_SiStripTools_SiStripTKNumbers_H
static const int _apvsperfibre
int napvs(const SiStripDetId &detid) const
int nstrips(const SiStripDetId &detid) const
int nfibres(const SiStripDetId &detid) const
static const int _stripsperapv
std::map< int, int > _nmodules
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
int nmodules(const SiStripDetId &detid) const
std::map< int, int > _nfibres