CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiPixelDetSummary.h
Go to the documentation of this file.
1 #ifndef SiPixelDetSummary_h
2 #define SiPixelDetSummary_h
3 
5 
6 #include <sstream>
7 #include <map>
8 #include <cmath>
9 #include <iomanip>
10 #include <iostream>
11 
26 public:
27  SiPixelDetSummary(int verbose = 0);
28 
29  void add(const DetId &detid, const float &value);
30  void add(const DetId &detid);
31 
32  void print(std::stringstream &ss, const bool mean = true) const;
33 
34  std::map<int, int> getCounts() { return fCountMap; }
35 
36 protected:
37  std::map<int, double> fMeanMap;
38  std::map<int, double> fRmsMap;
39  std::map<int, int> fCountMap;
41  int fVerbose;
42 };
43 
44 #endif
void add(const DetId &detid, const float &value)
std::map< int, double > fMeanMap
static constexpr int verbose
void print(std::stringstream &ss, const bool mean=true) const
SiPixelDetSummary(int verbose=0)
Definition: DetId.h:17
std::map< int, double > fRmsMap
std::map< int, int > fCountMap
std::map< int, int > getCounts()