Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

AlephIoManager.h

Go to the documentation of this file.
00001 
00002 //
00003 //  Class AlephIoManager
00004 //
00005 //  The class which handles the Input/Ouput
00006 //  It inherits from AlephManager
00007 //  It is a singleton
00008 //
00009 //  Author : G. Dissertori  ,  02.11.98
00010 //
00012 
00013 
00014 #ifndef ALEPHIOMANAGER_H
00015 #define ALEPHIOMANAGER_H
00016 
00017 #include "AlephManager.h"
00018 #include "AlephCardsReader.h"
00019 #include "AlephNtupleWriter.h"
00020 
00022 class AlephIoManager : public AlephManager 
00023 {
00024 
00025 public:
00026 
00028   static AlephManager* TheAlephIoManager();
00029 
00030 
00032   virtual AlephRC initialize(); 
00033 
00034 
00036   AlephRC run(); 
00037 
00039   virtual AlephRC terminate(); 
00040 
00042   virtual AlephCardsReader& theCardsReader();
00043 
00045   virtual AlephNtupleWriter& theNtupleWriter();
00046 
00047 protected:
00048 
00049 // constructor and destructor
00050   AlephIoManager();
00051   ~AlephIoManager();
00052 
00053 
00054 private:
00055 
00056 // the pointer to the single static instance
00057   static AlephManager* _theAlephIoManager;
00058 
00059 // the Card Reader
00060   AlephCardsReader _theCardsReader;
00061 
00062 // the Ntuple Writer
00063   AlephNtupleWriter _theNtupleWriter;
00064 
00065 };
00066 
00067 #endif
00068 

Generated at Wed Jun 18 17:19:09 2003 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001