QwAnalysis
|
#include <QwPromptSummary.h>
Inherits TObject.
Public Member Functions | |
QwPromptSummary () | |
QwPromptSummary (Int_t run_number, Int_t runlet_number) | |
virtual | ~QwPromptSummary () |
void | SetRunNumber (const Int_t in) |
const Int_t | GetRunNumber () |
void | SetRunletNumber (const Int_t in) |
const Int_t | GetRunletNumber () |
void | AddElement (PromptSummaryElement *in) |
PromptSummaryElement * | GetElementByName (TString name) |
void | FillDataInElement (TString name, Double_t yield, Double_t yield_err, Double_t yield_width, TString yield_unit, Double_t asym_diff, Double_t asym_diff_err, Double_t asym_diff_width, TString asym_diff_unit) |
void | FillYieldToElement (TString name, Double_t yield, Double_t yield_error, Double_t yield_width, TString yield_unit) |
void | FillAsymDiffToElement (TString name, Double_t asym_diff, Double_t asym_diff_err, Double_t asym_diff_width, TString asym_diff_unit) |
void | FillDoubleDifference (TString type, TString name1, TString name2) |
Int_t | GetSize () const |
Int_t | Size () const |
Int_t | HowManyElements () const |
void | PrintCSV () |
void | PrintTextSummary () |
Data Fields | |
Int_t | fNElements |
TObjArray * | fElementList |
Private Member Functions | |
TString | PrintTextSummaryHeader () |
TString | PrintTextSummaryTailer () |
TString | PrintCSVHeader () |
void | SetupElementList () |
ClassDef (QwPromptSummary, 0) | |
Private Attributes | |
Int_t | fRunNumber |
Int_t | fRunletNumber |
Bool_t | fLocalDebug |
Definition at line 121 of file QwPromptSummary.h.
QwPromptSummary::QwPromptSummary | ( | ) |
Definition at line 155 of file QwPromptSummary.cc.
References fElementList, fLocalDebug, fNElements, fRunletNumber, fRunNumber, and SetupElementList().
QwPromptSummary::QwPromptSummary | ( | Int_t | run_number, |
Int_t | runlet_number | ||
) |
Definition at line 173 of file QwPromptSummary.cc.
References fElementList, fLocalDebug, fNElements, fRunletNumber, fRunNumber, and SetupElementList().
|
virtual |
void QwPromptSummary::AddElement | ( | PromptSummaryElement * | in | ) |
Definition at line 300 of file QwPromptSummary.cc.
References fElementList, fLocalDebug, and fNElements.
Referenced by SetupElementList().
|
private |
void QwPromptSummary::FillAsymDiffToElement | ( | TString | name, |
Double_t | asym_diff, | ||
Double_t | asym_diff_err, | ||
Double_t | asym_diff_width, | ||
TString | asym_diff_unit | ||
) |
Definition at line 443 of file QwPromptSummary.cc.
References fLocalDebug, GetElementByName(), PromptSummaryElement::SetAsymmetry(), PromptSummaryElement::SetAsymmetryError(), and PromptSummaryElement::SetAsymmetryWidth().
void QwPromptSummary::FillDataInElement | ( | TString | name, |
Double_t | yield, | ||
Double_t | yield_err, | ||
Double_t | yield_width, | ||
TString | yield_unit, | ||
Double_t | asym_diff, | ||
Double_t | asym_diff_err, | ||
Double_t | asym_diff_width, | ||
TString | asym_diff_unit | ||
) |
Definition at line 387 of file QwPromptSummary.cc.
References PromptSummaryElement::FillData(), fLocalDebug, and GetElementByName().
void QwPromptSummary::FillDoubleDifference | ( | TString | type, |
TString | name1, | ||
TString | name2 | ||
) |
Definition at line 470 of file QwPromptSummary.cc.
References fLocalDebug, and GetElementByName().
Referenced by QwBeamLine::WritePromptSummary().
void QwPromptSummary::FillYieldToElement | ( | TString | name, |
Double_t | yield, | ||
Double_t | yield_error, | ||
Double_t | yield_width, | ||
TString | yield_unit | ||
) |
Definition at line 417 of file QwPromptSummary.cc.
References fLocalDebug, GetElementByName(), PromptSummaryElement::SetYield(), PromptSummaryElement::SetYieldError(), and PromptSummaryElement::SetYieldWidth().
PromptSummaryElement * QwPromptSummary::GetElementByName | ( | TString | name | ) |
Definition at line 315 of file QwPromptSummary.cc.
References fElementList, fLocalDebug, and PromptSummaryElement::GetName().
Referenced by FillAsymDiffToElement(), FillDataInElement(), FillDoubleDifference(), and FillYieldToElement().
|
inline |
|
inline |
|
inline |
|
inline |
void QwPromptSummary::PrintCSV | ( | ) |
Definition at line 557 of file QwPromptSummary.cc.
References fElementList.
|
private |
void QwPromptSummary::PrintTextSummary | ( | ) |
Definition at line 572 of file QwPromptSummary.cc.
References fElementList.
|
private |
|
private |
Definition at line 355 of file QwPromptSummary.cc.
|
inline |
|
inline |
|
private |
Definition at line 200 of file QwPromptSummary.cc.
References AddElement().
Referenced by QwPromptSummary().
|
inline |
TObjArray* QwPromptSummary::fElementList |
Definition at line 132 of file QwPromptSummary.h.
Referenced by AddElement(), GetElementByName(), PrintCSV(), PrintTextSummary(), QwPromptSummary(), and ~QwPromptSummary().
|
private |
Definition at line 178 of file QwPromptSummary.h.
Referenced by AddElement(), FillAsymDiffToElement(), FillDataInElement(), FillDoubleDifference(), FillYieldToElement(), GetElementByName(), and QwPromptSummary().
Int_t QwPromptSummary::fNElements |
Definition at line 131 of file QwPromptSummary.h.
Referenced by AddElement(), GetSize(), HowManyElements(), QwPromptSummary(), and Size().
|
private |
Definition at line 176 of file QwPromptSummary.h.
Referenced by GetRunletNumber(), PrintCSVHeader(), PrintTextSummaryHeader(), QwPromptSummary(), and SetRunletNumber().
|
private |
Definition at line 175 of file QwPromptSummary.h.
Referenced by GetRunNumber(), PrintCSVHeader(), PrintTextSummaryHeader(), QwPromptSummary(), and SetRunNumber().