32 tree->Branch(
"Id", &
Id,
"Id/i");
34 tree->Branch(
"Pos", &
Pos,
"Pos[3]/D");
35 tree->Branch(
"Rot", &
Rot,
"Rot[9]/D");
46 tree->SetBranchAddress(
"Id", &
Id);
48 tree->SetBranchAddress(
"Pos", &
Pos);
49 tree->SetBranchAddress(
"Rot", &
Rot);
61 edm::LogInfo(
"Alignment") <<
"@SUB=AlignableDataIORoot::findEntry" 72 treemaptype::iterator imap =
treemap.find( std::make_pair(
id,comp) );
74 if (imap !=
treemap.end()) result=(*imap).second;
134 tree->GetEntry(entry);
165 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