--- yoda/event/CalibCalPedEvent.h 2004/08/19 15:24:10 1.3 +++ yoda/event/CalibCalPedEvent.h 2005/05/07 08:48:25 4.1 @@ -5,7 +5,12 @@ namespace pamela { /** - * Information events about the CalibCalPed. + * CalibCalPed data Wrapper. + * + * The pamela::CalibCalPed packet is the answer to a calibration session of the Tracker. + * It is the result of the mean over ~1000 events without particles (how this is done, is out of the + * scope of the document, but mostly should be executed at an high rate while PAMELA is passing over + * the Earth Equator). */ class CalibCalPedEvent: public pamela::SubPacket { private: @@ -13,16 +18,65 @@ public: CalibCalPedEvent(void); - int IEV2; - int calped[4][11][96]; - int calgood[4][11][96]; - int calthr[4][11][6]; - int calrms[4][11][96]; - int calbase[4][11][6]; - int calvar[4][11][96]; - int calpuls[4][11][96]; + /** + * A Counter. + */ + int iev; - ClassDef(CalibCalPedEvent, 1) + /** + * The Status Word of each section. + */ + int cstwerr[4]; + + /** + * The Error Code for each section. + */ + float cperror[4]; + + /** + * The pedestal value (ADC) for each strip in the calorimeter. + * The array represent the 4 sections x 11 layers x 96 strips composing the calorimeter. + */ + float calped[4][11][96]; + + /** + * Define if the strip is used or not in the baseline calculation. + * The array represent the 4 sections x 11 layers x 96 strips composing the calorimeter. + * Description:
+ * 0x00: The strip was used.
+ * 0xFF: The strip was NOT used.
+ */ + float calgood[4][11][96]; + + /** + * The hardware ADC thresholds for the preamplifiers. + * The array represent the 4 sections x 11 layers x 6 amplifiers composing the calorimeter. + */ + float calthr[4][11][6]; + + /** + * The pedestal RMS value for each strip in the calorimeter. + * The array represent the 4 sections x 11 layers x 96 strips composing the calorimeter. + */ + float calrms[4][11][96]; + + /** + * The hardware ADC baseline for the preamplifiers. + * The array represent the 4 sections x 11 layers x 6 amplifiers composing the calorimeter. + */ + float calbase[4][11][6]; + + /** + * The variance of the baselines for the preamplifiers. + * The array represent the 4 sections x 11 layers x 6 amplifiers composing the calorimeter. + */ + float calvar[4][11][6]; + + + float calpuls[4][11][96]; + UINT8 unpackError; + + ClassDef(CalibCalPedEvent, 2) }; }