CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiStripPI::Monitor1D Class Reference

#include <SiStripPayloadInspectorHelper.h>

Public Member Functions

void Fill (int apv, int det, double vx)
 
void flush ()
 
TH1F & getHist ()
 
TH1F & hist ()
 
 Monitor1D (OpMode mode, const char *name, const char *title, int nbinsx, double xmin, double xmax)
 
 Monitor1D ()
 
 ~Monitor1D ()
 

Private Attributes

Entry entry_
 
OpMode mode_
 
TH1F obj_
 
int prev_apv_ = 0
 
int prev_det_ = 0
 

Detailed Description

Definition at line 68 of file SiStripPayloadInspectorHelper.h.

Constructor & Destructor Documentation

◆ Monitor1D() [1/2]

SiStripPI::Monitor1D::Monitor1D ( OpMode  mode,
const char *  name,
const char *  title,
int  nbinsx,
double  xmin,
double  xmax 
)
inline

◆ Monitor1D() [2/2]

SiStripPI::Monitor1D::Monitor1D ( )
inline

◆ ~Monitor1D()

SiStripPI::Monitor1D::~Monitor1D ( )
inline

Definition at line 75 of file SiStripPayloadInspectorHelper.h.

75 {}

Member Function Documentation

◆ Fill()

void SiStripPI::Monitor1D::Fill ( int  apv,
int  det,
double  vx 
)
inline

◆ flush()

void SiStripPI::Monitor1D::flush ( )
inline

◆ getHist()

TH1F& SiStripPI::Monitor1D::getHist ( )
inline

◆ hist()

TH1F& SiStripPI::Monitor1D::hist ( )
inline

Definition at line 104 of file SiStripPayloadInspectorHelper.h.

References flush(), and obj_.

104  {
105  flush();
106  return obj_;
107  }

Member Data Documentation

◆ entry_

Entry SiStripPI::Monitor1D::entry_
private

Definition at line 113 of file SiStripPayloadInspectorHelper.h.

Referenced by Fill(), and flush().

◆ mode_

OpMode SiStripPI::Monitor1D::mode_
private

Definition at line 114 of file SiStripPayloadInspectorHelper.h.

Referenced by Fill().

◆ obj_

TH1F SiStripPI::Monitor1D::obj_
private

Definition at line 115 of file SiStripPayloadInspectorHelper.h.

Referenced by flush(), getHist(), and hist().

◆ prev_apv_

int SiStripPI::Monitor1D::prev_apv_ = 0
private

Definition at line 112 of file SiStripPayloadInspectorHelper.h.

Referenced by Fill().

◆ prev_det_

int SiStripPI::Monitor1D::prev_det_ = 0
private

Definition at line 112 of file SiStripPayloadInspectorHelper.h.

Referenced by Fill().