CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
virtual AlignablePositions readAlignableOriginalPositions(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read Alignable original (before misalignment) absolute positions
virtual AlignablePositions readAlignableAbsolutePositions(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read Alignable current absolute positions
virtual align::Parameters readAlignmentParameters(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read AlignmentParameters
std::map< std::pair< Alignable *, Alignable * >, AlgebraicMatrix > Correlations
Definition: Utilities.h:35
virtual align::Correlations readCorrelations(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read Correlations
std::vector< AlignableRelData > AlignableShifts
Definition: AlignableData.h:48
virtual void writeAlignmentParameters(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write AlignmentParameters
virtual void writeAlignableRelativePositions(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write Alignable relative positions (shift,rotation)
virtual void writeCorrelations(const align::Correlations &cormap, const char *filename, int iter, bool validCheck, int &ierr)=0
write Correlations
virtual void writeAlignableOriginalPositions(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write Alignable original (before misalignment) absolute positions
virtual ~AlignmentIO()=default
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
std::vector< AlignmentParameters * > Parameters
Definition: Utilities.h:32
tuple filename
Definition: lut2db_cfg.py:20
std::vector< AlignableAbsData > AlignablePositions
Definition: AlignableData.h:47
virtual void writeAlignableAbsolutePositions(const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr)=0
write Alignable current absolute positions
virtual AlignableShifts readAlignableRelativePositions(const align::Alignables &alivec, const char *filename, int iter, int &ierr)=0
read Alignable relative positions (shift,rotation)
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