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;
AlignmentParameters * alignmentParameters() const
Get the AlignmentParameters.
const AlgebraicSymMatrix & covariance(void) const
Get parameter covariance matrix.
const AlgebraicVector & parameters(void) const
Get alignment parameters.
int writeOne(Alignable *ali) override
Write AlignmentParameters of one Alignable.
ParametersType
enums for all available AlignmentParameters
double theCov[nParMax *(nParMax+1)/2]
void setValid(bool v)
Set validity flag.
void createBranches(void) override
Create all branches and give names.
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
AlignmentParameters * createParameters(Alignable *ali, ParametersType parType, const std::vector< bool > &sel)
Log< level::Info, false > LogInfo
CLHEP::HepVector AlgebraicVector
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
virtual unsigned int hierarchyLevel() const
virtual int type() const =0
tell type (AlignmentParametersFactory::ParametersType - but no circular dependency) ...
int closeRoot(void)
close IO
virtual AlignmentParameters * clone(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const =0
Enforce clone methods in derived classes.
const std::vector< bool > & selector(void) const
Get alignment parameter selector vector.
void setBranchAddresses(void) override
Set branch adresses.
AlignmentParametersIORoot()
Constructor.
align::StructureType theObjId
CLHEP::HepSymMatrix AlgebraicSymMatrix
ParametersType parametersType(const std::string &typeString)
convert string to ParametersType - exception if not known
int close(void) override
Close IO.
AlignmentParameters * readOne(Alignable *ali, int &ierr) override
Read AlignmentParameters of one Alignable.