#ifndef HMDCCALIBRATIONGO4MON_H
#define HMDCCALIBRATIONGO4MON_H

#include "hreconstructor.h"
#include "TString.h"

class HCategory;
class HIterator;
class HMdcHistBooker;

/** Mdc Calibration monitor task.
 * Gets the pointers to the Mdc Categories and
 * loops over them calling the fill functions
 * of HMdcHistFiller.
*/
class HMdcCalibrationGo4Mon : public HReconstructor {
protected:

  //########################### COMMON VARIABLES ##########################################

  // pointer to categories and iterators
  HCategory* rawCat;        //!< pointer to the raw data
  HCategory* rawCatHeader;  //!< pointer to the raw data header

  HIterator* iterraw;       //!< iterator on raw data.
  HIterator* iterrawHeader; //!< iterator on raw data header.

  // pointer to used parameter containers
  static HMdcHistBooker* Histbooker;//!< pointer to HMdcHistBooker
  /// init variables
  void   initVariables();
  /// get pointers to the Mdc categories.
  /// Create the iterators for existing categories
  Bool_t getCategories();
  /// get the needed parameter containers
  void   setParContainers(void);
public:
  HMdcCalibrationGo4Mon(void);
  HMdcCalibrationGo4Mon(const Text_t* name,const Text_t* title);
  ~HMdcCalibrationGo4Mon(void);
  /// print the status of the monitor task to the screen
  void   printStatus();
  /// init the task
  Bool_t init(void);
  /// reinit the task
  Bool_t reinit(void);
  /// execute function called in the event loop
  Int_t  execute();
  /// finalize function of th task
  Bool_t  finalize();
  ClassDef(HMdcCalibrationGo4Mon,0) // fills different hists for cal1 data
};

#endif /* !HMDCCALIBRATIONGO4MON_H */

Last change: Sat May 22 13:00:34 2010
Last generated: 2010-05-22 13:00

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.