* @param gainDA Object to copy from
*/
AliFMDGainDA(const AliFMDGainDA & gainDA) ;
+ /**
+ * Assignment operator
+ *
+ * @param gainDA Object to assign from
+ */
+ AliFMDGainDA& operator=(const AliFMDGainDA&) { return *this; }
/**
* Destructor
*
void AddChannelContainer(TObjArray* sectorArray,
UShort_t det, Char_t ring,
UShort_t sec, UShort_t strip);
+ /**
+ * Add summary(s) for sectors
+ *
+ * @param secArray
+ * @param det
+ * @param ring
+ * @param sector
+ * @param nStrip
+ */
+ virtual void AddSectorSummary(TObjArray* secArray, UShort_t det,
+ Char_t ring, UShort_t sector,
+ UShort_t nStrip);
/**
* Fill channel histogram
*
/**
* Analyse the result
*
- * @param det Detector #
- * @param ring Ring identifier
- * @param sec Sector number
- * @param strip Strip number
+ * @param det Detector #
+ * @param ring Ring identifier
+ * @param sec Sector number
+ * @param strip Strip number
+ * @param h Summary histogram with bins for sector and strip
*/
void Analyse(UShort_t det, Char_t ring, UShort_t sec, UShort_t strip);
/**
* @param dummy Not used
*/
void Terminate(TFile* dummy);
-
+ /**
+ * Initialize container
+ *
+ * @param dir Directory to make containers in
+ */
+ virtual void InitContainer(TDirectory* dir);
+
private:
/**
* Get the channel histogram
* @param det Detector #
* @param ring Ring identifier
* @param sec Sector number
- * @param strip Strip number
+ * @param va VA chip number
*
* @return Histogram
*/
TH1S* GetChannelHistogram(UShort_t det, Char_t ring, UShort_t sec,
- UShort_t strip);
+ UShort_t va);
/**
* Get strip graph
*
*/
TGraphErrors* GetChannel(UShort_t det, Char_t ring,
UShort_t sec, UShort_t strip);
- TObjArray fGainArray; // Array of gains
+ /**
+ * Get the summary for a sector
+ *
+ * @param det Detector
+ * @param ring Ring
+ * @param sec Sector
+ * @param pedNotNoise Option
+ *
+ * @return histogram
+ */
+ TH1F* GetSectorSummary(UShort_t det, Char_t ring, UShort_t sec);
Int_t fHighPulse; // Highest pulse
TArrayS fEventsPerChannel; // # of events per pulse step
TArrayS fCurrentPulse; // The current pulse size
TH1F fSummaryGains; // Summary histogram
Int_t fCurrentSummaryStrip; // Current strip for summary
+
+ void MakeSummary(UShort_t det, Char_t ring);
+
+ TH2* fGainFMD1i; // AMORE DQM histogram
+ TH2* fGainFMD2i; // AMORE DQM histogram
+ TH2* fGainFMD2o; // AMORE DQM histogram
+ TH2* fGainFMD3i; // AMORE DQM histogram
+ TH2* fGainFMD3o; // AMORE DQM histogram
+ TH2* fChi2FMD1i; // AMORE DQM histogram
+ TH2* fChi2FMD2i; // AMORE DQM histogram
+ TH2* fChi2FMD2o; // AMORE DQM histogram
+ TH2* fChi2FMD3i; // AMORE DQM histogram
+ TH2* fChi2FMD3o; // AMORE DQM histogram
ClassDef(AliFMDGainDA,0) // Detector algorithm for gain runs