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