basicOptions.txt

Note: To view the latest version of the Gleam basicOptions.txt file:

  1. Go to:

http://www-glast.stanford.edu/cgi-bin/viewcvs/Gleam/src/

  1. Click on the current Rev. number.

For example, the file shown below is basicOptions.txt Rev 1.63,
i.e.,the 63rd version.

//##############################################################
//
// basic Job options file for a Gleam execution
// $Header: /nfs/slac/g/glast/ground/cvs/workbook/pages/gleamOvrvw/popup_basicOptions.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"};

Generator.Members = {"FluxAlg", 
    "G4Generator",
    "Sequencer/CalibrationUpdate",
    "Sequencer/Digitization",
    "Sequencer/EventDisplay",
    "Sequencer/Triggered" };
    
// FluxAlg branch for "TimeTicks"
Generator.BranchMembers = {"FluxAlg", "ExposureAlg"};

// the sequence that is triggered with data
Triggered.Members={
    "Sequencer/Trigger",
    "Sequencer/Reconstruction",
    "Sequencer/RecoDisplay",
    "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"};


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"};

//-----------------------------
// These algorithms run before digitization or reconstruction
//
CalibrationUpdate.Members={
    "TkrCalibAlg"     // found in TkrUtil
    };


// ----------------------------
//  Digitization
//
ApplicationMgr.DLLs +={ "TkrDigi", "CalDigi", "AcdDigi"  };
Digitization.Members = { 
    "TkrDigiAlg", 
    "CalDigiAlg", 
    "AcdDigiAlg"
    };


// ----------------------------
//  Trigger calculation
//
ApplicationMgr.DLLs +={ "Trigger"};
Trigger.Members = {"TriggerAlg"};
TriggerAlg.mask = -1; // all bits on by default: reject if none set (e.g., missed)

// ----------------------------
//  onboard filter 
//
ApplicationMgr.DLLs += {"EbfWriter", "OnboardFilter"};
Trigger.Members += {"EbfWriter", "OnboardFilter"};
Triggered.Members += {"FilterTracks","FilterAlg"};
OnboardFilter.mask=0; // all bits off by default: no rejection

// ----------------------------
//   Reconstruction
//
ApplicationMgr.ExtSvc += { "GlastPropagatorSvc" };

ApplicationMgr.DLLs +={ 
    "CalibSvc",
    "CalRecon", "CalUtil", 
    "TkrRecon", "TkrUtil"
    };
Reconstruction.Members={ 
    "Sequencer/Cal1", 
    "Sequencer/Tkr",
    "Sequencer/Cal2",
    "Sequencer/TkrIter",
    "Sequencer/Acd"
    };
Cal1.Members = { 
    "CalXtalRecAlg", 
    "CalClustersAlg/first"
    };
Tkr.Members = {
    "TkrReconAlg/FirstPass"
    };
Cal2.Members = {
    "CalClustersAlg/second"
    };
TkrIter.Members = {
    "TkrReconAlg/Iteration"
    };

// -------------------------------------------
//          tracker services
ApplicationMgr.ExtSvc   += { "TkrGeometrySvc"};
ApplicationMgr.ExtSvc   += { "TkrInitSvc"};


// -------------------------------------------
// Calorimeter services
//
ApplicationMgr.Dlls += {"CalXtalResponse"};
#include "$CALXTALRESPONSEROOT/src/defaultOptions.txt"


// -------------------------------------------
//  Calibration sevices
//
ApplicationMgr.ExtSvc += {"CalibDataSvc"};

ApplicationMgr.ExtSvc += {"CalibMySQLCnvSvc", "CalibXmlCnvSvc" };

DetectorPersistencySvc.CnvServices += {"CalibMySQLCnvSvc"};
DetectorPersistencySvc.CnvServices += {"CalibXmlCnvSvc"};

// CalibDataSvc properties 
// Storage type of 14 corresponds to MYSQL
CalibDataSvc.CalibInstrumentName = "LAT";
CalibDataSvc.CalibStorageType = 14;
CalibDataSvc.CalibRootName = "Calib";
CalibDataSvc.CalibFlavorList = {"ideal"};




// ----------------------------
//   ACD recon
//
ApplicationMgr.DLLs += {"AcdRecon"};
Acd.Members = {"AcdReconAlg"};

// ----------------------------
//   Atwood's tuple and merit
//
ApplicationMgr.DLLs += {"AnalysisNtuple", "ntupleWriterSvc", "merit"};
ApplicationMgr.ExtSvc += {"RootTupleSvc"};
Triggered.Members += { "meritAlg" };
//-------------------------------------
// Merit configuration
MeritAlg.IM_filename=""; // disable IM variable
MeritAlg.cuts="LnA";     // no test for tail suppression


// ---------------------------- 
//   Output
//
ApplicationMgr.DLLs +={   "RootIo"}; 
Output.Members = {"FhSetAlg","mcRootWriterAlg", "digiRootWriterAlg", "reconRootWriterAlg"};

 // output levels, including suppression to allow debug, info
mcRootWriterAlg.OutputLevel=3;
digiRootWriterAlg.OutputLevel=3;
reconRootWriterAlg.OutputLevel=3;
ToolSvc.OutputLevel=3;    // too verbose in debug
CalClustersAlg.OutputLevel=4; // too much info
TkrClusFirst.OutputLevel=4;
CalDigiAlg.OutputLevel=4;
TkrAlignmentSvc.OutputLevel=4;
TkrGeometrySvc.OutputLevel=4;
EbfWriter.OutputLevel=4;
ToolSvc.LastLayerCorrTool.OutputLevel=4; 
ToolSvc.OutputLevel=4;
CalXtalRecAlg.OutputLevel=4;
AcdReconAlg.OutputLevel=4;  // supress INFO complaint about no tracks 
    
// Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
MessageSvc.OutputLevel = 3;

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

                     

 

Last updated by: Chuck Patterson 06/22/2005