CMS 3D CMS Logo

AlignmentIO.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentIO_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignmentIO_h
3 
13 
16 
17 class AlignmentIO {
18 public:
19  virtual ~AlignmentIO() = default;
21  virtual void writeAlignmentParameters(
22  const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
23 
26  const char* filename,
27  int iter,
28  int& ierr) = 0;
29 
32  const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
33 
35  virtual void writeCorrelations(
36  const align::Correlations& cormap, const char* filename, int iter, bool validCheck, int& ierr) = 0;
37 
40  const char* filename,
41  int iter,
42  int& ierr) = 0;
43 
46  const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
47 
50  const char* filename,
51  int iter,
52  int& ierr) = 0;
53 
56  const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
57 
60  const char* filename,
61  int iter,
62  int& ierr) = 0;
63 
66  const align::Alignables& alivec, const char* filename, int iter, bool validCheck, int& ierr) = 0;
67 
70  const char* filename,
71  int iter,
72  int& ierr) = 0;
73 };
74 
75 #endif
AlignmentIO::writeAlignableAbsolutePositions
virtual void writeAlignableAbsolutePositions(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write Alignable current absolute positions
AlignmentIO::writeOrigRigidBodyAlignmentParameters
virtual void writeOrigRigidBodyAlignmentParameters(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write RigidBodyAlignmentParameters as applied on top of original positions
AlignmentIO::readCorrelations
virtual align::Correlations readCorrelations(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read Correlations
AlignmentIO::readAlignableOriginalPositions
virtual AlignablePositions readAlignableOriginalPositions(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read Alignable original (before misalignment) absolute positions
AlignmentIO::readAlignmentParameters
virtual align::Parameters readAlignmentParameters(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read AlignmentParameters
AlignableShifts
std::vector< AlignableRelData > AlignableShifts
Definition: AlignableData.h:48
AlignmentIO::readAlignableAbsolutePositions
virtual AlignablePositions readAlignableAbsolutePositions(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read Alignable current absolute positions
AlignmentIO::writeAlignmentParameters
virtual void writeAlignmentParameters(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write AlignmentParameters
AlignableData.h
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
align::Correlations
std::map< std::pair< Alignable *, Alignable * >, AlgebraicMatrix > Correlations
Definition: Utilities.h:35
AlignmentIO::writeAlignableOriginalPositions
virtual void writeAlignableOriginalPositions(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write Alignable original (before misalignment) absolute positions
AlignmentIO::~AlignmentIO
virtual ~AlignmentIO()=default
AlignmentIO::writeAlignableRelativePositions
virtual void writeAlignableRelativePositions(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write Alignable relative positions (shift,rotation)
Utilities.h
align::Parameters
std::vector< AlignmentParameters * > Parameters
Definition: Utilities.h:32
AlignmentIO
Definition: AlignmentIO.h:17
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
AlignmentIO::writeCorrelations
virtual void writeCorrelations(const align::Correlations &cormap, const char *filename, int iter, bool validCheck, int &ierr)=0
write Correlations
AlignablePositions
std::vector< AlignableAbsData > AlignablePositions
Definition: AlignableData.h:47
AlignmentIO::readAlignableRelativePositions
virtual AlignableShifts readAlignableRelativePositions(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read Alignable relative positions (shift,rotation)