ITTF Program Flow - PowerPoint PPT Presentation

About This Presentation
Title:

ITTF Program Flow

Description:

Title: PowerPoint Presentation Author: michael miller Last modified by: michael miller Created Date: 3/2/2002 7:12:51 PM Document presentation format – PowerPoint PPT presentation

Number of Views:52
Avg rating:3.0/5.0
Slides: 8
Provided by: michael3241
Learn more at: https://www.star.bnl.gov
Category:

less

Transcript and Presenter's Notes

Title: ITTF Program Flow


1
ITTF Program Flow
  • Mike Miller
  • Yale University

2
Outline
  • ITTF Objects
  • Dependencies
  • StEvent, StMcEvent, StAssociationMaker
  • StarClassLibrary
  • namespace std
  • Libraries
  • Sti (portable, bulk of classes)
  • StiMaker (Plug into Maker Scheme)
  • StiEvalutor (ROOT dependent)
  • StiGui (ROOT dependent)
  • General Flow chart
  • Specific Flow chart
  • StiMakerInit()
  • StiMakerClear()
  • StiMakerMake()
  • Current Chain Management

3
General Flowchart
4
Specific Flowchart (I)
  • StiMakerInit()
  • Access singleton instance of StiIOBroker
  • Dynamic run-time parameters
  • Instantiate template ltclass Tgt StiFactoryltTgt
    objects
  • Transient objects
  • StiHit, Sti(Drawable)KalmanTrack,
    Sti(Drawable)Detector, StiCompositeTreeNode,
    StiKalmanTrackNode
  • Instantiate singleton StiGeometryTransform
  • Instantiate StiHitContainer
  • Instantiate StiHitFiller
  • Instantiate StiTrackContainer
  • If GUI instantiate StiDisplayManager
  • Instantiate StiDetectorContainer
  • Build geometry model from DB
  • Instantiate StiCompositeSeedFinder
  • Instantiate StiEvaluator
  • Instantiate StiTrackMerger
  • Instantiate StiKalmanTrackFinder
  • All calls to operator new() here

5
Specific Flowchart (II)
  • StiMakerclear()
  • Clear all containers
  • All STL containers
  • clear() does not necessarily free memory
  • We use default STL allocators
  • Clear all factories
  • Does not necessarily free memory
  • Reset GUI display
  • No calls to operators new or delete

6
Specific Flowchart (III)
  • StiMakerMake()
  • StiHitFillerfillHits(StiHitContainer,
    StEvent)
  • Convert to ITTF coordinate system.
  • 5 cpu sec/central event (interactive)
  • Can be removed w/ minor modifications to StHit
  • StiKalmanTrackFinderfindTracks()
  • while (mSeedFinder-gthasMore())
  • StiTrack t mSeedFinder-gtnext()
  • findTrack(t)
  • if (mTrackFilter-gtaccept(t))
  • mTrackStore-gtpush_back(t)
  • StiTrackMergermergeSplitTracks()
  • StiEvaluatorevaluateForEvent()
  • StiStEventFillerfillEvent(StEvent)
  • No calls to operators new and delete

7
Chain Management
  • Currently done in stand alone macro
  • doEvents -gt RunStiMaker
  • We do not currently run bfc.
Write a Comment
User Comments (0)
About PowerShow.com