******************************************************************************* * * * Simple example which illustrate the usage of useful algorithm base class * * HistoAlgo (python version of C++ GaudiHistoAlg) for "easy" histogramming. * * * ******************************************************************************* Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr ApplicationMgr SUCCESS ==================================================================================================================================== Welcome to ApplicationMgr $Revision: 1.77 $ running on lxbuild135.cern.ch on Fri Apr 23 12:47:50 2010 ==================================================================================================================================== ApplicationMgr INFO Application Manager Configured successfully ApplicationMgr INFO Successfully loaded modules : GaudiAlg, RootHistCnv HistogramPersis... INFO 'CnvServices':[ 'HbookHistSvc' , 'RootHistSvc' ] RootHistSvc INFO Writing ROOT histograms to: histo1.root HistogramPersis... INFO Added successfully Conversion service:RootHistSvc DetectorDataSvc INFO Detector description not requested to be loaded EventLoopMgr WARNING Unable to locate service "EventSelector" EventLoopMgr WARNING No events will be processed from external input. ApplicationMgr INFO Application Manager Initialized successfully ApplicationMgr INFO Application Manager Started successfully Histo TES : "HistoEx/ 1D histo " Histo Title : " 1D histo " Mean : 4.5 +- 0.2031 Rms : 2.8723 +- 0.09994 Skewness : 0.52751 +- 0.1706 Kurtosis : -1.0415 +- 0.3337 Entries : | All | In Range | Underflow | Overflow | #Equivalent | Integral | Total | | 200 | 200 | 0 | 0 | 200 | 200 | 200 | Annotation | Title : 1D histo | | title : 1D histo | | id : 1D histo | 25 ++----+----+----+----+ |IIIIIIIIII. . | |IIIIIIIIII. . | |IIIIIIIIII. . | |IIIIIIIIII. . | |**********. . | |IIIIIIIIII. . | 16.7 +IIIIIIIIII..........+ |IIIIIIIIII. . | || . . . | || . . . | || . . . | || . . . | || . . . | 8.33 ++...................+ || . . . | || . . . | || . . . | || . . . | || . . . | || . . . | 2.22e-16 ++----+----+----+----+ U N O D V E E R R F F L L O 1 1 2 O W 00 5 0 5 0 W ApplicationMgr INFO Application Manager Stopped successfully HistoEx SUCCESS Booked 3 Histogram(s) : 1D=1 2D=1 3D=1 HistoEx SUCCESS List of booked 1D histograms in directory "HistoEx" :- | ID | Title | # | Mean | RMS | Skewness | Kurtosis | | 1D histo | " 1D histo " | 200 | 4.5 | 2.8723 | 0.52751 | -1.0415 | HistoEx SUCCESS List of booked 2D histograms in directory "HistoEx" :- ID= 2D histo " 2D histo " Ents/All= 2000/2000 /sX=4.5/2.8723,/sY=4.5/2.8723 HistoEx SUCCESS List of booked 3D histograms in directory "HistoEx" :- ID= 3D histo " 3D histo " Ents/All=20000/20000/sX=4.5/2.8723,/sY=4.5/2.8723,/sZ=4.5/2.8723 EventLoopMgr INFO Histograms converted successfully according to request. ApplicationMgr INFO Application Manager Finalized successfully ApplicationMgr INFO Application Manager Terminated successfully