File indexing completed on 2024-04-06 11:56:08
0001 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentIO_h
0002 #define Alignment_CommonAlignmentAlgorithm_AlignmentIO_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "Alignment/CommonAlignment/interface/Utilities.h"
0015 #include "Alignment/CommonAlignmentAlgorithm/interface/AlignableData.h"
0016
0017 class AlignmentIO {
0018 public:
0019 virtual ~AlignmentIO() = default;
0020
0021 virtual void writeAlignmentParameters(
0022 const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
0023
0024
0025 virtual align::Parameters readAlignmentParameters(const align::Alignables& alivec,
0026 const char* filename,
0027 int iter,
0028 int& ierr) = 0;
0029
0030
0031 virtual void writeOrigRigidBodyAlignmentParameters(
0032 const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
0033
0034
0035 virtual void writeCorrelations(
0036 const align::Correlations& cormap, const char* filename, int iter, bool validCheck, int& ierr) = 0;
0037
0038
0039 virtual align::Correlations readCorrelations(const align::Alignables& alivec,
0040 const char* filename,
0041 int iter,
0042 int& ierr) = 0;
0043
0044
0045 virtual void writeAlignableAbsolutePositions(
0046 const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
0047
0048
0049 virtual AlignablePositions readAlignableAbsolutePositions(const align::Alignables& alivec,
0050 const char* filename,
0051 int iter,
0052 int& ierr) = 0;
0053
0054
0055 virtual void writeAlignableOriginalPositions(
0056 const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
0057
0058
0059 virtual AlignablePositions readAlignableOriginalPositions(const align::Alignables& alivec,
0060 const char* filename,
0061 int iter,
0062 int& ierr) = 0;
0063
0064
0065 virtual void writeAlignableRelativePositions(
0066 const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
0067
0068
0069 virtual AlignableShifts readAlignableRelativePositions(const align::Alignables& alivec,
0070 const char* filename,
0071 int iter,
0072 int& ierr) = 0;
0073 };
0074
0075 #endif