Gleam JobOptions File: MC Output

The following jobOptions.txt file will produce a mc.root file in your working directory containing the Monte Carlo (MC) output information.

//##############################################################
//
// basic Job options file for a Gleam execution
// $Header: /nfs/slac/g/glast/ground/cvs/workbook/pages/gleamOvrvw/pr_gleamJobOptionsMCoutput.htm,v 1.1.1.1 2007/06/29 15:04:10 chuckp Exp $
 
// primary DLLs, including auditor
 
ApplicationMgr.DLLs+= { "GaudiAlg", "GaudiAud"};
ApplicationMgr.ExtSvc += {"ChronoStatSvc"};
AuditorSvc.Auditors = {"ChronoAuditor"};
 
// ----------------------------
// setup basic event loop stuff
//
ApplicationMgr.ExtSvc = {
  "GlastEventSelector/EventSelector" ,
"EventCnvSvc"
};
 
EventPersistencySvc.CnvServices = {"EventCnvSvc"};
EventSelector.Input = "NONE";
 
// ----------------------------
//  a structure for the topalg, using sequencer steps
 
ApplicationMgr.TopAlg = {
  "Sequencer/Top" };
 
//the top sequence loop
Top.Members={
  "Sequencer/Generator",    
"Sequencer/Output" };
 
// ----------------------------
//  Geometry definition
//
ApplicationMgr.DLLs += {"GlastSvc"};
ApplicationMgr.ExtSvc += { "GlastDetSvc"};
GlastDetSvc.topVolume="LAT";
GlastDetSvc.xmlfile="$(XMLGEODBSROOT)/xml/flight/flightSegVols.xml";
GlastDetSvc.visitorMode="recon";
 
// ----------------------------
//  Randoms definition
//
ApplicationMgr.ExtSvc += { "GlastRandomSvc"};
 

// ----------------------------
// Generation or input
//
ApplicationMgr.DLLs +={ "G4Generator","G4Propagator"};
ApplicationMgr.ExtSvc += {"G4GeometrySvc"};
Generator.Members = {"FluxAlg", "G4Generator", "Sequencer/EventDisplay"};
Generator.BranchMembers = {"FluxAlg"};
G4Generator.defaultCutValue=0.7;
G4Generator.defaultTkrCutValue=0.1;
G4Generator.defaultCalCutValue=0.7;

 
#include "$FLUXSVCROOT/src/defaultOptions.txt"
 
// Append (or replace) the list of source library documents
FluxSvc.source_lib += {"$(G4GENERATORROOT)/src/test/test_sources.xml"};
FluxAlg.source_name="muon_pencil_angle";
 
// add in CRflux option
ApplicationMgr.DLLs +={ "CRflux" };
FluxSvc.source_lib += {
  "$(CRFLUXROOT)/xml/source_library.xml"};
 
// ----------------------------
//   Output
//
ApplicationMgr.DLLs +={   "RootIo"};
Output.Members = {"FhSetAlg", "mcRootWriterAlg"};
 
// output levels, including suppression to allow debug, info
mcRootWriterAlg.OutputLevel=3;
 
// Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
MessageSvc.OutputLevel = 3;
 
// choose one or the other below for standard Gui or FRED
// for FRED, it must be running, and you must open the file hepeventserver.ior, in the default directory
//#include "$GLEAMROOT/src/guiOptions.txt" #include "$GLEAMROOT/src/fredOptions.txt"
 
ApplicationMgr.ExtSvc += { "RootIoSvc" };
ApplicationMgr.EvtMax  = 100000;
 

//==============================================================
//
// End of job options file

//##############################################################

 
 

 

Owned by: Richard Dubois

Last updated by: Chuck Patterson 11/14/2005