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 {
19 
20  protected:
21 
23 
25  virtual int open(const char* filename, int iteration, bool writemode) =0;
26 
28  virtual int close(void) =0;
29 
31  virtual int writeOne(Alignable* ali) =0;
32 
35  virtual AlignmentUserVariables* readOne(Alignable* ali, int& ierr) =0;
36 
38  int write(const align::Alignables& alivec, bool validCheck);
39 
41  std::vector<AlignmentUserVariables*> read(const align::Alignables& alivec, int& ierr);
42 
43 };
44 
45 #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:32
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