+private:
+ /**
+ * Get the histogram corresponding to a strip sample.
+ *
+ * @param det Detector
+ * @param ring Ring
+ * @param sec Sector
+ * @param strip Strip
+ * @param sample Sample
+ *
+ * @return ADC spectra of a strip.
+ */
+ TH1S* GetChannel(UShort_t det, Char_t ring, UShort_t sec,
+ UShort_t strip, UInt_t sample);
+ /**
+ * Calculate the hardware index
+ *
+ * @param ddl DDL number
+ * @param board Board number
+ * @param altro ALTRO number
+ * @param chan Channel number
+ *
+ * @return Index into hardware cache.
+ */
+ Int_t HWIndex(UShort_t ddl, UShort_t board, UShort_t altro,
+ UShort_t chan) const;
+ void FillinTimebins(std::ofstream& out, UShort_t ddl);
+ /** Current strip */
+ Int_t fCurrentChannel; //The current channel
+ /** Pedestal summary */
+ TH1F fPedSummary; //Summary of pedestals
+ /** Noise summary */
+ TH1F fNoiseSummary; //Summary of noises
+ /** Output file for zero-suppression for FMD1 */
+ std::ofstream fZSfileFMD1; //Stream for ZS FMD1
+ /** Output file for zero-suppression for FMD2 */
+ std::ofstream fZSfileFMD2; //Stream for ZS FMD2
+ /** Output file for zero-suppression for FMD3 */
+ std::ofstream fZSfileFMD3; //Stream for ZS FMD3
+ /** The minimum timebin seen for all channels */
+ TArrayS fMinTimebin; //minimum timebin
+ /** The maximum timebin seen for all channels */
+ TArrayS fMaxTimebin; //maximum timebin
+
+ void MakeSummary(UShort_t det, Char_t ring);
+
+ TH2* fSummaryFMD1i; //Summary of FMD1
+ TH2* fSummaryFMD2i; //Summary of FMD2I
+ TH2* fSummaryFMD2o; //Summary of FMD2O
+ TH2* fSummaryFMD3i; //Summary of FMD3I
+ TH2* fSummaryFMD3o; //Summary of FMD3O
+