Use of AIDA in tests and examples Andreas Pfeiffer CERN IT/API - - PowerPoint PPT Presentation

use of aida in tests and examples
SMART_READER_LITE
LIVE PREVIEW

Use of AIDA in tests and examples Andreas Pfeiffer CERN IT/API - - PowerPoint PPT Presentation

Use of AIDA in tests and examples Andreas Pfeiffer CERN IT/API andreas.pfeiffer@cern.ch Andreas Pfeiffer, CERN/IT-API, Geant-4 WS, Oct-2002 1 andreas.pfeiffer@cern.ch Design choices ? Analysis is based on AIDA Independence of


slide-1
SLIDE 1

Geant-4 WS, Oct-2002 Andreas Pfeiffer, CERN/IT-API, andreas.pfeiffer@cern.ch 1

Use of AIDA in tests and examples

Andreas Pfeiffer CERN IT/API andreas.pfeiffer@cern.ch

slide-2
SLIDE 2

Geant-4 WS, Oct-2002 Andreas Pfeiffer, CERN/IT-API, andreas.pfeiffer@cern.ch 2

Design choices

?

Analysis is based on AIDA

Ñ

Independence of implementation: Anaphe, JAS, OpenScientist can be used interchangeably without changing code

?

All analysis is concentrated in a Singleton

Ñ

Eases access from several different classes

?

Analysis is done in the User* classes, the Singleton only provides access to the analysis objects

Ñ

Histograms, tuple

slide-3
SLIDE 3

Geant-4 WS, Oct-2002 Andreas Pfeiffer, CERN/IT-API, andreas.pfeiffer@cern.ch 3

Analysis in GammaRayTel design

GammaRay Telescope advanced example Analysis

IHistogram GammaRayTelAnalysisMessenger IHistogram1D IHistogram2D ITuple ITree IAnalysisFactory IPlotter GammaRayTelAnalysis analysisFactory:IAnalysisFactory* tree : ITree* plotter : IPlotter* tuple : ITuple* energy : IHistogram1D * hits : IHistogram1D * posXZ : IHistogram2D* posYZ : IHistogram2D* BeginOfRun() EndOfEvent() EndOfRun() Finish() <<Singleton>> AP, MGP November 2001 GammaRayTelDetectorConstruction solidWorld : G4Box* solidPayload : G4Box* solidTKR : G4Box* solidCAL : G4Box* solidACT : G4Box* solidACL1 : G4Box* solidACL2 : G4Box* solidTKRDetectorX : G4Box* solidTKRDetectorY : G4Box* solidCALLayerX : G4Box* solidCALLayerY : G4Box* solidCALDetectorX : G4Box* solidCALDetectorY : G4Box* solidPlane : G4Box* solidConverter : G4Box* magField : G4UniformMagField*

  • energy
  • hits
  • posXZ
  • posYZ
  • tuple
  • tree
  • analysisFactory
  • plotter

File: D:\Anaphe\Rose\gammarayTel.mdl 11:22:07 AM Monday, July 01, 2002 Class Diagram: gammaray_telescope / Analysis Page 1

From AIDA 2.2 Analysis

slide-4
SLIDE 4

Geant-4 WS, Oct-2002 Andreas Pfeiffer, CERN/IT-API, andreas.pfeiffer@cern.ch 4

GammaRayTelAnalysis

?

See details of GammaRayTelAnalysis.hh/cc

Ñ

==> editor