|
| def | __init__ (self, queues, events, params, subworkers) |
| |
| def | processConfiguration (self) |
| |
| def | DumpEvent (self) |
| |
| def | DoFirstEvent (self) |
| |
| def | Engine (self) |
| |
| def | __init__ (self, queues, events, params, subworkers) |
| |
| def | processConfiguration (self) |
| |
| def | DumpEvent (self) |
| |
| def | DoFirstEvent (self) |
| |
| def | Engine (self) |
| |
| def | __init__ (self, nodeType, nodeID, queues, events, params, subworkers) |
| |
| def | Start (self) |
| |
| def | Engine (self) |
| |
| def | processConfiguration (self) |
| |
| def | SetupGaudiPython (self) |
| |
| def | StartGaudiPython (self) |
| |
| def | LoadTES (self, tbufferfile) |
| |
| def | getEventNumber (self) |
| |
| def | IdentifyWriters (self) |
| |
| def | dumpHistograms (self) |
| |
| def | Initialize (self) |
| |
| def | Finalize (self) |
| |
| def | Report (self) |
| |
| def | __init__ (self, nodeType, nodeID, queues, events, params, subworkers) |
| |
| def | Start (self) |
| |
| def | Engine (self) |
| |
| def | processConfiguration (self) |
| |
| def | SetupGaudiPython (self) |
| |
| def | StartGaudiPython (self) |
| |
| def | LoadTES (self, tbufferfile) |
| |
| def | getEventNumber (self) |
| |
| def | IdentifyWriters (self) |
| |
| def | dumpHistograms (self) |
| |
| def | Initialize (self) |
| |
| def | Finalize (self) |
| |
| def | Report (self) |
| |
Definition at line 648 of file GMPBase.py.
| def GaudiMP.GMPBase.Reader.__init__ |
( |
|
self, |
|
|
|
queues, |
|
|
|
events, |
|
|
|
params, |
|
|
|
subworkers |
|
) |
| |
Definition at line 649 of file GMPBase.py.
649 def __init__( self, queues, events, params, subworkers ) :
650 GMPComponent.__init__(self,
'Reader', -1, queues, events, params, subworkers )
def __init__(self, queues, events, params, subworkers)
| def GaudiMP.GMPBase.Reader.__init__ |
( |
|
self, |
|
|
|
queues, |
|
|
|
events, |
|
|
|
params, |
|
|
|
subworkers |
|
) |
| |
Definition at line 649 of file GMPBase.py.
649 def __init__( self, queues, events, params, subworkers ) :
650 GMPComponent.__init__(self,
'Reader', -1, queues, events, params, subworkers )
def __init__(self, queues, events, params, subworkers)
| def GaudiMP.GMPBase.Reader.DoFirstEvent |
( |
|
self | ) |
|
Definition at line 671 of file GMPBase.py.
674 startFirst = time.time()
675 self.log.info(
'Reader : First Event')
677 self.log.info(
'evtMax( %i ) reached'%(self.
evtMax))
683 if not bool(self.
evt[
'/Event']) :
684 self.log.warning(
'No More Events! (So Far : %i)'%(self.
nOut))
690 lst = self.evt.getHistoNames()
693 lst = self.evt.getList()
694 if self.
app ==
"DaVinci":
695 daqnode = self.evt.retrieveObject(
'/Event/DAQ' ).
registry()
697 self.evt.getList( daqnode, lst, daqnode.address().
par() )
699 self.log.critical(
'Reader could not acquire TES List!')
702 self.log.info(
'Reader : TES List : %i items'%(len(lst)))
707 self.log.info(
'First Event Sent')
710 self.eventLoopSyncer.set()
711 self.evt.clearStore( )
| def GaudiMP.GMPBase.Reader.DoFirstEvent |
( |
|
self | ) |
|
Definition at line 671 of file GMPBase.py.
674 startFirst = time.time()
675 self.log.info(
'Reader : First Event')
677 self.log.info(
'evtMax( %i ) reached'%(self.
evtMax))
683 if not bool(self.
evt[
'/Event']) :
684 self.log.warning(
'No More Events! (So Far : %i)'%(self.
nOut))
690 lst = self.evt.getHistoNames()
693 lst = self.evt.getList()
694 if self.
app ==
"DaVinci":
695 daqnode = self.evt.retrieveObject(
'/Event/DAQ' ).
registry()
697 self.evt.getList( daqnode, lst, daqnode.address().
par() )
699 self.log.critical(
'Reader could not acquire TES List!')
702 self.log.info(
'Reader : TES List : %i items'%(len(lst)))
707 self.log.info(
'First Event Sent')
710 self.eventLoopSyncer.set()
711 self.evt.clearStore( )
| def GaudiMP.GMPBase.Reader.DumpEvent |
( |
|
self | ) |
|
Definition at line 664 of file GMPBase.py.
665 tb = TBufferFile( TBuffer.kWrite )
667 self.ts.dumpBuffer( tb )
| def GaudiMP.GMPBase.Reader.DumpEvent |
( |
|
self | ) |
|
Definition at line 664 of file GMPBase.py.
665 tb = TBufferFile( TBuffer.kWrite )
667 self.ts.dumpBuffer( tb )
| def GaudiMP.GMPBase.Reader.Engine |
( |
|
self | ) |
|
Definition at line 715 of file GMPBase.py.
719 libc = ctypes.CDLL(
'libc.so.6')
721 libc.prctl(15,name,0,0,0)
724 startEngine = time.time()
725 self.log.name =
'Reader'
726 self.log.info(
'Reader Process starting')
733 self.log.info(
'Reader Beginning Distribution')
736 self.log.info(
'Reader First Event OK')
738 self.log.critical(
'Reader Failed on First Event')
745 self.log.info(
'evtMax( %i ) reached'%(self.
evtMax))
748 if not self.stat.isSuccess() :
749 self.log.critical(
'Reader is Damaged!' )
754 self.
rTime += (time.time()-t)
755 if not bool(self.
evt[
'/Event']) :
756 self.log.warning(
'No More Events! (So Far : %i)'%(self.
nOut))
763 self.eventLoopSyncer.set()
764 self.evt.clearStore( )
765 self.log.info(
'Setting <Last> Event')
769 self.log.info(
'Reader : Event Distribution complete.' )
770 self.evcom.finalize()
772 self.
tTime = time.time() - startEngine
| def GaudiMP.GMPBase.Reader.Engine |
( |
|
self | ) |
|
Definition at line 715 of file GMPBase.py.
719 libc = ctypes.CDLL(
'libc.so.6')
721 libc.prctl(15,name,0,0,0)
724 startEngine = time.time()
725 self.log.name =
'Reader'
726 self.log.info(
'Reader Process starting')
733 self.log.info(
'Reader Beginning Distribution')
736 self.log.info(
'Reader First Event OK')
738 self.log.critical(
'Reader Failed on First Event')
745 self.log.info(
'evtMax( %i ) reached'%(self.
evtMax))
748 if not self.stat.isSuccess() :
749 self.log.critical(
'Reader is Damaged!' )
754 self.
rTime += (time.time()-t)
755 if not bool(self.
evt[
'/Event']) :
756 self.log.warning(
'No More Events! (So Far : %i)'%(self.
nOut))
763 self.eventLoopSyncer.set()
764 self.evt.clearStore( )
765 self.log.info(
'Setting <Last> Event')
769 self.log.info(
'Reader : Event Distribution complete.' )
770 self.evcom.finalize()
772 self.
tTime = time.time() - startEngine
| def GaudiMP.GMPBase.Reader.processConfiguration |
( |
|
self | ) |
|
Definition at line 652 of file GMPBase.py.
657 self.config[
'ApplicationMgr' ].TopAlg = []
658 self.config[
'ApplicationMgr' ].OutStream = []
659 if "HistogramPersistencySvc" in self.config.keys() :
660 self.config[
'HistogramPersistencySvc' ].OutputFile =
''
661 self.config[
'MessageSvc'].Format =
'[Reader]% F%18W%S%7W%R%T %0W%M'
662 self.
evtMax = self.config[
'ApplicationMgr' ].EvtMax
def processConfiguration(self)
| def GaudiMP.GMPBase.Reader.processConfiguration |
( |
|
self | ) |
|
Definition at line 652 of file GMPBase.py.
657 self.config[
'ApplicationMgr' ].TopAlg = []
658 self.config[
'ApplicationMgr' ].OutStream = []
659 if "HistogramPersistencySvc" in self.config.keys() :
660 self.config[
'HistogramPersistencySvc' ].OutputFile =
''
661 self.config[
'MessageSvc'].Format =
'[Reader]% F%18W%S%7W%R%T %0W%M'
662 self.
evtMax = self.config[
'ApplicationMgr' ].EvtMax
def processConfiguration(self)
| GaudiMP.GMPBase.Reader.app |
| GaudiMP.GMPBase.Reader.currentEvent |
| GaudiMP.GMPBase.Reader.evtMax |
| GaudiMP.GMPBase.Reader.firstEvTime |
| GaudiMP.GMPBase.Reader.nOut |
| GaudiMP.GMPBase.Reader.stat |
| GaudiMP.GMPBase.Reader.tTime |
The documentation for this class was generated from the following file:
- InstallArea/x86_64-slc6-gcc48-opt/python/GaudiMP/GMPBase.py