/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::SingleTagger::ADSingleData Namespace Reference

Classes

class  ADSingleData

Functions

def configure
def run

Variables

 options = None

Function Documentation

def Tagger::SingleTagger::ADSingleData::configure (   argv = [])
Configuration with command line arguments

Definition at line 159 of file ADSingleData.py.

00160                       :
00161     """Configuration with command line arguments"""   
00162     global options 
00163     from optparse import OptionParser
00164     
00165     defaultLocations = ''
00166     for detname in ['AD1', 'AD2']:
00167         defaultLocations += '/Event/Tag/Single/%sSingleTag:/Event/Data/Single/%sSingleData ' % (detname, detname)
00168 
00169     parser = OptionParser()
00170     parser.add_option("-l", "--location", type="string",
00171         default='/Event/Rec/AdSimple',
00172         help="the TES path of target event header location")
00173     parser.add_option("-t", "--tag-data-locations", type="string",
00174         default=defaultLocations.rstrip(), 
00175         help="tagPath:dataPath pairs for AD single events")
00176     parser.add_option('--simulation',
00177         dest='isSimulation',
00178         action='store_true', default=False,
00179         help='flag for simulation files (save extra gen/truth info)')
00180     (options, args) = parser.parse_args(args=argv)

def Tagger::SingleTagger::ADSingleData::run (   app)

Definition at line 181 of file ADSingleData.py.

00182             :
00183     from DybPython.Tools import mapify
00184     app.ExtSvc += ["CoordSysSvc"]
00185     
00186     myAlg = ADSingleData("ADSingleData")
00187     myAlg.location = options.location
00188     myAlg.tag_data_locations = mapify(options.tag_data_locations)
00189     myAlg.isSimulation = options.isSimulation
00190     app.addAlgorithm(myAlg)

Variable Documentation

Definition at line 157 of file ADSingleData.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