#ifndef HPHYSICSHISTFILLER_H #define HPHYSICSHISTFILLER_H #include "TNamed.h" class HParamList; class HOnlineMonHistAddon; class HOnlineMonHist; class HOnlineMonHist2; class HOnlineTrendHist; class HOnlineTrendArray; class HOnlineHistArray; class HOnlineHistArray2; class HIterator; class TList; class TArrayI; class TString; class HSplineTrack; class HMdcTrkCand; class HMdcSeg; class HTofHit; class HShowerHitTof; class HRichHit; /** Class to fill Physics histograms. * This class is responible of booking, creating * and filling of the Physics histograms. The fill * functions are called by HOnlinePhysicsMon or HOnlineSerser. * All actions on the histograms have to go through * HOnlinePhysicsHistBooker and HOnlinePhysicsHistFiller. */ class HOnlinePhysicsHistFiller : public TNamed { protected: // Histpointers static HOnlineHistArray* hphimdctof; static HOnlineHistArray* hphimdctofino; static HOnlineHistArray* hphimdcrich; static HOnlineHistArray2* hdedxmdc; static HOnlineHistArray2* hdedxtof; static HOnlineHistArray2* hdedxtofino; static HOnlineMonHistAddon* hphimdctofA; static HOnlineMonHistAddon* hphimdctofinoA; static HOnlineMonHistAddon* hphimdcrichA; static HOnlineMonHistAddon* hdedxmdcA; static HOnlineMonHistAddon* hdedxtofA; static HOnlineMonHistAddon* hdedxtofinoA; // Colors static TArrayI colorsSector; ///< colors for hists to be compared in modules public: HOnlinePhysicsHistFiller(const Char_t* name ="PhysicsHistFiller", const Char_t* title ="parameters for Physics hists"); ~HOnlinePhysicsHistFiller(); /// put parameter to the list of HParCond void putPhysicsParams(HParamList*,TList*); /// get parameter from list of HParCond Bool_t getPhysicsParams(HParamList*,TList*,TList*); /// fills dEdx of Mdc void fillMdcDeDx(HSplineTrack* spline,HMdcTrkCand* trk); void fillTofDeDx(HSplineTrack* spline,HTofHit* tofhit); void fillTofinoDeDx(HSplineTrack* spline,HShowerHitTof* tofhit); void fillMdcTofPhi(HMdcSeg* seg,HTofHit* tofhit); void fillMdcTofinoPhi(HMdcSeg* seg,HShowerHitTof* tofhit); void fillMdcRichPhi(HMdcSeg* seg,HRichHit* richhit); ClassDef(HOnlinePhysicsHistFiller,1) // Container for the Physics Hists }; #endif /*!HPHYSICSHISTFILLER_H*/