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

DemoEventDump.h

Go to the documentation of this file.
00001 
00002 // $Id: DemoEventDump.h,v 1.13 2005/06/03 20:52:42 rhatcher Exp $
00003 //
00005 #ifndef JOBCMODULE_H
00006 #include "JobControl/JobCModule.h"
00007 #endif
00008 
00009 #include <string>
00010 using std::string;
00011 
00012 class JobCommand;
00013 class MomNavigator;
00014 
00015 class DemoEventDump : public JobCModule 
00016 {
00017 public:
00018   DemoEventDump();
00019   ~DemoEventDump();
00020   
00021   JobCResult      Ana(const MomNavigator *mom);
00022   void            Config(const Registry& r);
00023   const Registry& DefaultConfig() const;
00024   void            Help();
00025 
00026   void HandleCommand(JobCommand* cmd);
00027 private:
00028   enum {
00029     kDumpFragments         = 0x0001,
00030     kDumpRawHeader         = 0x0002,
00031     kDumpRawBlockList      = 0x0004,
00032     kDumpRawData           = 0x0008,
00033     kDumpCandDigits        = 0x0010,
00034     kDumpCandRecords       = 0x0020,
00035     kDumpObjectTable       = 0x0100,
00036     kPrintMemStat          = 0x0200,
00037     kPrintSeparator        = 0x8000
00038   };
00039   
00040   void DumpFragments    (const MomNavigator* mom) const;
00041   void DumpRawHeader    (const MomNavigator* mom) const;
00042   void DumpRawData      (const MomNavigator* mom) const;
00043   void DumpCandDigits   (const MomNavigator* mom) const;
00044   void DumpCandRecords  (const MomNavigator* mom) const;
00045   void DumpObjectTable  ()                        const;
00046   
00047   int  fDump;  // Which dump routines to call?
00048   int  fFirst; // First event to dump
00049   int  fLast;  // Last event to dump
00050   int  fFreq;  // Frequency of dump
00051   int  fCount; // Number of calls to Ana method
00052   bool fWait;  // Wait after event dumps?
00053 
00054   string fRawBlockList;   // Which RawDataBlocks to dump ""=all
00055   string fCandRecOption;  // Option string to pass to CandRecord dumping
00056 
00057 };
00058 

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