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

In This Package:

Classes | Functions | Variables
PrintPMTMap Namespace Reference

Classes

class  PrintPMTMap

Functions

def configure
def run

Variables

 FeeChannelId = gbl.DayaBay.FeeChannelId
 AdPmtSensor = gbl.DayaBay.AdPmtSensor
 PoolPmtSensor = gbl.DayaBay.PoolPmtSensor
 TimeStamp = gbl.TimeStamp
 Detector = gbl.DayaBay.Detector
 ServiceMode = gbl.ServiceMode
 Site = gbl.Site
 SimFlag = gbl.SimFlag
 Context = gbl.Context
 DetectorId = gbl.DetectorId
 options = None

Function Documentation

def PrintPMTMap::configure (   argv = [])
Configuration with command line arguments

Definition at line 152 of file PrintPMTMap.py.

00153                       :
00154     """Configuration with command line arguments"""   
00155     global options 
00156     from optparse import OptionParser
00157 
00158     parser = OptionParser()
00159     parser.add_option("-d", "--detector", type="string",
00160         default='iws', help="detector name")
00161     parser.add_option("-s", "--site", type="string",
00162         default='dayabay', help="site name")
00163     parser.add_option("-t", "--timestamp", type="string",
00164         default='', help="timestamp of dbi query [y:m:d]")        
00165     (options, args) = parser.parse_args(args=argv)
    
def PrintPMTMap::run (   app)

Definition at line 166 of file PrintPMTMap.py.

00167             :
00168     app.ExtSvc += ["CableSvc", "PmtGeomInfoSvc"]
00169     alg = PrintPMTMap("PrintPMTMap")
00170     alg.detector = options.detector.lower()
00171     alg.site = options.site.lower()
00172     alg.timestamp = options.timestamp
00173     
00174     app.addAlgorithm(alg)
    

Variable Documentation

PrintPMTMap::FeeChannelId = gbl.DayaBay.FeeChannelId

Definition at line 10 of file PrintPMTMap.py.

PrintPMTMap::AdPmtSensor = gbl.DayaBay.AdPmtSensor

Definition at line 11 of file PrintPMTMap.py.

PrintPMTMap::PoolPmtSensor = gbl.DayaBay.PoolPmtSensor

Definition at line 12 of file PrintPMTMap.py.

PrintPMTMap::TimeStamp = gbl.TimeStamp

Definition at line 14 of file PrintPMTMap.py.

PrintPMTMap::Detector = gbl.DayaBay.Detector

Definition at line 15 of file PrintPMTMap.py.

PrintPMTMap::ServiceMode = gbl.ServiceMode

Definition at line 16 of file PrintPMTMap.py.

PrintPMTMap::Site = gbl.Site

Definition at line 17 of file PrintPMTMap.py.

PrintPMTMap::SimFlag = gbl.SimFlag

Definition at line 18 of file PrintPMTMap.py.

PrintPMTMap::Context = gbl.Context

Definition at line 19 of file PrintPMTMap.py.

PrintPMTMap::DetectorId = gbl.DetectorId

Definition at line 20 of file PrintPMTMap.py.

Definition at line 150 of file PrintPMTMap.py.

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

Generated on Fri May 16 2014 09:54:33 for Quickstart by doxygen 1.7.4