/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
Tagger::CoincTagger::ADCoincTag Namespace Reference

Classes

class  ADCoincTag

Functions

def configure
def run

Variables

 options = None

Function Documentation

def Tagger::CoincTagger::ADCoincTag::configure (   argv = [])
Configuration with command line arguments

Definition at line 90 of file ADCoincTag.py.

00091                       :
00092     """Configuration with command line arguments"""   
00093     global options 
00094     from optparse import OptionParser
00095     
00096     parser = OptionParser()
00097     parser.add_option("-c", "--coincidence-dt", type="string",
00098         default="300*microsecond",
00099         help="AD coincidence time window")
00100     parser.add_option("-l", "--location", type="string",
00101         default="/Event/Rec/AdSimple",
00102         help="Target for AD coincidence tagging")
00103     (options, args) = parser.parse_args(args=argv)

def Tagger::CoincTagger::ADCoincTag::run (   app)

Definition at line 104 of file ADCoincTag.py.

00105             :
00106     from DybPython.Tools import unitify
00107     
00108     myAlg = ADCoincTag("ADCoincTag")
00109     myAlg.dTCut = unitify(options.coincidence_dt)
00110     myAlg.location = options.location
00111     app.addAlgorithm(myAlg)

Variable Documentation

Definition at line 88 of file ADCoincTag.py.

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

Generated on Fri May 16 2014 09:54:18 for Tagger by doxygen 1.7.4