CMS 3D CMS Logo

AlignmentParametersIORoot.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentParametersIORoot_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignmentParametersIORoot_h
3 
11 
15 
17 {
18  friend class AlignmentIORoot;
19 
20  private:
21 
24 
26  int writeOne(Alignable* ali);
27 
29  AlignmentParameters* readOne(Alignable* ali, int& ierr);
30 
32  int open(const char* filename, int iteration, bool writemode)
33  {return openRoot(filename,iteration,writemode);};
34 
36  int close(void);
37 
38  // helper functions
39 
43 
45  void createBranches(void);
46 
48  void setBranchAddresses(void);
49 
50  // Alignment parameter tree
54 
56 
57 };
58 
59 #endif
int writeOne(Alignable *ali)
Write AlignmentParameters of one Alignable.
AlignmentParameters * readOne(Alignable *ali, int &ierr)
Read AlignmentParameters of one Alignable.
static const int nParMax
uint32_t ID
Definition: Definitions.h:26
int open(const char *filename, int iteration, bool writemode)
Open IO.
Base class for ROOT-based I/O of Alignment parameters etc.
void createBranches(void)
Create all branches and give names.
double theCov[nParMax *(nParMax+1)/2]
int findEntry(align::ID, align::StructureType)
int openRoot(const char *filename, int iteration, bool writemode)
open IO
void setBranchAddresses(void)
Set branch adresses.