use of aida in tests and examples
play

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


  1. 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

  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 Andreas Pfeiffer, CERN/IT-API, Geant-4 WS, Oct-2002 2 andreas.pfeiffer@cern.ch

  3. Analysis in GammaRayTel design GammaRay Telescope advanced example Analysis From AIDA 2.2 Analysis GammaRayTelAnalysisMessenger <<Singleton>> GammaRayTelAnalysis -hits IHistogram1D analysisFactory:IAnalysisFactory* tree : ITree* -energy plotter : IPlotter* tuple : ITuple* energy : IHistogram1D * IHistogram hits : IHistogram1D * -posXZ posYZ : IHistogram2D* posXZ : IHistogram2D* IHistogram2D GammaRayTelDetectorConstruction -posYZ BeginOfRun() solidWorld : G4Box* solidPayload : G4Box* EndOfEvent() solidTKR : G4Box* EndOfRun() solidCAL : G4Box* -tuple solidACT : G4Box* Finish() solidACL1 : G4Box* AP, MGP ITuple November 2001 solidACL2 : G4Box* solidTKRDetectorX : G4Box* solidTKRDetectorY : G4Box* solidCALLayerX : G4Box* -analysisFactory solidCALLayerY : G4Box* -plotter -tree solidCALDetectorX : G4Box* IAnalysisFactory IPlotter solidCALDetectorY : G4Box* ITree solidPlane : G4Box* solidConverter : G4Box* magField : G4UniformMagField* File: D:\Anaphe\Rose\gammarayTel.mdl 11:22:07 AM Monday, July 01, 2002 Class Diagram: gammaray_telescope / Analysis Page 1 Andreas Pfeiffer, CERN/IT-API, Geant-4 WS, Oct-2002 3 andreas.pfeiffer@cern.ch

  4. GammaRayTelAnalysis ? See details of GammaRayTelAnalysis.hh/cc Ñ ==> editor Andreas Pfeiffer, CERN/IT-API, Geant-4 WS, Oct-2002 4 andreas.pfeiffer@cern.ch

Recommend


More recommend