Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CountPot.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #ifndef COUNTPOT_H
00009 #define COUNTPOT_H
00010 #include "TH1D.h"
00011 class TFile;
00012 
00013 #include "Validity/VldTimeStamp.h"
00014 
00015 #include "JobControl/JobCModule.h"
00016 
00017 class CountPot : public JobCModule
00018 {
00019 public:
00020   CountPot();
00021   ~CountPot();
00022 
00023 public:
00024   // Handle job status changes
00025   void BeginJob();
00026   void EndJob();
00027 
00028   // Analysis and Reconstruction methods
00029   JobCResult Ana(const MomNavigator* mom);
00030 
00031   // Module configuration
00032   const Registry& DefaultConfig() const;
00033   void            Config(const Registry& r);
00034 
00035 
00036 private:
00037   // Module configuration
00038   Double_t    fTimeGap;
00039   Double_t    fTimeBuffer;
00040   Double_t    fPOTcut;
00041   Double_t    fhIlo;
00042   Double_t    fhIhi;
00043 
00044   // Module member data
00045   void bookhist();
00046   void FillMBPOT();
00047 
00048   VldTimeStamp timestart; //start time of one minos physics run
00049   VldTimeStamp timeend;   //end time of one minos physics run
00050 
00051   VldTimeStamp timestart_month; //start time in the month;
00052   VldTimeStamp timeend_month;   //end time in the month;
00053 
00054   UInt_t year;   //figure out which month and year we are looking at
00055   UInt_t month;
00056   int begrun, begsubrun, begsnarl;
00057   int endrun, endsubrun, endsnarl;
00058 
00059   int     runtype;
00060   int     runtypepre;
00061 
00062   double  totpotmb;
00063   double  totpot;
00064   double  totpotphysics;
00065   double  totpotphysicst;
00066   double  totpotphysicsm;
00067   double  totpotphysicstm;
00068   double  totpotunknown;
00069   double  pot;
00070 
00071   TH1D*   potphys;
00072   TH1D*   potphys_t;
00073   TH1D*   potmb;
00074   TH1D*   hImb;
00075   VldTimeStamp yesterday;
00076   float   meanhI;
00077   float   potsum;
00078   TFile * fFile;
00079 };
00080 #endif // COUNTPOT_H
00081 

Generated on Mon Feb 15 11:06:33 2010 for loon by  doxygen 1.3.9.1