JAPAn
Just Another Parity Analyzer
|
Mix-in class providing histogram management functionality. More...
#include <MQwHistograms.h>
Public Member Functions | |
void | ShareHistograms (const MQwHistograms *source) |
Share histogram pointers between objects. | |
Protected Member Functions | |
MQwHistograms () | |
Default constructor. | |
MQwHistograms (const MQwHistograms &source) | |
Copy constructor. | |
virtual | ~MQwHistograms () |
Virtual destructor. | |
MQwHistograms & | operator= (const MQwHistograms &value) |
void | Fill_Pointer (TH1_ptr hist_ptr, Double_t value) |
void | AddHistogram (TH1 *h) |
Register a histogram. | |
Protected Attributes | |
std::vector< TH1_ptr > | fHistograms |
Histograms associated with this data element. | |
Private Types | |
typedef TH1 * | TH1_ptr |
Regular pointers for the histograms. | |
Mix-in class providing histogram management functionality.
Provides a common interface for data elements that need to create and fill ROOT histograms. Manages histogram pointers and provides utilities for histogram registration and sharing between objects.
Definition at line 26 of file MQwHistograms.h.
|
private |
Regular pointers for the histograms.
Definition at line 29 of file MQwHistograms.h.
|
inlineprotected |
Default constructor.
Definition at line 38 of file MQwHistograms.h.
Referenced by MQwHistograms(), operator=(), ShareHistograms(), VQwDataElement::VQwDataElement(), VQwDataElement::VQwDataElement(), VQwSubsystem::VQwSubsystem(), and VQwSubsystem::VQwSubsystem().
|
inlineprotected |
Copy constructor.
Definition at line 40 of file MQwHistograms.h.
References fHistograms, and MQwHistograms().
|
inlineprotectedvirtual |
|
inlineprotected |
Register a histogram.
Definition at line 66 of file MQwHistograms.h.
References fHistograms.
|
inlineprotected |
Definition at line 54 of file MQwHistograms.h.
|
inlineprotected |
Arithmetic assignment operator: Should only copy event-based data. In this particular class, there is no event-based data.
Definition at line 47 of file MQwHistograms.h.
References MQwHistograms().
Referenced by VQwDataElement::operator=().
|
inline |
Share histogram pointers between objects.
Definition at line 73 of file MQwHistograms.h.
References fHistograms, and MQwHistograms().
|
protected |
Histograms associated with this data element.
Definition at line 62 of file MQwHistograms.h.
Referenced by AddHistogram(), QwADC18_Channel::ConstructHistograms(), QwHelicity::ConstructHistograms(), QwMollerADC_Channel::ConstructHistograms(), QwPMT_Channel::ConstructHistograms(), QwVQWK_Channel::ConstructHistograms(), VQwScaler_Channel::ConstructHistograms(), QwADC18_Channel::FillHistograms(), QwBeamMod::FillHistograms(), QwHelicity::FillHistograms(), QwMollerADC_Channel::FillHistograms(), QwPMT_Channel::FillHistograms(), QwVQWK_Channel::FillHistograms(), VQwScaler_Channel::FillHistograms(), MQwHistograms(), and ShareHistograms().