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
AlignmentParametersIO::read
align::Parameters read(const align::Alignables &alivec, int &ierr)
read AlignmentParameters of many Alignables
Definition: AlignmentParametersIO.cc:60
AlignmentParametersIO::open
virtual int open(const char *filename, int iteration, bool writemode)=0
open IO
AlignmentParametersIO::~AlignmentParametersIO
virtual ~AlignmentParametersIO()
Definition: AlignmentParametersIO.h:16
Alignable
Definition: Alignable.h:27
AlignmentParametersIO::writeOrigRigidBody
int writeOrigRigidBody(const align::Alignables &alivec, bool validCheck)
write original RigidBodyAlignmentParameters of many Alignables
Definition: AlignmentParametersIO.cc:42
AlignmentParameters
Definition: AlignmentParameters.h:35
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
AlignmentParametersIO::write
int write(const align::Alignables &alivec, bool validCheck)
write AlignmentParameters of many Alignables
Definition: AlignmentParametersIO.cc:25
AlignmentParametersIO::writeOne
virtual int writeOne(Alignable *ali)=0
write AlignmentParameters of one Alignable
AlignmentParametersIO
Definition: AlignmentParametersIO.h:14
AlignmentParametersIO::readOne
virtual AlignmentParameters * readOne(Alignable *ali, int &ierr)=0
read AlignmentParameters of one Alignable
Utilities.h
align::Parameters
std::vector< AlignmentParameters * > Parameters
Definition: Utilities.h:32
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
AlignmentParametersIO::close
virtual int close(void)=0
close IO
AlignmentParametersIO::writeOneOrigRigidBody
virtual int writeOneOrigRigidBody(Alignable *ali)
write original RigidBodyAlignmentParameters (i.e. 3 shifts and 3 rotation)
Definition: AlignmentParametersIO.cc:11
align_cfg.iteration
iteration
Definition: align_cfg.py:5