CMS 3D CMS Logo

AlignmentUserVariablesIO.h
Go to the documentation of this file.
1 #ifndef AlignmentUserVariablesIO_H
2 #define AlignmentUserVariablesIO_H
3 
5 
14 
16 
18 protected:
20 
22  virtual int open(const char* filename, int iteration, bool writemode) = 0;
23 
25  virtual int close(void) = 0;
26 
28  virtual int writeOne(Alignable* ali) = 0;
29 
32  virtual AlignmentUserVariables* readOne(Alignable* ali, int& ierr) = 0;
33 
35  int write(const align::Alignables& alivec, bool validCheck);
36 
38  std::vector<AlignmentUserVariables*> read(const align::Alignables& alivec, int& ierr);
39 };
40 
41 #endif
virtual AlignmentUserVariables * readOne(Alignable *ali, int &ierr)=0
virtual int open(const char *filename, int iteration, bool writemode)=0
(Abstract) Base class for alignment algorithm user variables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
int write(const align::Alignables &alivec, bool validCheck)
std::vector< AlignmentUserVariables * > read(const align::Alignables &alivec, int &ierr)
virtual int close(void)=0
virtual int writeOne(Alignable *ali)=0