#include <SiStripTKNumbers.h>
Public Member Functions | |
int | napvs (const SiStripDetId &detid) const |
int | napvs (const int id) const |
int | nfibres (const int id) const |
int | nfibres (const SiStripDetId &detid) const |
int | nmodules (const SiStripDetId &detid) const |
int | nmodules (const int id) const |
int | nstrips (const SiStripDetId &detid) const |
int | nstrips (const int id) const |
SiStripTKNumbers () | |
Private Attributes | |
std::map< int, int > | _nfibres |
std::map< int, int > | _nmodules |
Static Private Attributes | |
static const int | _apvsperfibre = 2 |
static const int | _stripsperapv = 128 |
Definition at line 8 of file SiStripTKNumbers.h.
SiStripTKNumbers::SiStripTKNumbers | ( | ) |
Definition at line 8 of file SiStripTKNumbers.cc.
References _nfibres, _nmodules, DetId::rawId(), DetId::subdetId(), SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, and DetId::Tracker.
{ SiStripDetId tk(DetId::Tracker,0); _nmodules[tk.rawId()] = (3540-816)+816+5208+6400; _nfibres[tk.rawId()] = (9192-2208)+2208+12906+15104; _nmodules[tk.subdetId()] = _nmodules[tk.rawId()]; _nfibres[tk.subdetId()] = _nfibres[tk.rawId()]; SiStripDetId tib(DetId::Tracker,SiStripDetId::TIB); _nmodules[tib.rawId()] = 3540-816; _nfibres[tib.rawId()] = 9192-2208; _nmodules[tib.subdetId()] = _nmodules[tib.rawId()]; _nfibres[tib.subdetId()] = _nfibres[tib.rawId()]; SiStripDetId tid(DetId::Tracker,SiStripDetId::TID); _nmodules[tid.rawId()] = 816; _nfibres[tid.rawId()] = 2208; _nmodules[tid.subdetId()] = _nmodules[tid.rawId()]; _nfibres[tid.subdetId()] = _nfibres[tid.rawId()]; SiStripDetId tob(DetId::Tracker,SiStripDetId::TOB); _nmodules[tob.rawId()] = 5208; _nfibres[tob.rawId()] = 12906; _nmodules[tob.subdetId()] = _nmodules[tob.rawId()]; _nfibres[tob.subdetId()] = _nfibres[tob.rawId()]; SiStripDetId tec(DetId::Tracker,SiStripDetId::TEC); _nmodules[tec.rawId()] = 6400; _nfibres[tec.rawId()] = 15104; _nmodules[tec.subdetId()] = _nmodules[tec.rawId()]; _nfibres[tec.subdetId()] = _nfibres[tec.rawId()]; TECDetId tecp(1,0,0,0,0,0,0); _nmodules[tecp.rawId()] = 3200; _nfibres[tecp.rawId()] = 7552; TECDetId tecm(2,0,0,0,0,0,0); _nmodules[tecm.rawId()] = 3200; _nfibres[tecm.rawId()] = 7552; }
int SiStripTKNumbers::napvs | ( | const SiStripDetId & | detid | ) | const |
Definition at line 80 of file SiStripTKNumbers.cc.
References _apvsperfibre, and nfibres().
{ return nfibres(detid)*_apvsperfibre; }
int SiStripTKNumbers::napvs | ( | const int | id | ) | const |
Definition at line 85 of file SiStripTKNumbers.cc.
References _apvsperfibre, and nfibres().
{ return nfibres(id)*_apvsperfibre; }
int SiStripTKNumbers::nfibres | ( | const SiStripDetId & | detid | ) | const |
Definition at line 65 of file SiStripTKNumbers.cc.
References _nfibres, and DetId::subdetId().
int SiStripTKNumbers::nfibres | ( | const int | id | ) | const |
int SiStripTKNumbers::nmodules | ( | const int | id | ) | const |
int SiStripTKNumbers::nmodules | ( | const SiStripDetId & | detid | ) | const |
Definition at line 50 of file SiStripTKNumbers.cc.
References _nmodules, and DetId::subdetId().
int SiStripTKNumbers::nstrips | ( | const int | id | ) | const |
Definition at line 95 of file SiStripTKNumbers.cc.
References _apvsperfibre, _stripsperapv, and nfibres().
{ return nfibres(id)*_apvsperfibre*_stripsperapv; }
int SiStripTKNumbers::nstrips | ( | const SiStripDetId & | detid | ) | const |
Definition at line 90 of file SiStripTKNumbers.cc.
References _apvsperfibre, _stripsperapv, and nfibres().
Referenced by DigiVertexCorrHistogramMaker::book(), DigiBXCorrHistogramMaker< T >::book(), DigiLumiCorrHistogramMaker::book(), DigiInvestigatorHistogramMaker::book(), DigiPileupCorrHistogramMaker::book(), and MultiplicityTimeCorrelations::MultiplicityTimeCorrelations().
{ return nfibres(detid)*_apvsperfibre*_stripsperapv; }
const int SiStripTKNumbers::_apvsperfibre = 2 [static, private] |
Definition at line 32 of file SiStripTKNumbers.h.
std::map<int, int> SiStripTKNumbers::_nfibres [private] |
Definition at line 29 of file SiStripTKNumbers.h.
Referenced by nfibres(), and SiStripTKNumbers().
std::map<int, int> SiStripTKNumbers::_nmodules [private] |
Definition at line 28 of file SiStripTKNumbers.h.
Referenced by nmodules(), and SiStripTKNumbers().
const int SiStripTKNumbers::_stripsperapv = 128 [static, private] |
Definition at line 33 of file SiStripTKNumbers.h.
Referenced by nstrips().