Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plugins/monitoring/DAQ_online/daq_words.C File Reference

Go to the source code of this file.

Functions

 if (!DAQdir)
 
gPad SetBottomMargin (0.3)
 
gPad SetLeftMargin (0.05)
 
gPad SetRightMargin (0.02)
 
gPad GetCanvas () -> SetTicks()
 
daq_words_by_type SetStats (0)
 
daq_words_by_type SetYTitle ("Total number of 32-bit words")
 
daq_words_by_type GetYaxis () -> SetTitleOffset(0.6)
 
daq_words_by_type Draw ()
 
latex SetTextSize (0.030)
 
latex SetTextAlign (12)
 
latex SetTextAngle (90.0)
 
 for (int ibin=1;ibin<=Nbins;ibin++)
 

Variables

TDirectory * DAQdir = (TDirectory*)gDirectory->FindObjectAny("DAQ")
 
TH1D * daq_words_by_type = (TH1D*)DAQdir->Get("daq_words_by_type")
 
double max = daq_words_by_type->GetMaximum()*1.3
 
double min = 1.0
 
double ylab = pow(10.0, 0.3*(log(max)-log(min)) + log(min))
 
TLatex latex
 
Int_t Nbins = daq_words_by_type->GetNbinsX()
 
double Nword_tot = daq_words_by_type->GetBinContent(Nbins-1)
 
double sum = 0
 

Function Documentation

for ( int  ibin = 1; ibin<=Nbins; ibin++)

Definition at line 58 of file plugins/monitoring/DAQ_online/daq_words.C.

References Nword_tot, sprintf(), str, and x.

gPad GetCanvas ( ) -> SetTicks()
daq_words_by_type GetYaxis ( ) -> SetTitleOffset(0.6)
if ( DAQdir)

Definition at line 12 of file plugins/monitoring/DAQ_online/daq_words.C.

gPad SetBottomMargin ( 0.  3)
gPad SetLeftMargin ( 0.  05)
fdcpad2 SetRightMargin ( 0.  02)
daq_words_by_type SetStats ( )
latex SetTextAlign ( 12  )
latex SetTextAngle ( 90.  0)
latex SetTextSize ( 0.  030)
daq_words_by_type SetYTitle ( "Total number of 32-bit words"  )

Variable Documentation

TDirectory* DAQdir = (TDirectory*)gDirectory->FindObjectAny("DAQ")

Definition at line 11 of file plugins/monitoring/DAQ_online/daq_words.C.

TLatex latex

Definition at line 50 of file plugins/monitoring/DAQ_online/daq_words.C.

Referenced by daq_words(), daq_words_compare(), and if().

double Nword_tot = daq_words_by_type->GetBinContent(Nbins-1)

Definition at line 56 of file plugins/monitoring/DAQ_online/daq_words.C.

Referenced by daq_words(), and for().

double ylab = pow(10.0, 0.3*(log(max)-log(min)) + log(min))

Definition at line 48 of file plugins/monitoring/DAQ_online/daq_words.C.

Referenced by daq_words(), and daq_words_compare().