CMS 3D CMS Logo

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 DetId;
7 
9 public:
11 
12  int nmodules(const DetId& detid) const;
13  int nmodules(const int id) const;
14 
15  int nfibres(const DetId& detid) const;
16  int nfibres(const int id) const;
17 
18  int napvs(const DetId& detid) const;
19  int napvs(const int id) const;
20 
21  int nstrips(const DetId& detid) const;
22  int nstrips(const int id) const;
23 
24 private:
25  std::map<int, int> _nmodules;
26  std::map<int, int> _nfibres;
27 
28  static const int _apvsperfibre = 2;
29  static const int _stripsperapv = 128;
30 };
31 
32 #endif // DPGAnalysis_SiStripTools_SiStripTKNumbers_H
SiStripTKNumbers::_stripsperapv
static const int _stripsperapv
Definition: SiStripTKNumbers.h:29
SiStripTKNumbers::nfibres
int nfibres(const DetId &detid) const
Definition: SiStripTKNumbers.cc:62
SiStripTKNumbers::_nmodules
std::map< int, int > _nmodules
Definition: SiStripTKNumbers.h:25
DetId
Definition: DetId.h:17
SiStripTKNumbers::_nfibres
std::map< int, int > _nfibres
Definition: SiStripTKNumbers.h:26
SiStripTKNumbers::napvs
int napvs(const DetId &detid) const
Definition: SiStripTKNumbers.cc:77
SiStripTKNumbers::nstrips
int nstrips(const DetId &detid) const
Definition: SiStripTKNumbers.cc:81
SiStripTKNumbers::_apvsperfibre
static const int _apvsperfibre
Definition: SiStripTKNumbers.h:28
SiStripTKNumbers::nmodules
int nmodules(const DetId &detid) const
Definition: SiStripTKNumbers.cc:47
SiStripTKNumbers::SiStripTKNumbers
SiStripTKNumbers()
Definition: SiStripTKNumbers.cc:7
SiStripTKNumbers
Definition: SiStripTKNumbers.h:8