--- yoda/event/CalibTrk1Event.h 2004/08/19 15:24:10 1.3
+++ yoda/event/CalibTrk1Event.h 2006/02/07 17:11:06 6.0
@@ -5,31 +5,112 @@
namespace pamela {
/**
- * Information events about the CalibTrk1.
+ * CalibTrk1 data Wrapper.
+ *
+ * The pamela::CalibTrk1 packet is the answer to a calibration session of half-sight of Tracker.
+ * The pedestal for each ladder is calculated dividing the 1024 strips composing each ladder in
+ * blocks of 128 strips each. The mean of the sum of the blocks divided by 4 give the ped_lX value
+ * for each ladder.
*/
class CalibTrk1Event: public pamela::SubPacket {
private:
public:
CalibTrk1Event(void);
- int DAQmode[6];
- int DSPnumber[6];
- int calibnumber[6];
- int ncalib_event[6];
- int ped_l1[6];
- int ped_l2[6];
- int ped_l3[6];
- int sig_l1[6];
- int sig_l2[6];
- int sig_l3[6];
- int nbad_l1[6];
- int nbad_l2[6];
- int nbad_l3[6];
- int cal_flag[6];
- int DSPped_par[6][3072];
- float DSPsig_par[6][3072];
- float DSPbad_par[6][3072];
- ClassDef(CalibTrk1Event, 1)
+ int good0;
+
+ /**
+ * The acquisition mode of the Tracker; each element concerns a different plane.
+ */
+ int DAQmode[6];
+
+ /**
+ * The DSP number of the Tracker; each element concerns a different plane.
+ * If the element is 0 the DSP is not working.
+ */
+ int DSPnumber[6];
+
+ /**
+ * The Calibration number; each element concerns a different plane.
+ */
+ int calibnumber[6];
+
+ /**
+ * Counter of event?s number used for calibration; each element concerns a different plane.
+ */
+ int ncalib_event[6];
+
+ /**
+ * Pedestal values for Ladder1; each element concerns a different plane.
+ */
+ int ped_l1[6];
+
+ /**
+ * Pedestal values for Ladder2; each element concerns a different plane.
+ */
+ int ped_l2[6];
+
+ /**
+ * Pedestal values for Ladder3; each element concerns a different plane.
+ */
+ int ped_l3[6];
+
+ /**
+ * The Sigma values for the ped_l1 values; each element concerns a different plane.
+ */
+ int sig_l1[6];
+
+ /**
+ * The Sigma values for the ped_l2 values; each element concerns a different plane.
+ */
+ int sig_l2[6];
+
+ /**
+ * The Sigma values for the ped_l3 values; each element concerns a different plane.
+ */
+ int sig_l3[6];
+
+ /**
+ * The number of bad strips for the ped_l1 values; each element concerns a different plane.
+ */
+ int nbad_l1[6];
+
+ /**
+ * The number of bad strips for the ped_l2 values; each element concerns a different plane.
+ */
+ int nbad_l2[6];
+
+ /**
+ * The number of bad strips for the ped_l3 values; each element concerns a different plane.
+ */
+ int nbad_l3[6];
+
+ /**
+ * Calibration validity check; each element concerns a different plane.
+ * Description:
+ * 1: The calibration is bad.
+ * 0: The calibration is ok.
+ */
+ int cal_flag[6];
+
+ /**
+ * The value of the pedestal for each strip (3072 strips in 6 planes).
+ */
+ float DSPped_par[6][3072];
+
+ /**
+ * The value of the Sigma for each strip (3072 strips in 6 planes).
+ */
+ float DSPsig_par[6][3072];
+
+ /**
+ * Identify which strip is bad (3072 strips in 6 planes).
+ */
+ int DSPbad_par[6][3072];
+ int crc_cal[6][3];
+ int crc_hcal[6];
+ UINT8 unpackError;
+ ClassDef(CalibTrk1Event, 5)
};
}