CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMChannel.h
Go to the documentation of this file.
1 #ifndef DQMSERVICES_CORE_DQM_CHANNEL_H
2 # define DQMSERVICES_CORE_DQM_CHANNEL_H
3 
4 struct DQMChannel
5 {
6  int binx; //< bin # in x-axis (or bin # for 1D histogram)
7  int biny; //< bin # in y-axis (for 2D or 3D histograms)
8  int binz; //< bin # in z-axis (for 3D histograms)
9  float content; //< bin content
10  float RMS; //< RMS of bin content
11 
12  int getBin(void) { return getBinX(); }
13  int getBinX(void) { return binx; }
14  int getBinY(void) { return biny; }
15  int getBinZ(void) { return binz; }
16  float getContents(void) { return content; }
17  float getRMS(void) { return RMS; }
18 
19  DQMChannel(int bx, int by, int bz, float data, float rms)
20  {
21  binx = bx;
22  biny = by;
23  binz = bz;
24  content = data;
25  RMS = rms;
26  }
27 
28  DQMChannel(void)
29  {
30  binx = 0;
31  biny = 0;
32  binz = 0;
33  content = 0;
34  RMS = 0;
35  }
36 };
37 
38 #endif // DQMSERVICES_CORE_DQM_CHANNEL_H
float content
Definition: DQMChannel.h:9
DQMChannel(int bx, int by, int bz, float data, float rms)
Definition: DQMChannel.h:19
float getContents(void)
Definition: DQMChannel.h:16
int getBinY(void)
Definition: DQMChannel.h:14
int getBinZ(void)
Definition: DQMChannel.h:15
int biny
Definition: DQMChannel.h:7
int getBinX(void)
Definition: DQMChannel.h:13
int getBin(void)
Definition: DQMChannel.h:12
int binx
Definition: DQMChannel.h:6
int binz
Definition: DQMChannel.h:8
DQMChannel(void)
Definition: DQMChannel.h:28
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
float getRMS(void)
Definition: DQMChannel.h:17
float RMS
Definition: DQMChannel.h:10