Common RawDataObject to be used on- and off-line.
Common RawDataObject to be used on- and off-line.Purpose: encapsulate the "flat" arrays of the Dynamic classes (online) and replace the STAF table mEmcRawData (offline).
It derives from TObject so it can be written in a TTree using the PHNodeIOManager of PHOOL.
FIXME ? Here are some things to keep in mind :
- The data map is not written for the moment, which means that this object alone is useless, i.e. you need to know which was the configuration used to create it. Can we imagine a global way of solving this problem ? -> see the Streamer method in the implementation file for the chosen solution so far (which requires an emcRawDataAccessor object to have been already built).
- The LG and HG values are not to be found in this object (see emcMixedDataObject if you need those)
- The Streamer function is a custom one, which means that if you ever make changes in the data members, you MUST check that the Streamer is still valid.
Float_t GetHGPost(Int_t index) const
Float_t GetHGPre(Int_t index) const
Float_t GetLGPost(Int_t index) const
Float_t GetLGPre(Int_t index) const
Float_t GetTAC(Int_t index) const
Int_t GetAMUPost(Int_t index) const
Int_t GetAMUPre(Int_t index) const
Int_t GetAMUTAC(Int_t index) const
Int_t GetNumberOfWordsPerFEM(void) const
Alphabetic index HTML hierarchy of classes or Java