1 #ifndef SiStripDetSummary_h
2 #define SiStripDetSummary_h
42 unsigned int layers[] = {4, 6, 9, 3};
43 unsigned int stereo[] = {2, 2, 9, 3};
45 for(
unsigned int subDet = 0; subDet < 4; ++subDet ) {
47 for(
unsigned int layer = 1; layer <= layers[subDet]; ++layer ) {
48 valueMap_[1000*(subDet+1)+layer*10] = initValues;
49 if( layer <= stereo[subDet] )
valueMap_[1000*(subDet+1)+layer*10+1] = initValues;
67 void print(std::stringstream& ss,
const bool mean =
true)
const;
std::map< unsigned int, Values > getCounts()
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
std::map< unsigned int, Values > valueMap_
void print(std::stringstream &ss, const bool mean=true) const
void add(const DetId &detid)
Used to compute the number of entries divided by subdetector, layer and mono/stereo.
void add(const DetId &detid, const float &value)
Used to compute the mean value of the value variable divided by subdetector, layer and mono/stereo...