|
| 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 647 of file GMPBase.py.
| def GaudiMP.GMPBase.Reader.__init__ |
( |
|
self, |
|
|
|
queues, |
|
|
|
events, |
|
|
|
params, |
|
|
|
subworkers |
|
) |
| |
Definition at line 648 of file GMPBase.py.
648 def __init__( self, queues, events, params, subworkers ) :
649 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 648 of file GMPBase.py.
648 def __init__( self, queues, events, params, subworkers ) :
649 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 670 of file GMPBase.py.
673 startFirst = time.time()
674 self.log.info(
'Reader : First Event')
676 self.log.info(
'evtMax( %i ) reached'%(self.
evtMax))
682 if not bool(self.
evt[
'/Event']) :
683 self.log.warning(
'No More Events! (So Far : %i)'%(self.
nOut))
689 lst = self.evt.getHistoNames()
692 lst = self.evt.getList()
693 if self.
app ==
"DaVinci":
694 daqnode = self.evt.retrieveObject(
'/Event/DAQ' ).
registry()
696 self.evt.getList( daqnode, lst, daqnode.address().
par() )
698 self.log.critical(
'Reader could not acquire TES List!')
701 self.log.info(
'Reader : TES List : %i items'%(len(lst)))
706 self.log.info(
'First Event Sent')
709 self.eventLoopSyncer.set()
710 self.evt.clearStore( )
| def GaudiMP.GMPBase.Reader.DoFirstEvent |
( |
|
self | ) |
|
Definition at line 670 of file GMPBase.py.
673 startFirst = time.time()
674 self.log.info(
'Reader : First Event')
676 self.log.info(
'evtMax( %i ) reached'%(self.
evtMax))
682 if not bool(self.
evt[
'/Event']) :
683 self.log.warning(
'No More Events! (So Far : %i)'%(self.
nOut))
689 lst = self.evt.getHistoNames()
692 lst = self.evt.getList()
693 if self.
app ==
"DaVinci":
694 daqnode = self.evt.retrieveObject(
'/Event/DAQ' ).
registry()
696 self.evt.getList( daqnode, lst, daqnode.address().
par() )
698 self.log.critical(
'Reader could not acquire TES List!')
701 self.log.info(
'Reader : TES List : %i items'%(len(lst)))
706 self.log.info(
'First Event Sent')
709 self.eventLoopSyncer.set()
710 self.evt.clearStore( )
| def GaudiMP.GMPBase.Reader.DumpEvent |
( |
|
self | ) |
|
Definition at line 663 of file GMPBase.py.
664 tb = TBufferFile( TBuffer.kWrite )
666 self.ts.dumpBuffer( tb )
| def GaudiMP.GMPBase.Reader.DumpEvent |
( |
|
self | ) |
|
Definition at line 663 of file GMPBase.py.
664 tb = TBufferFile( TBuffer.kWrite )
666 self.ts.dumpBuffer( tb )
| def GaudiMP.GMPBase.Reader.Engine |
( |
|
self | ) |
|
Definition at line 714 of file GMPBase.py.
718 libc = ctypes.CDLL(
'libc.so.6')
720 libc.prctl(15,name,0,0,0)
723 startEngine = time.time()
724 self.log.name =
'Reader'
725 self.log.info(
'Reader Process starting')
732 self.log.info(
'Reader Beginning Distribution')
735 self.log.info(
'Reader First Event OK')
737 self.log.critical(
'Reader Failed on First Event')
744 self.log.info(
'evtMax( %i ) reached'%(self.
evtMax))
747 if not self.stat.isSuccess() :
748 self.log.critical(
'Reader is Damaged!' )
753 self.
rTime += (time.time()-t)
754 if not bool(self.
evt[
'/Event']) :
755 self.log.warning(
'No More Events! (So Far : %i)'%(self.
nOut))
762 self.eventLoopSyncer.set()
763 self.evt.clearStore( )
764 self.log.info(
'Setting <Last> Event')
768 self.log.info(
'Reader : Event Distribution complete.' )
769 self.evcom.finalize()
771 self.
tTime = time.time() - startEngine
| def GaudiMP.GMPBase.Reader.Engine |
( |
|
self | ) |
|
Definition at line 714 of file GMPBase.py.
718 libc = ctypes.CDLL(
'libc.so.6')
720 libc.prctl(15,name,0,0,0)
723 startEngine = time.time()
724 self.log.name =
'Reader'
725 self.log.info(
'Reader Process starting')
732 self.log.info(
'Reader Beginning Distribution')
735 self.log.info(
'Reader First Event OK')
737 self.log.critical(
'Reader Failed on First Event')
744 self.log.info(
'evtMax( %i ) reached'%(self.
evtMax))
747 if not self.stat.isSuccess() :
748 self.log.critical(
'Reader is Damaged!' )
753 self.
rTime += (time.time()-t)
754 if not bool(self.
evt[
'/Event']) :
755 self.log.warning(
'No More Events! (So Far : %i)'%(self.
nOut))
762 self.eventLoopSyncer.set()
763 self.evt.clearStore( )
764 self.log.info(
'Setting <Last> Event')
768 self.log.info(
'Reader : Event Distribution complete.' )
769 self.evcom.finalize()
771 self.
tTime = time.time() - startEngine
| def GaudiMP.GMPBase.Reader.processConfiguration |
( |
|
self | ) |
|
Definition at line 651 of file GMPBase.py.
656 self.config[
'ApplicationMgr' ].TopAlg = []
657 self.config[
'ApplicationMgr' ].OutStream = []
658 if "HistogramPersistencySvc" in self.config.keys() :
659 self.config[
'HistogramPersistencySvc' ].OutputFile =
''
660 self.config[
'MessageSvc'].Format =
'[Reader]% F%18W%S%7W%R%T %0W%M'
661 self.
evtMax = self.config[
'ApplicationMgr' ].EvtMax
def processConfiguration(self)
| def GaudiMP.GMPBase.Reader.processConfiguration |
( |
|
self | ) |
|
Definition at line 651 of file GMPBase.py.
656 self.config[
'ApplicationMgr' ].TopAlg = []
657 self.config[
'ApplicationMgr' ].OutStream = []
658 if "HistogramPersistencySvc" in self.config.keys() :
659 self.config[
'HistogramPersistencySvc' ].OutputFile =
''
660 self.config[
'MessageSvc'].Format =
'[Reader]% F%18W%S%7W%R%T %0W%M'
661 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