Gaudi Framework, version v23r4

Home   Generated: Mon Sep 17 2012
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 682 of file pTools.py.

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

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 Sep 17 2012 13:49:57 for Gaudi Framework, version v23r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004