Go to the documentation of this file.
27 tree->Branch(
"Id", &
Id,
"Id/i");
29 tree->Branch(
"Pos", &
Pos,
"Pos[3]/D");
30 tree->Branch(
"Rot", &
Rot,
"Rot[9]/D");
40 tree->SetBranchAddress(
"Id", &
Id);
42 tree->SetBranchAddress(
"Pos", &
Pos);
43 tree->SetBranchAddress(
"Rot", &
Rot);
54 edm::LogInfo(
"Alignment") <<
"@SUB=AlignableDataIORoot::findEntry"
57 for (
int ev = 0;
ev <
tree->GetEntries();
ev++) {
65 treemaptype::iterator imap =
treemap.find(std::make_pair(
id,
comp));
137 std::vector<double> deformPars;
166 std::vector<double> deformPars;
Float_t deformationValues_[kMaxNumPar]
int findEntry(align::ID, align::StructureType)
int writeRelRaw(const AlignableRelData &ad) override
write relative positions
AlignableData< align::GlobalVector > AlignableRelData
relative position/rotation
align::StructureType ObjId
root tree contents
void setBranchAddresses(void) override
set root branches
void createBranches(void) override
create root branches
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
align::StructureType objId() const
const std::vector< double > deformationParameters() const
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
AlignableDataIORoot(PosType p)
constructor
const T & pos() const
accessors
AlignableData< align::GlobalPoint > AlignableAbsData
Absolute position/rotation.
AlignableAbsData readAbsRaw(Alignable *ali, int &ierr) override
read absolute positions
int writeAbsRaw(const AlignableAbsData &ad) override
write absolute positions
AlignableRelData readRelRaw(Alignable *ali, int &ierr) override
read relative positions
UInt_t numDeformationValues_
const align::RotationType & rot() const