Gleam jobOptions File:  LDF Input, Digi Output

The following jobOptions.txt file reads an LDF or FITS-wrapped LDF file and produces a digi.root file in your work directory that contains the digitized detector data.

Notes:

  • The jobOptions file in this example specifies the input FITS file: 

digitization-v3r1p0_135000827_ldf_LDF.fits

which can be found in your local copy of the LatIntegration package's data directory, or through CVS web.

  • When running Gleam, if the FITS file is not in your working directory, you will have to update the following parameter in order to to provide a full path to the input file:

    EventSelector.InputList = {"digitization-v3r1p0_135000827_ldf_LDF.fits"};

  • For the most recent jobOptions example in use by the pipeline for converting LDF files into digi ROOT, please see the latest version of:

    LatIntegration/src/jobOptions/pipeline/ldf2digi.txt

Gleam jobOptions.txt: LDF to Digi

// Primary DLLs, including auditor:
//
ApplicationMgr.DLLs   += {"GaudiAlg",
                          "GaudiAud"};
ApplicationMgr.ExtSvc += {"ChronoStatSvc"};
AuditorSvc.Auditors    = {"ChronoAuditor"};

//
// A structure for the topalg,
// using sequencer steps:
//
ApplicationMgr.TopAlg = {"Sequencer/Top"};

//
// Define the top sequence loop:
//
Top.Members = {"Sequencer/Triggered"};

//
// Define the Triggered sequence:
//
Triggered.Members = {"Sequencer/Trigger",
                     "Sequencer/Output"};

//
// Services:
//
ApplicationMgr.DLLs    += {"GlastSvc"};
ApplicationMgr.ExtSvc  += {"GlastDetSvc"};
GlastDetSvc.topVolume   = "LAT";
GlastDetSvc.visitorMode = "recon";

//
// Define the Trigger sequence:
//
ApplicationMgr.DLLs += {"Trigger"};
Trigger.Members      = {"TriggerAlg"};

//
// Trigger mask: Accept all events!
//
TriggerAlg.mask = 0;

//
// Define the Output sequence:
//
ApplicationMgr.DLLs += {"RootIo"};
Output.Members       = {"FhSetAlg","digiRootWriterAlg"};

//
// Use the LDF converter service
// to read in LDF files:
//
ApplicationMgr.DLLs   += {"LdfConverter"};
ApplicationMgr.ExtSvc += {"LdfEventSelector/EventSelector","LdfCnvSvc/EventCnvSvc"};

//
// Services:
//
EventPersistencySvc.CnvServices = {"EventCnvSvc"};

//
// Instrument:
//
EventSelector.Instrument = "LAT";

//
// Checking for GEM Conditions Summary Word == 0:
//
EventSelector.GemZeroCheck = 1;

//
// The following things can be changed by the user:
//

//
// Set output level threshold:
// 2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL
//
MessageSvc.OutputLevel = 3;

//
// Number of events:
//
ApplicationMgr.EvtMax = 1000000000;

//
// Geometry:
//
GlastDetSvc.xmlfile = "$(XMLGEODBSROOT)/xml/flight/flightSegVols.xml";

//
// fits2digi: Use 'LDFFILE' for ldf2digi
//            and 'LDFFITS' for fits2digi! 
//
EventSelector.StorageType = "LDFFITS";

//
// Input Fits/LDF file:
//
EventSelector.InputList = {"digitization-v3r1p0_135000827_ldf_LDF.fits"};

//
// Output ROOT digi file:
//
digiRootWriterAlg.digiRootFile = "digi.root";

 

Owned by: Heather Kelly

Last updated by: Chuck Patterson 06/21/2005