Go to the documentation of this file.00001 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentIO_h
00002 #define Alignment_CommonAlignmentAlgorithm_AlignmentIO_h
00003
00013
00014
00015 #include "Alignment/CommonAlignment/interface/Utilities.h"
00016 #include "Alignment/CommonAlignmentAlgorithm/interface/AlignableData.h"
00017
00018
00019 class AlignmentIO
00020 {
00021
00022 public:
00023
00025 virtual void writeAlignmentParameters (const align::Alignables& alivec,
00026 const char* filename, int iter, bool validCheck, int& ierr) = 0;
00027
00029 virtual align::Parameters readAlignmentParameters (const align::Alignables& alivec,
00030 const char* filename, int iter, int& ierr) = 0;
00031
00033 virtual void writeOrigRigidBodyAlignmentParameters (const align::Alignables& alivec,
00034 const char* filename, int iter, bool validCheck, int& ierr) = 0;
00035
00037 virtual void writeCorrelations (const align::Correlations& cormap,
00038 const char* filename, int iter, bool validCheck, int& ierr) = 0;
00039
00041 virtual align::Correlations readCorrelations (const align::Alignables& alivec,
00042 const char* filename, int iter, int& ierr) = 0;
00043
00045 virtual void writeAlignableAbsolutePositions (const align::Alignables& alivec,
00046 const char* filename, int iter, bool validCheck, int& ierr) = 0;
00047
00049 virtual AlignablePositions readAlignableAbsolutePositions (const align::Alignables&
00050 alivec, const char* filename, int iter, int& ierr) = 0;
00051
00053 virtual void writeAlignableOriginalPositions (const align::Alignables& alivec,
00054 const char* filename, int iter, bool validCheck, int& ierr) = 0;
00055
00057 virtual AlignablePositions readAlignableOriginalPositions (const align::Alignables&
00058 alivec, const char* filename, int iter, int& ierr) = 0;
00059
00061 virtual void writeAlignableRelativePositions (const align::Alignables& alivec,
00062 const char* filename, int iter, bool validCheck, int& ierr) = 0;
00063
00065 virtual AlignableShifts readAlignableRelativePositions (const align::Alignables&
00066 alivec, const char* filename, int iter, int& ierr) = 0;
00067
00068 };
00069
00070 #endif