GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Data Analysis » flag for different data structures (data structures)
Re: flag for different data structures [message #18882 is a reply to message #18879] Tue, 12 January 2016 15:43 Go to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: 93.77.23*
Hi Michael,

There is no feature included yet.

I propose a following solution. According to the UCESB interface design we will have 2 separate readers for Tacquila and Tamex. So we can have 2 different data classes, which will be stored in TClonesArray by a reader. During the next stage, the TCAL calibration task will recognise which class is stored in the array, will do a cast to proper type and handle it accordingly. So no flag in the macro is needed.

In addition, if there are 2 - 3 common data members for Tacquila and Tamex data classes - it makes sense to create a common base class.

For the moment, you can create additional data class for Tamex. Then I will modify TCAL calibration tasks. Later we will decide wether a base class is needed.

Cheers,
Dima
 
Read Message
Read Message
Previous Topic: Ucesb Interface in R3BRoot
Next Topic: Data levels in R3Broot - suggestion
Goto Forum:
  


Current Time: Thu Apr 18 05:07:05 CEST 2024

Total time taken to generate the page: 0.01072 seconds