| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

PmtInfoExample Namespace Reference


Classes

class  PmtInfoExampleAlg

Functions

def configure
def run

Variables

int TH1F = 1
int TH2F = 2
 gPad = gbl.gPad
 TimeStamp = gbl.TimeStamp
 FeeChannelId = gbl.DayaBay.FeeChannelId
 AdPmtSensor = gbl.DayaBay.AdPmtSensor
 Detector = gbl.DayaBay.Detector
 ServiceMode = gbl.ServiceMode
 Site = gbl.Site

Function Documentation

def PmtInfoExample::configure (   argv = []  ) 

Example of processing raw data 

Definition at line 168 of file PmtInfoExample.py.

00168                         :
00169     """ Example of processing raw data """
00170 
00171     # Setup root file for output histograms
00172     from StatisticsSvc.StatisticsSvcConf import StatisticsSvc
00173     statsSvc = StatisticsSvc()
00174     statsSvc.Output = {"file1":"pmtInfoResult.root"}
00175 
00176     # Setup Service to get PMT position in detectors
00177     from DetHelpers.DetHelpersConf import PmtGeomInfoSvc
00178     pgiSvc = PmtGeomInfoSvc()
00179     pgiSvc.StreamItems = ["/dd/Structure/DayaBay"]
00180 
00181     return
00182 
def run(app):

def PmtInfoExample::run (   app  ) 

Configure and add the algorithm to job

Definition at line 183 of file PmtInfoExample.py.

00183             :
00184     '''
00185     Configure and add the algorithm to job
00186     '''
00187     app.ExtSvc += ["StatisticsSvc","StaticCableSvc","PmtGeomInfoSvc"]
00188     myAlg = PmtInfoExampleAlg("MyPmtInfoExampleAlg")
00189     app.addAlgorithm(myAlg)
00190     pass
00191 


Variable Documentation

int PmtInfoExample::TH1F = 1 [static]

Definition at line 19 of file PmtInfoExample.py.

int PmtInfoExample::TH2F = 2 [static]

Definition at line 20 of file PmtInfoExample.py.

PmtInfoExample::gPad = gbl.gPad [static]

Definition at line 21 of file PmtInfoExample.py.

PmtInfoExample::TimeStamp = gbl.TimeStamp [static]

Definition at line 22 of file PmtInfoExample.py.

PmtInfoExample::FeeChannelId = gbl.DayaBay.FeeChannelId [static]

Definition at line 23 of file PmtInfoExample.py.

PmtInfoExample::AdPmtSensor = gbl.DayaBay.AdPmtSensor [static]

Definition at line 24 of file PmtInfoExample.py.

PmtInfoExample::Detector = gbl.DayaBay.Detector [static]

Definition at line 25 of file PmtInfoExample.py.

PmtInfoExample::ServiceMode = gbl.ServiceMode [static]

Definition at line 26 of file PmtInfoExample.py.

PmtInfoExample::Site = gbl.Site [static]

Definition at line 27 of file PmtInfoExample.py.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:11:13 2011 for Quickstart by doxygen 1.4.7