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) override;
27 
29  AlignmentParameters* readOne(Alignable* ali, int& ierr) override;
30 
32  int open(const char* filename, int iteration, bool writemode) override
33  {return openRoot(filename,iteration,writemode);};
34 
36  int close(void) override;
37 
38  // helper functions
39 
43 
45  void createBranches(void) override;
46 
48  void setBranchAddresses(void) override;
49 
50  // Alignment parameter tree
54 
56 
57 };
58 
59 #endif
int open(const char *filename, int iteration, bool writemode) override
Open IO.
static const int nParMax
uint32_t ID
Definition: Definitions.h:26
int writeOne(Alignable *ali) override
Write AlignmentParameters of one Alignable.
Base class for ROOT-based I/O of Alignment parameters etc.
double theCov[nParMax *(nParMax+1)/2]
void createBranches(void) override
Create all branches and give names.
int findEntry(align::ID, align::StructureType)
void setBranchAddresses(void) override
Set branch adresses.
int openRoot(const char *filename, int iteration, bool writemode)
open IO
int close(void) override
Close IO.
AlignmentParameters * readOne(Alignable *ali, int &ierr) override
Read AlignmentParameters of one Alignable.