GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » small redesign of EMC mapper (rev. 8162)
small redesign of EMC mapper (rev. 8162) [message #10464] Wed, 24 March 2010 14:24
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
Hi all,

I made small redesign of EMC mapper. All the modifications are internal and interface is left unchanged.

Main idea was to implement all the possible mappings not in single "if-else", but as subclasses of PndEmcMapper. It should simplify possible extension. And as a result different subclasses of PndEmcMapper are instantiated depending on the mapper version. So it's something motivated by Factory Design Pattern.

Best regards,

Dima
 
Read Message
Previous Topic: EMC energy & theta corrections for photons
Next Topic: Modifications in EMC classes
Goto Forum:
  


Current Time: Thu Mar 28 19:14:40 CET 2024

Total time taken to generate the page: 0.01303 seconds