Feature #48

THaSpectrometer/THaTrack should be made abstract base classes

Added by Ole Hansen over 3 years ago. Updated over 3 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-Estimated time:8.00 hours
Target version:1.7Spent time:-
Responsible:

Description

THaSpectrometer is currently limited to generating THaTrack objects. THaTracks, in turn, describe tracks in TRANSPORT style, appropriate for small-acceptance focusing spectrometers. Other spectrometer types are conceivable, for example 4pi detectors for which spherical coordinates are best suited, or SoLID with its cylindrical coordinate system. One might even want a different type of tracks for focusing spectrometers than THaTrack.

To support this, turn THaSpectrometer into a base class for various spectrometer classes that differ by the tracks that they generate. Similarly, THaTrack should become a base class for various types of tracks. Common among all tracks is that they represent physics 4-vectors at the vertex; everything else is specific to the spectrometer type.


Related issues

Related to Feature #49: THaHRS algorithm reorganization In Progress

History

#1 Updated by Ole Hansen over 3 years ago

  • Related to Feature #49: THaHRS algorithm reorganization added

#2 Updated by Ole Hansen over 3 years ago

  • Estimated time set to 8.00

#3 Updated by Ole Hansen over 3 years ago

  • Start date deleted (11/01/2013)

Also available in: Atom PDF