CMS 3D CMS Logo

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() { return getBinX(); }
13  int getBinX() { return binx; }
14  int getBinY() { return biny; }
15  int getBinZ() { return binz; }
16  float getContents() { return content; }
17  float getRMS() { 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 
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
int getBinY()
Definition: DQMChannel.h:14
float getContents()
Definition: DQMChannel.h:16
DQMChannel(int bx, int by, int bz, float data, float rms)
Definition: DQMChannel.h:19
int getBin()
Definition: DQMChannel.h:12
int biny
Definition: DQMChannel.h:7
int binx
Definition: DQMChannel.h:6
int binz
Definition: DQMChannel.h:8
float getRMS()
Definition: DQMChannel.h:17
int getBinX()
Definition: DQMChannel.h:13
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
float RMS
Definition: DQMChannel.h:10
int getBinZ()
Definition: DQMChannel.h:15