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"
64 for (
int ev = 0;ev<
tree->GetEntries();ev++) {
72 treemaptype::iterator imap =
treemap.find( std::make_pair(
id,comp) );
74 if (imap !=
treemap.end()) result=(*imap).second;
133 tree->GetEntry(entry);
161 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).
int writeRelRaw(const AlignableRelData &ad)
write relative positions
void setBranchAddresses(void)
set root branches
AlignableAbsData readAbsRaw(Alignable *ali, int &ierr)
read absolute positions
int writeAbsRaw(const AlignableAbsData &ad)
write absolute positions
void createBranches(void)
create root branches
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.
align::StructureType ObjId
root tree contents
AlignableData< align::GlobalPoint > AlignableAbsData
Absolute position/rotation.
AlignableRelData readRelRaw(Alignable *ali, int &ierr)
read relative positions
const std::vector< double > deformationParameters() const
const T & pos() const
accessors
const align::RotationType & rot() const