SiStripTKNumbers

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#ifndef DPGAnalysis_SiStripTools_SiStripTKNumbers_H
#define DPGAnalysis_SiStripTools_SiStripTKNumbers_H

#include <map>

class DetId;

class SiStripTKNumbers {
public:
  SiStripTKNumbers();

  int nmodules(const DetId& detid) const;
  int nmodules(const int id) const;

  int nfibres(const DetId& detid) const;
  int nfibres(const int id) const;

  int napvs(const DetId& detid) const;
  int napvs(const int id) const;

  int nstrips(const DetId& detid) const;
  int nstrips(const int id) const;

private:
  std::map<int, int> _nmodules;
  std::map<int, int> _nfibres;

  static const int _apvsperfibre = 2;
  static const int _stripsperapv = 128;
};

#endif  //  DPGAnalysis_SiStripTools_SiStripTKNumbers_H