1 / 9

Framework

Framework. Framework is a system that provides the user with a common interface and methodology for doing event analysis. Framework passes event data from package to package in the order and configuration specified by the user at run time. Definitions.

step
Télécharger la présentation

Framework

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Framework • Framework is a system that provides the user with a common interface and methodology for doing event analysis. • Framework passes event data from package to package in the order and configuration specified by the user at run time. P. Demine (ISN Grenoble)

  2. Definitions • Package: a user-written application program that conforms to the framework package interface definition and usually designed to perform a reconstruction activity using data in an event. • RCP: Run Control Parameters. RCP is a list of parameters that are used to configure a user package. P. Demine (ISN Grenoble)

  3. Setting up environment • setup n32 (IRIX only !) • setup D0RunII t01.45.00 (a release version) • setup d0cvs • cd <workdir> (your development area) • newrel -t t01.45.00 <topdir> (setup release directory structure) • cd <topdir> • d0setwa (initialize local RCP DB) P. Demine (ISN Grenoble)

  4. Running the Framework • Copy framework rcp file and package rcp files to working directory. • Run framework program. Give framework rcp file on command line: > MyProgram.x -rcp framework.rcp • Use -help option or run program without any options to see list of supported options. P. Demine (ISN Grenoble)

  5. Working Area working area framework.rcp *.dat package1 rcp *.rcp package2 rcp *.rcp P. Demine (ISN Grenoble)

  6. The Framework RCP File stringInterfaceName = "process" stringInterfaces = "generator decide builder filter modify analyze process dump jobSummary runEnd runInit" stringFlow = "generator decide builder filter modify process analyze dump" // Packages to be run in RECO stringPackages = "init read cfgm unpack det gtr vtx pid analyze write fini" RCPinit = <d0reco reco_init> // Initialize reco RCPread = <d0reco D0recoReadEvent>// ReadEvent RCPcfgm = <run_config_mgr run_config_mgr_mc>// Configuration manager RCPunpack = <d0reco reco_unpack_mcraw> // Unpack for raw data RCPdet = <d0reco reco_det> // Detectorreco RCPgtr = <d0reco reco_gtr> // Track reconstruction RCPvtx = <d0reco reco_vtx> // Vertex reconstruction RCPpid = <d0reco reco_pid> // Particlereco RCPanalyze = <d0reco reco_analyze> RCPwrite = <d0reco D0recoWriteEvent>// WriteEvent RCPfini = <d0reco reco_fini> // Finish up intDumpPeriod = 1 P. Demine (ISN Grenoble)

  7. Commonly Used Packages • Packages available in io_packageslibrary: • ReadEvent • Read events from DØOM file. • NewEvent • Create an empty edm event. • MergeEvents • Merge events from several generators (copies chunks). • DropChunks • Drop chunks by name (builder hook). • WriteEvent • Write DØOM format file. • DumpEvent • Produce an ascii dump of edm events using method. P. Demine (ISN Grenoble)

  8. Links • General: • www-d0.fnal.gov/~schelma/d0cpp/d0cpp.html • Framework: • www-d0.fnal.gov/run2_offline_software/framework/framework.html • www-d0.fnal.gov/d0dist/dist/releases/test/framework/doc/ • RCP: • cdspecialproj.fnal.gov/d0/rcp/index.html • SAM: • d0db.fnal.gov/sam • mc_runjob: • clued0.fnal.gov/mc_runjob/mainframe.html • Event Display: • www-d0.fnal.gov/computing/graphics/d0graphics.html P. Demine (ISN Grenoble)

  9. Links • EDM: • cdspecialproj.fnal.gov/d0/edm/index.html • Coding: • www-d0.fnal.gov/~jkrane/docs/tracking/run2coding.html • CTEST: • www-d0.fnal.gov/software/cmgt/ctest/ctest200.ps • CVS: • www-d0.fnal.gov/~schelma/runII_cvs/ P. Demine (ISN Grenoble)

More Related