/search.css" rel="stylesheet" type="text/css"/> /search.js">
Classes | |
class | CoincTag |
Functions | |
def | configure |
def | run |
Variables | |
int | dTCut = 1 |
def TaggingExample::CoincTag::configure | ( | argv = [] | ) |
Configuration with command line arguments
Definition at line 76 of file CoincTag.py.
00077 : 00078 """Configuration with command line arguments""" 00079 global dTCut 00080 from DybPython.Tools import unitify 00081 if len(argv) < 1: 00082 dTCut = unitify('1*ms') # default 00083 return 00084 try: 00085 dTCut = unitify(argv[0], 'second') 00086 except: 00087 import sys 00088 sys.exit('dTCut: ' + argv[0] + ': unit is not available, or wrong syntax.')
def TaggingExample::CoincTag::run | ( | app | ) |
Definition at line 89 of file CoincTag.py.
int TaggingExample::CoincTag::dTCut = 1 |
Definition at line 10 of file CoincTag.py.