test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
16 
17  protected:
18 
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 
31  virtual int writeOneOrigRigidBody(Alignable* ali);
32 
34  virtual AlignmentParameters* readOne(Alignable* ali, int& ierr) = 0;
35 
37  int write(const align::Alignables& alivec, bool validCheck);
38 
40  int writeOrigRigidBody(const align::Alignables& alivec, bool validCheck);
41 
43  align::Parameters read(const align::Alignables& alivec, int& ierr);
44 
45 };
46 
47 #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
tuple iteration
Definition: align_cfg.py:5
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:29
std::vector< AlignmentParameters * > Parameters
Definition: Utilities.h:30
tuple filename
Definition: lut2db_cfg.py:20
virtual int writeOne(Alignable *ali)=0
write AlignmentParameters of one Alignable