test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
monitor.h
Go to the documentation of this file.
1 #ifndef WW_monitor_h
2 #define WW_monitor_h
3 #include <vector>
4 #include <string>
5 #include "wwtypes.h"
6 
7 using namespace HWWFunctions;
8 
9 
11 {
12 public:
13 
14  EventMonitor();
15 
16  struct Entry{
17  unsigned int nevt[5];
19  Entry();
20  };
21 
22  struct hypo_monitor{
23  std::vector<EventMonitor::Entry> counters;
24  void count(HypothesisType type, const char* name, double weight=1.0);
26  };
27 
29 
30 };
31 #endif
type
Definition: HCALResponse.h:21
std::string name
Definition: monitor.h:18
hypo_monitor monitor
Definition: monitor.h:28
std::vector< EventMonitor::Entry > counters
Definition: monitor.h:23
int weight
Definition: histoStyle.py:50