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

FarmListModule.h

Go to the documentation of this file.
00001 
00002 // $Id: FarmListModule.h,v 1.6 2008/01/17 20:00:56 bspeak Exp $
00003 //
00004 // FarmListModule
00005 //
00006 // Author: B. Speakman 2004.09.03
00007 //
00009 #ifndef FARMLISTMODULE_H
00010 #define FARMLISTMODULE_H
00011 
00012 #include "TObject.h"
00013 #include "JobControl/JobCModule.h"
00014 
00015 class VldContext;
00016 class VldTimeStamp;
00017 
00018 class FarmListModule : public JobCModule, public TObject {
00019 public:
00020   FarmListModule();
00021  ~FarmListModule();
00022 
00023   JobCResult Ana(const MomNavigator *mom);
00024   void BeginJob();
00025   void EndJob();
00026 
00027   const Registry& DefaultConfig() const;
00028   void Config(const Registry& r);
00029 
00030 private:
00031   void FarmFileOUT();
00032 
00033   Int_t fRun;
00034   Short_t fSubRun;
00035 
00036   Int_t fMaxPlane[3];
00037 
00038   //Event counters
00039   UInt_t fNSnarl;
00040 
00041   //Trigger counters
00042   UInt_t fNTrigPlane;
00043   UInt_t fNTrigActivity;
00044   UInt_t fNTrigE4;
00045   UInt_t fNTrigSpill;
00046   UInt_t fNTrigSpillIP;
00047 
00048   VldTimeStamp fStartTime;
00049   VldTimeStamp fEndTime;
00050   Detector::Detector_t fDet;
00051 
00052   Bool_t fRunOUT;
00053 
00054   //Configurables
00055   UInt_t fMinSecond;
00056   UInt_t fMinSnarl;
00057   UInt_t fMinTrigPlane;
00058   UInt_t fMinTrigActivity;
00059   UInt_t fMinTrigE4;
00060   UInt_t fMinTrigSpill;
00061   UInt_t fMinTrigSpillIP;
00062 
00063   std::string fMFileName;
00064   std::string fMFileDir;
00065   Bool_t fMonthlyMFileDir;
00066   Bool_t fAppendMFile;
00067   std::ios_base::openmode fMFileOutMode;
00068 
00069   std::string fSFileName;
00070   std::string fSFileDir;
00071   Bool_t fMonthlySFileDir;
00072   Bool_t fAppendSFile;
00073   std::ios_base::openmode fSFileOutMode;
00074 
00075   ClassDef(FarmListModule,1)
00076 };
00077 #endif//FARMLISTMODULE_H

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