00001 //////////////////////////////////////////////////////////////////////// 00002 /// $Id: AEMPlots.h,v 1.4 2005/08/15 17:31:32 hmeyer Exp $ 00003 /// 00004 /// Class which defines histograms with MIPP statistics 00005 /// 00006 /// hmeyer@fnal.gov 00007 //////////////////////////////////////////////////////////////////////// 00008 00009 00010 #ifndef AEM_PLOTS_H 00011 #define AEM_PLOTS_H 00012 00013 #include <string> 00014 #include "TH1D.h" 00015 #include "TH2D.h" 00016 #include "AEMDBInterface.h" 00017 00018 //---------------------------------------------------------------------- 00019 00020 class AEMPlots { 00021 public: 00022 AEMPlots(); 00023 ~AEMPlots(); 00024 00025 void FillWeek(long fEpochStart, DBRunEntries& fRuns); 00026 void FillTotal(long fEpochStart, DBRunEntries& fRuns); 00027 00028 private: 00029 TH1D* fAEMWeekSpills; //number of (spills per hour) vs hour for the week 00030 TH1D* fAEMWeekSpillTime; //number of spill-seconds per hour for the week 00031 TH1D* fAEMWeekEvents; //number of in-spill events vs hour for the week 00032 TH1D* fAEMWeekRate; //events per second during data taking vs hour 00033 TH1D* fAEMTotalSpills; //number of (spills per hour) vs hour 00034 TH1D* fAEMTotalSpillTime; //number of spill-seconds per hour 00035 TH1D* fAEMTotalEvents; //number of in-spill events vs hour 00036 TH1D* fAEMTotalRate; //events per second during data taking vs hour 00037 TH2D* fAEMWeekData; //weely integrated data over targets and momenta 00038 TH2D* fAEMTotalData; //Total integrated data over targets and momenta 00039 TH1D* fAEMRateDist; //Distribution of DAQ rate 00040 }; 00041 00042 #endif // AEM_PLOTS_H 00043 00044 ////////////////////////////////////////////////////////////////////////
1.4.7