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