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

In This Package:

ReadoutDetector Namespace Reference


Classes

class  ReadoutDetectorAlg

Functions

def configure
def run

Variables

int TH1F = 1
int TH2F = 2
 Detector = gbl.DayaBay.Detector
 AdPmtSensor = gbl.DayaBay.AdPmtSensor
 ServiceMode = gbl.ServiceMode
 ReconStatus = gbl.ReconStatus
float scale = 1.0

Function Documentation

def ReadoutDetector::configure (   argv = []  ) 

Definition at line 79 of file ReadoutDetector.py.

00079                         :
00080     import sys,getopt
00081     opts,args = getopt.getopt(argv,"s:")
00082     global scale
00083     for opt,arg in opts:
00084         if opt == '-s':
00085             scale = float(arg)    
00086 
00087 
00088     from StatisticsSvc.StatisticsSvcConf import StatisticsSvc
00089     statsSvc = StatisticsSvc()
00090     statsSvc.Output ={"file0":"ReadoutDetector.root"}
00091     import DataSvc
00092     DataSvc.Configure()
00093     return
00094 
def run(app):

def ReadoutDetector::run (   app  ) 

Configure and add an algorithm to job

Definition at line 95 of file ReadoutDetector.py.

00095             :
00096     '''
00097     Configure and add an algorithm to job
00098     '''
00099     app.ExtSvc += ["StaticCableSvc", "StatisticsSvc"]
00100     readoutDetectorAlg = ReadoutDetectorAlg("MyReadoutDetector")
00101     app.addAlgorithm(readoutDetectorAlg)
00102     pass
00103 


Variable Documentation

int ReadoutDetector::TH1F = 1 [static]

Definition at line 10 of file ReadoutDetector.py.

int ReadoutDetector::TH2F = 2 [static]

Definition at line 11 of file ReadoutDetector.py.

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

Definition at line 15 of file ReadoutDetector.py.

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

Definition at line 16 of file ReadoutDetector.py.

ReadoutDetector::ServiceMode = gbl.ServiceMode [static]

Definition at line 17 of file ReadoutDetector.py.

ReadoutDetector::ReconStatus = gbl.ReconStatus [static]

Definition at line 18 of file ReadoutDetector.py.

float ReadoutDetector::scale = 1.0 [static]

Definition at line 77 of file ReadoutDetector.py.

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

Generated on Mon Apr 11 20:11:24 2011 for Calibration by doxygen 1.4.7