00001 00002 // 00003 // $Id: AlignmentModule.h,v 1.3 2002/08/15 21:31:14 bv Exp $ 00004 // 00005 // AlignmentModule 00006 // 00007 // Package: Alignment 00008 // 00009 // JobModule for accessing Alignment 00010 // 00011 // Contact: bv@bnl.gov 00012 // 00013 // Created on: Wed Jun 26 17:04:00 2002 00014 // 00016 00017 #ifndef ALIGNMENTMODULE_H 00018 #define ALIGNMENTMODULE_H 00019 00020 #include "Registry/Registry.h" 00021 #include "JobControl/JobCModule.h" 00022 #ifndef __CINT__ 00023 #include "Alignment/StraightTrackAlignment.h" 00024 #endif 00025 00026 // #include "Rtypes.h" 00027 00028 00029 class MomNavigator; 00030 class StraightTrackAlignment; 00031 00032 class AlignmentModule : public JobCModule 00033 { 00034 00035 public: 00036 00037 AlignmentModule(); 00038 ~AlignmentModule(); 00039 00040 const Registry& DefaultConfig() const { return fDefConfig; } 00041 void Config(const Registry& reg) { 00042 fConfig.UnLockValues(); 00043 fConfig.Merge(reg); 00044 fConfig.LockValues(); 00045 } 00046 00047 JobCResult Ana(const MomNavigator* mom); 00048 void EndJob(); 00049 00050 00051 private: 00052 00053 // copy constructor, assignment: 00054 AlignmentModule(const AlignmentModule& rhs); // copy constructor 00055 AlignmentModule& operator=(const AlignmentModule& rhs); // assignment 00056 00057 void Init(void); 00058 00059 Registry fDefConfig, fConfig; 00060 StraightTrackAlignment fSTA; 00061 00062 // ClassDef(AlignmentModule,1) 00063 }; // end of class AlignmentModule 00064 00065 #endif // ALIGNMENTMODULE_H
1.3.9.1