Gaudi Framework, version v22r1

Home   Generated: Mon Feb 28 2011
Classes | Functions | Variables

GaudiMP::pTools Namespace Reference

Classes

class  HistoAgent
class  FileRecordsAgent
class  LumiFSR
class  PackedCaloHypo
class  SyncMini
class  Syncer

Functions

def getEventNumber

Variables

 aida2root = gbl.Gaudi.Utils.Aida2ROOT.aida2root

Function Documentation

def GaudiMP::pTools::getEventNumber (   evt )

Definition at line 672 of file pTools.py.

00673                           :
00674     # The class-independent version of the Event Number Retrieval method
00675     #
00676     n = None
00677     # First Attempt : Unpacked Event Data
00678     lst = [ '/Event/Gen/Header',
00679             '/Event/Rec/Header' ]
00680     for l in lst :
00681         try :
00682             n = evt[l].evtNumber()
00683             return n
00684         except :
00685             # No evt number at this path
00686             continue
00687 
00688     # second attepmt : try DAQ/RawEvent data
00689     # The Evt Number is in bank type 16, bank 0, data pt 4
00690     try :
00691         n = evt['/Event/DAQ/RawEvent'].banks(16)[0].data()[4]
00692         return n
00693     except :
00694         pass
00695 
00696     # Default Action
00697     return n
00698 
00699 # ================================= EOF =======================================
00700 
00701 

Variable Documentation

GaudiMP::pTools::aida2root = gbl.Gaudi.Utils.Aida2ROOT.aida2root

Definition at line 45 of file pTools.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Feb 28 2011 18:28:44 for Gaudi Framework, version v22r1 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004