File indexing completed on 2024-04-06 11:56:08
0001 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentParametersIORoot_h
0002 #define Alignment_CommonAlignmentAlgorithm_AlignmentParametersIORoot_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include "Alignment/CommonAlignment/interface/StructureType.h"
0013 #include "Alignment/CommonAlignmentAlgorithm/interface/AlignmentIORootBase.h"
0014 #include "Alignment/CommonAlignmentAlgorithm/interface/AlignmentParametersIO.h"
0015
0016 class AlignmentParametersIORoot : public AlignmentIORootBase, public AlignmentParametersIO {
0017 friend class AlignmentIORoot;
0018
0019 private:
0020
0021 AlignmentParametersIORoot();
0022
0023
0024 int writeOne(Alignable* ali) override;
0025
0026
0027 AlignmentParameters* readOne(Alignable* ali, int& ierr) override;
0028
0029
0030 int open(const char* filename, int iteration, bool writemode) override {
0031 return openRoot(filename, iteration, writemode);
0032 };
0033
0034
0035 int close(void) override;
0036
0037
0038
0039
0040
0041 int findEntry(align::ID, align::StructureType);
0042
0043
0044 void createBranches(void) override;
0045
0046
0047 void setBranchAddresses(void) override;
0048
0049
0050 int theCovRang, theCovarRang, theHieraLevel, theParamType;
0051 align::ID theId;
0052 align::StructureType theObjId;
0053
0054 double thePar[nParMax], theCov[nParMax * (nParMax + 1) / 2];
0055 };
0056
0057 #endif