/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
DataQuality::OnlineOfflineTestRefactored::ChannelSummaryHistograms Class Reference
Inheritance diagram for DataQuality::OnlineOfflineTestRefactored::ChannelSummaryHistograms:
Inheritance graph
[legend]
Collaboration diagram for DataQuality::OnlineOfflineTestRefactored::ChannelSummaryHistograms:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def fill
def hist
def container_hist

Public Attributes

 alg
 detector

Static Public Attributes

dictionary hists = {}

Private Member Functions

def _book

Detailed Description

Definition at line 124 of file OnlineOfflineTestRefactored.py.


Constructor & Destructor Documentation

def DataQuality::OnlineOfflineTestRefactored::ChannelSummaryHistograms::__init__ (   self,
  alg,
  detector 
)

Reimplemented from DataQuality::OnlineOfflineTestRefactored::Histograms.

Definition at line 128 of file OnlineOfflineTestRefactored.py.

00129                                    :
00130         super(ChannelSummaryHistograms,self).__init__(alg,detector)
00131         self._book()
00132         ChannelSummaryHistograms.hists[detector.fullPackedData()] = self
00133         return


Member Function Documentation

def DataQuality::OnlineOfflineTestRefactored::ChannelSummaryHistograms::_book (   self) [private]

Definition at line 134 of file OnlineOfflineTestRefactored.py.

00135                    :
00136         # Summary Histograms
00137         # Mean ADC by channel
00138         self.hist("meanAdc", "Mean ADC by channel", 300,0,300,
00139                    "Channel Index (Board*16 + Connector)","Mean ADC value")
00140         
00141         # RMS ADC by channel
00142         self.hist("rmsAdc", "RMS ADC by channel (board*16 + connector)", 300,0,300,
00143                    "Channel Index (Board*16 + Connector)","RMS of ADC values")
00144         return

def DataQuality::OnlineOfflineTestRefactored::ChannelSummaryHistograms::fill (   self,
  chanint,
  adc 
)

Definition at line 145 of file OnlineOfflineTestRefactored.py.

00146                               :
00147         ci = float(channel_index(FeeChannelId(chanint)))
00148         self.alg.info('ChannelSummary: %f %f %f'%(ci,adc.GetMean(),adc.GetRMS()))
00149         self.meanAdc.Fill(ci,adc.GetMean())
00150         self.rmsAdc.Fill(ci,adc.GetRMS())
00151         return
    
def DataQuality::OnlineOfflineTestRefactored::Histograms::hist (   self,
  name,
  title,
  nbins,
  vmin,
  vmax,
  xtitle = None,
  ytitle = None 
) [inherited]

Reimplemented in DataQuality::OnlineOfflineTestRefactored::PerChannelHistograms.

Definition at line 71 of file OnlineOfflineTestRefactored.py.

00072                                                                           :
00073         'Make and register a simple, top level, uniquely named histogram'
00074         hist = self._make_hist(name, title, nbins, vmin, vmax,xtitle,ytitle)
00075         return self._place_hist(hist,name,name)

def DataQuality::OnlineOfflineTestRefactored::Histograms::container_hist (   self,
  container,
  name,
  title,
  nbins,
  vmin,
  vmax,
  xtitle = None,
  ytitle = None 
) [inherited]

Definition at line 76 of file OnlineOfflineTestRefactored.py.

00077                                                                                                :
00078         'Make and register a non-uniquely named histogram that lives in a container'
00079         hist = self._make_hist(name, title, nbins, vmin, vmax,xtitle,ytitle)
00080         return self._place_hist(hist,container+'/'+name,name,container)


Member Data Documentation

Definition at line 126 of file OnlineOfflineTestRefactored.py.

Definition at line 49 of file OnlineOfflineTestRefactored.py.

Definition at line 49 of file OnlineOfflineTestRefactored.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:06:20 for DataQuality by doxygen 1.7.4