CDF II
CDF KITS
source navigation ]
diff markup ]
identifier search ]
freetext search ]
file search ]
 
Architecture: i386 ]
Version: 4.10.4 ] [ 4.10.5 ] [ 4.8.4 ] [ 4.8.4l3s ] [ 4.8.5 ] [ 4.9.0 ] [ 4.9.1 ] [ 4.9.1.hpt3 ] [ 4.9.1hpt3 ] [ 4.9.1top1 ] [ 5.0.0 ] [ 5.1.0 ] [ 5.1.0beamonly ] [ 5.1.1 ] [ 5.2.0 ] [ 5.3.0 ] [ 5.3.1 ] [ 5.3.1dsp ] [ 5.3.3 ] [ 5.3.3_nt ] [ 5.3.4 ] [ 6.1.1 ] [ 6.1.1b ] [ 6.1.2 ] [ 6.1.3 ] [ 6.1.4 ] [ 6.1.4int3 ] [ 6.1.4mc ] [ 6.1.4mc_a ] [ 6.1.6 ] [ development ]

001 #ifndef __TOFMANAGER_HH__
002 #define __TOFMANAGER_HH__  (1)
003 
004 #ifdef USE_CDFEDM2
005 
006 // TofManager:
007 //
008 //    M. J. Mulhearn, MIT, S.Menzemer, MIT
009 //
010 //    Manage TOF for users.
011 //
012 
013 #include "Framework/APPModule.hh"
014 #include "Framework/AbsParmString.hh"
015 //geometry and calibrations:
016 #include "TofAlgs/Recon/TofAbstCalibrator.hh"
017 #include "TofAlgs/Base/CalibratorMenu.hh"
018 #include "TofGeometry/HWTofDetectorNode.hh"
019 #include "GeometryBase/CdfDetector.hh"
020 
021 class TofManager : public AppModule{
022 public:
023   //
024   // Access to Managed Objects:
025   //
026   static TofManager              *  getInstance();
027   static const TofAbstCalibrator *  getCalibrator();
028   static const HWTofDetectorNode *  getGeometry();
029 
030   virtual ~TofManager(void) ;
031   virtual AppModule* clone(const char* cloneName) ;
032 
033   virtual AppResult  beginJob    (AbsEvent* anEvent) ;
034   virtual AppResult  beginRun    (AbsEvent* anEvent) ;
035   virtual AppResult  event       (AbsEvent* anEvent) ;
036   virtual AppResult  endRun      (AbsEvent* anEvent) ;
037   virtual AppResult  endJob      (AbsEvent* anEvent) ;
038 
039 private:  
040   TofManager(const char* const theName = "TofManager",
041             const char* const theDesc = "TofManager: Manage TOF for Users") ;  
042 
043   //NOT IMPLEMENTED:
044   TofManager(const TofManager& copy);
045   TofManager& operator =(const TofManager& copy);
046 
047   // Interface to geometry and calibration:
048   const HWTofDetectorNode*     _tofDetectorNode;
049   TofAbstCalibrator*           _calibrator;
050   CalibratorMenu*              _calibMenu;
051   AbsParmString                _calib;
052 
053 }; // class TofManager
054  
055 #endif  // USE_CDFEDM2
056 #endif  // TOF_MODULE_HH
057 
058 
059 
060 
061 
062 

source navigation ] diff markup ] identifier search ] freetext search ] file search ]

This page was automatically generated by the LXR engine.
The LXR team
Valid HTML 4.01!

Send problems or questions to cdfcode@fnal.gov