Go to the documentation of this file.
16 treetxt =
"Alignment Parameters";
24 tree->Branch(
"Par", &
thePar,
"Par[CovRang]/D");
26 tree->Branch(
"Cov", &
theCov,
"Cov[CovarRang]/D");
78 for (
int row = 0; row < covsize; row++) {
111 int nIndices =
tree->BuildIndex(
"Id",
"ObjId");
112 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentParametersIORoot::setBranchAddresses"
113 <<
"number of indexed entries: " << nIndices;
int closeRoot(void)
close IO
AlignmentParameters * createParameters(Alignable *ali, ParametersType parType, const std::vector< bool > &sel)
AlignmentParameters * readOne(Alignable *ali, int &ierr) override
Read AlignmentParameters of one Alignable.
int close(void) override
Close IO.
AlignmentParametersIORoot()
Constructor.
ParametersType
enums for all available AlignmentParameters
Log< level::Info, false > LogInfo
virtual int type() const =0
tell type (AlignmentParametersFactory::ParametersType - but no circular dependency)
CLHEP::HepVector AlgebraicVector
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
void setBranchAddresses(void) override
Set branch adresses.
int writeOne(Alignable *ali) override
Write AlignmentParameters of one Alignable.
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
virtual AlignmentParameters * clone(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const =0
Enforce clone methods in derived classes.
CLHEP::HepSymMatrix AlgebraicSymMatrix
const AlgebraicSymMatrix & covariance(void) const
Get parameter covariance matrix.
void setValid(bool v)
Set validity flag.
const std::vector< bool > & selector(void) const
Get alignment parameter selector vector.
double theCov[nParMax *(nParMax+1)/2]
const AlgebraicVector & parameters(void) const
Get alignment parameters.
align::StructureType theObjId
AlignmentParameters * alignmentParameters() const
Get the AlignmentParameters.
ParametersType parametersType(const std::string &typeString)
convert string to ParametersType - exception if not known
void createBranches(void) override
Create all branches and give names.
virtual unsigned int hierarchyLevel() const