CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/Alignment/CommonAlignmentAlgorithm/interface/AlignmentUserVariablesIO.h

Go to the documentation of this file.
00001 #ifndef AlignmentUserVariablesIO_H
00002 #define AlignmentUserVariablesIO_H
00003 
00004 #include "Alignment/CommonAlignment/interface/Utilities.h"
00005 
00014 
00015 class AlignmentUserVariables;
00016 
00017 class AlignmentUserVariablesIO 
00018 {
00019 
00020   protected:
00021 
00022   virtual ~AlignmentUserVariablesIO() {}
00023 
00025   virtual int open(const char* filename, int iteration, bool writemode) =0;
00026 
00028   virtual int close(void) =0;
00029 
00031   virtual int writeOne(Alignable* ali) =0;
00032 
00035   virtual AlignmentUserVariables* readOne(Alignable* ali, int& ierr) =0;
00036 
00038   int write(const align::Alignables& alivec, bool validCheck);
00039 
00041   std::vector<AlignmentUserVariables*> read(const align::Alignables& alivec, int& ierr);
00042 
00043 };
00044 
00045 #endif