#ifndef HTOFINOHISTFILLER_H #define HTOFINOHISTFILLER_H #include "TNamed.h" class HParamList; class HOnlineMonHistAddon; class HOnlineMonHist; class HOnlineMonHist2; class HOnlineTrendHist; class HOnlineHistArray; class HOnlineTrendArray; class HOnlineHistArray2; class HTofinoRaw; class HTofinoCal; class TList; class TArrayI; class TString; class HIterator; /** Class to fill Tofino histograms. * This class is responible of booking, creating * and filling of the Tofino histograms. The fill * functions are called by HOnlineTofinoMon or HOnlineSerser. * All actions on the histograms have to go through * HOnlineTofinoHistBooker and HOnlineTofinoHistFiller. */ class HOnlineTofinoHistFiller : public TNamed { protected: // Histpointers static HOnlineHistArray* hhits_raw; //!< hist pointer static HOnlineHistArray* hprof; //!< hist pointer static HOnlineMonHist* hmulttdcall; //!< hist pointer static HOnlineMonHist2* hAdc; //!< hist pointer static HOnlineMonHist2* hTdc; //!< hist pointer static HOnlineHistArray* hTofinoShower; //!< hist pointer static HOnlineMonHist2* htofinomult_raw; //! static HOnlineMonHist2* htofinomulttemp_raw; //! static HOnlineTrendArray* htofinomulttrend_raw; //! static HOnlineMonHistAddon* hhits_rawA; //!< hist addon pointer static HOnlineMonHistAddon* hprofA; //!< hist addon pointer static HOnlineMonHistAddon* hmulttdcallA; //!< hist addon pointer static HOnlineMonHistAddon* hAdcA; //!< hist addon pointer static HOnlineMonHistAddon* hTdcA; //!< hist addon pointer static HOnlineMonHistAddon* hTofinoShowerA; //!< hist addon pointer static HOnlineMonHistAddon* htofinomult_rawA; //! static HOnlineMonHistAddon* htofinomulttemp_rawA; //! static HOnlineMonHistAddon* htofinomulttrend_rawA; //! // Colors static TArrayI colorsSector; ///< colors for hists to be compared in one plane static TArrayI colorsModule; ///< colors for hists to be compared in one sector static TArrayI colorsCuts; ///< colors for hists to be compared for cuts public: HOnlineTofinoHistFiller(const Char_t* name ="TofinoHistFiller", const Char_t* title ="parameters for Tofino hists"); ~HOnlineTofinoHistFiller(); /// put parameter to list of HParCond void putTofinoParams(HParamList*,TList*); /// get parameter to list of HParCond Bool_t getTofinoParams(HParamList*,TList*,TList*); /// fill raw histograms void fillRaw(HTofinoRaw*); /// fill raw cat histograms void fillRawCat(HIterator*); /// fill cal histograms void fillCal(HTofinoCal*); //Fill ShowerTofino correlation void fillShowerTofino(HIterator*,HIterator*); /// fill trend histograms void fillTrend(); ClassDef(HOnlineTofinoHistFiller,1) // Container for the Tofino Hists }; #endif /*!HTOFINOHISTFILLER_H*/