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  friend class AlignmentIORoot;
18 
19 private:
22 
24  int writeOne(Alignable* ali) override;
25 
27  AlignmentParameters* readOne(Alignable* ali, int& ierr) override;
28 
30  int open(const char* filename, int iteration, bool writemode) override {
31  return openRoot(filename, iteration, writemode);
32  };
33 
35  int close(void) override;
36 
37  // helper functions
38 
42 
44  void createBranches(void) override;
45 
47  void setBranchAddresses(void) override;
48 
49  // Alignment parameter tree
53 
54  double thePar[nParMax], theCov[nParMax * (nParMax + 1) / 2];
55 };
56 
57 #endif
AlignmentParametersIORoot::readOne
AlignmentParameters * readOne(Alignable *ali, int &ierr) override
Read AlignmentParameters of one Alignable.
Definition: AlignmentParametersIORoot.cc:72
AlignmentParametersIO.h
AlignmentParametersIORoot::close
int close(void) override
Close IO.
Definition: AlignmentParametersIORoot.cc:109
AlignmentParametersIORoot::AlignmentParametersIORoot
AlignmentParametersIORoot()
Constructor.
Definition: AlignmentParametersIORoot.cc:14
StructureType.h
Alignable
Definition: Alignable.h:27
AlignmentParametersIORoot::theId
align::ID theId
Definition: AlignmentParametersIORoot.h:51
AlignmentParametersIORoot::findEntry
int findEntry(align::ID, align::StructureType)
AlignmentParameters
Definition: AlignmentParameters.h:35
AlignmentIORootBase.h
AlignmentParametersIORoot::theHieraLevel
int theHieraLevel
Definition: AlignmentParametersIORoot.h:50
AlignmentParametersIORoot::theCovarRang
int theCovarRang
Definition: AlignmentParametersIORoot.h:50
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
AlignmentParametersIORoot::setBranchAddresses
void setBranchAddresses(void) override
Set branch adresses.
Definition: AlignmentParametersIORoot.cc:32
align::StructureType
StructureType
Definition: StructureType.h:16
AlignmentParametersIO
Definition: AlignmentParametersIO.h:14
align::ID
uint32_t ID
Definition: Definitions.h:24
AlignmentParametersIORoot::theCovRang
int theCovRang
Definition: AlignmentParametersIORoot.h:50
AlignmentParametersIORoot::open
int open(const char *filename, int iteration, bool writemode) override
Open IO.
Definition: AlignmentParametersIORoot.h:30
AlignmentParametersIORoot::writeOne
int writeOne(Alignable *ali) override
Write AlignmentParameters of one Alignable.
Definition: AlignmentParametersIORoot.cc:44
AlignmentParametersIORoot::thePar
double thePar[nParMax]
Definition: AlignmentParametersIORoot.h:54
AlignmentIORootBase
Base class for ROOT-based I/O of Alignment parameters etc.
Definition: AlignmentIORootBase.h:11
AlignmentIORootBase::openRoot
int openRoot(const char *filename, int iteration, bool writemode)
open IO
Definition: AlignmentIORootBase.cc:16
AlignmentIORootBase::nParMax
const static int nParMax
Definition: AlignmentIORootBase.h:43
AlignmentIORoot
Definition: AlignmentIORoot.h:15
AlignmentParametersIORoot::theCov
double theCov[nParMax *(nParMax+1)/2]
Definition: AlignmentParametersIORoot.h:54
AlignmentParametersIORoot::theParamType
int theParamType
Definition: AlignmentParametersIORoot.h:50
AlignmentParametersIORoot::theObjId
align::StructureType theObjId
Definition: AlignmentParametersIORoot.h:52
AlignmentParametersIORoot
Definition: AlignmentParametersIORoot.h:16
align_cfg.iteration
iteration
Definition: align_cfg.py:5
AlignmentParametersIORoot::createBranches
void createBranches(void) override
Create all branches and give names.
Definition: AlignmentParametersIORoot.cc:20