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 
14 
17 
18 
20 {
21 
22  public:
23 
25  virtual void writeAlignmentParameters (const align::Alignables& alivec,
26  const char* filename, int iter, bool validCheck, int& ierr) = 0;
27 
30  const char* filename, int iter, int& ierr) = 0;
31 
33  virtual void writeOrigRigidBodyAlignmentParameters (const align::Alignables& alivec,
34  const char* filename, int iter, bool validCheck, int& ierr) = 0;
35 
37  virtual void writeCorrelations (const align::Correlations& cormap,
38  const char* filename, int iter, bool validCheck, int& ierr) = 0;
39 
42  const char* filename, int iter, int& ierr) = 0;
43 
45  virtual void writeAlignableAbsolutePositions (const align::Alignables& alivec,
46  const char* filename, int iter, bool validCheck, int& ierr) = 0;
47 
50  alivec, const char* filename, int iter, int& ierr) = 0;
51 
53  virtual void writeAlignableOriginalPositions (const align::Alignables& alivec,
54  const char* filename, int iter, bool validCheck, int& ierr) = 0;
55 
58  alivec, const char* filename, int iter, int& ierr) = 0;
59 
61  virtual void writeAlignableRelativePositions (const align::Alignables& alivec,
62  const char* filename, int iter, bool validCheck, int& ierr) = 0;
63 
66  alivec, const char* filename, int iter, int& ierr) = 0;
67 
68 };
69 
70 #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:52
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
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
std::vector< AlignmentParameters * > Parameters
Definition: Utilities.h:32
std::vector< AlignableAbsData > AlignablePositions
Definition: AlignableData.h:51
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