Definition at line 50 of file Test.py.
def Test.PhysAnalAlg.execute |
( |
|
self | ) |
|
Definition at line 59 of file Test.py.
60 tks = self.evt.object(
'MyTracks')
61 print 'MyTracks collection contains ' + `len(tks)` +
' Tracks'
63 self.h1.fill( math.sqrt(t.px*t.px + t.py*t.py + t.pz*t.pz), 1)
64 self.h2.fill( t.px, t.py )
def Test.PhysAnalAlg.finalize |
( |
|
self | ) |
|
Definition at line 66 of file Test.py.
67 print 'Finalizing User Analysis...'
69 print self.h1.entries()
71 print '....User Analysis Finalized'
def Test.PhysAnalAlg.initialize |
( |
|
self | ) |
|
Definition at line 51 of file Test.py.
52 self.
evt = gaudi.DataSvc(g.service(
'EventDataSvc'))
53 self.
his = gaudi.HistoSvc(g.service(
'HistogramDataSvc'))
54 print 'Initializing User Analysis...'
55 self.
h1 = self.his.book(
'myhisto1',
'Histogram 1D for tests', 20, 0., 40.)
56 self.
h2 = self.his.book(
'myhisto2',
'Histogram 2D for test2', 20, 0., 40., 20, 0., 10.)
57 print '....User Analysis Initialized'
The documentation for this class was generated from the following file: