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));
68 result = (*imap).second;
137 std::vector<double> deformPars;
141 tree->GetEntry(entry);
166 std::vector<double> deformPars;
170 tree->GetEntry(entry);
align::StructureType objId() const
AlignableDataIORoot(PosType p)
constructor
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
void setBranchAddresses(void) override
set root branches
AlignableAbsData readAbsRaw(Alignable *ali, int &ierr) override
read absolute positions
AlignableRelData readRelRaw(Alignable *ali, int &ierr) override
read relative positions
AlignableData< align::GlobalVector > AlignableRelData
relative position/rotation
UInt_t numDeformationValues_
Float_t deformationValues_[kMaxNumPar]
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
int findEntry(align::ID, align::StructureType)
void createBranches(void) override
create root branches
int writeRelRaw(const AlignableRelData &ad) override
write relative positions
align::StructureType ObjId
root tree contents
int writeAbsRaw(const AlignableAbsData &ad) override
write absolute positions
AlignableData< align::GlobalPoint > AlignableAbsData
Absolute position/rotation.
const std::vector< double > deformationParameters() const
const T & pos() const
accessors
const align::RotationType & rot() const