CMS 3D CMS Logo

AlignmentParametersIO.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentParametersIO_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignmentParametersIO_h
3 
5 
13 
15 protected:
17 
19  virtual int open(const char* filename, int iteration, bool writemode) = 0;
20 
22  virtual int close(void) = 0;
23 
25  virtual int writeOne(Alignable* ali) = 0;
26 
28  virtual int writeOneOrigRigidBody(Alignable* ali);
29 
31  virtual AlignmentParameters* readOne(Alignable* ali, int& ierr) = 0;
32 
34  int write(const align::Alignables& alivec, bool validCheck);
35 
37  int writeOrigRigidBody(const align::Alignables& alivec, bool validCheck);
38 
40  align::Parameters read(const align::Alignables& alivec, int& ierr);
41 };
42 
43 #endif
virtual AlignmentParameters * readOne(Alignable *ali, int &ierr)=0
read AlignmentParameters of one Alignable
int write(const align::Alignables &alivec, bool validCheck)
write AlignmentParameters of many Alignables
virtual int writeOneOrigRigidBody(Alignable *ali)
write original RigidBodyAlignmentParameters (i.e. 3 shifts and 3 rotation)
virtual int open(const char *filename, int iteration, bool writemode)=0
open IO
int writeOrigRigidBody(const align::Alignables &alivec, bool validCheck)
write original RigidBodyAlignmentParameters of many Alignables
virtual int close(void)=0
close IO
align::Parameters read(const align::Alignables &alivec, int &ierr)
read AlignmentParameters of many Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:32
std::vector< AlignmentParameters * > Parameters
Definition: Utilities.h:33
virtual int writeOne(Alignable *ali)=0
write AlignmentParameters of one Alignable