Job Options File for Reading in a ROOT FileThe following is an example of a jobOptions.txt file necessary for reading in mc, digi, and recon ROOT files and displaying them in FRED. Notes:
// ---------------------------------------------------------------------------------------- // Options for Gleam that are specific to reading ROOT files and using the GUI // $Id: joReadRootFile.htm,v 1.1 2010/10/21 20:58:51 chuckp Exp $ //############################################################## ApplicationMgr.DLLs+= { "GaudiAlg", "GaudiAud", "FluxSvc", "GlastSvc"}; ApplicationMgr.ExtSvc += {"ChronoStatSvc"}; AuditorSvc.Auditors = {"ChronoAuditor"}; ApplicationMgr.DLLs+= {"TkrUtil","G4Propagator", "G4Generator", "CalibSvc"}; // Uncomment this if you want to save xml files with the event //HepRepSvc.autoStream = "xml"; // The default value 4 is not enought for the integration geometry HepRepSvc.geometryDepth = 6; EventPersistencySvc.CnvServices = {"EventCnvSvc"}; EventSelector.Input = "SVC='DbEvtSelector'"; EventSelector.PrintFreq = -1; ApplicationMgr.TopAlg = { ApplicationMgr.DLLs += { "RootIo" }; Top.Members = { "mcRootReaderAlg"}; ApplicationMgr.ExtSvc += { "RootIoSvc", "ParticlePropertySvc", "GlastDetSvc" }; // Stuff for detModel ApplicationMgr.EvtMax = 100000; // tell it to automatically start the version of FRED HepRepSvc.startFred = "$Fred_DIR"; //############################################################## // From time to time, the test files below become outdated. If this job doesn't mcRootReaderAlg.mcRootFileList = { // -------end readAndDisplay-specific------- // ----------------------------------
|