// $Id: POOLIORead.opts,v 1.8 2008/11/04 22:49:25 marcocle Exp $ // ============================================================================ ///////////////////////////////////////////////////////////////////// // Read a DST, distinguishing between events and file summary records ///////////////////////////////////////////////////////////////////// ApplicationMgr.TopAlg = { "GaudiSequencer/EventAlgs", "GaudiSequencer/FSRAlgs" }; EventAlgs.Members = { "ReadAlg" }; EventAlgs.VetoObjects = {"FSR"}; ReadAlg.OutputLevel = 1; FSRAlgs.Members = { "ReadTES" }; FSRAlgs.RequireObjects = {"FSR"}; ReadTES.Locations = {"FSR"}; ApplicationMgr.HistogramPersistency = "NONE"; // Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL ) ApplicationMgr.EvtMax = -1; EventSelector.OutputLevel = 2; EventSelector.PrintFreq = 50; EventSelector.FirstEvent = 1; //-------------------------------------------------------------- // // Setup for ROOT I/O System // #include "GaudiPoolDbRoot.opts" PoolDbCacheSvc.OutputLevel = 4; ChronoStatSvc.OutputLevel = 4; ToolSvc.SequencerTimerTool.OutputLevel = 4; //-------------------------------------------------------------- // Input File //-------------------------------------------------------------- EventSelector.Input = { "DATAFILE='PFN:POOLIO.dst' TYP='POOL_ROOT' OPT='READ'" }; EventSelector.Input += { "DATAFILE='PFN:POOLIO.mdst' TYP='POOL_ROOT' OPT='READ'" }; FileCatalog.Catalogs += { "xmlcatalog_file:POOLIO.xml" } ; ApplicationMgr.ExtSvc += { "FileRecordDataSvc" }; FileRecordDataSvc.IncidentName = "NEW_FILE_RECORD"; ReadAlg.IncidentName = @FileRecordDataSvc.IncidentName; // ============================================================================ // The END // ============================================================================