Analysis Software
Documentation for sPHENIX simulation software
|
Container class for Alignment transformations. More...
#include <coresoftware/blob/master/offline/packages/trackbase/alignmentTransformationContainer.h>
Public Member Functions | |
alignmentTransformationContainer () | |
virtual | ~alignmentTransformationContainer () |
void | Reset () |
void | identify (std::ostream &os=std::cout) |
void | addTransform (Acts::GeometryIdentifier, Acts::Transform3) |
Acts::Transform3 & | getTransform (Acts::GeometryIdentifier id) |
void | replaceTransform (const Acts::GeometryIdentifier id, Acts::Transform3 transform) |
const std::vector< std::vector < Acts::Transform3 > > & | getMap () const |
void | setMisalignmentFactor (uint8_t layer, double factor) |
const double & | getMisalignmentFactor (uint8_t layer) const |
Public Member Functions inherited from Acts::ContextType | |
ContextType ()=default | |
template<typename T > | |
ContextType (T &&value) | |
Static Public Attributes | |
static bool | use_alignment = false |
Private Member Functions | |
unsigned int | getsphlayer (Acts::GeometryIdentifier) |
ClassDef (alignmentTransformationContainer, 1) | |
Private Attributes | |
std::map< unsigned int, unsigned int > | base_layer_map = { {10, 0}, {12,3}, {14,7}, {16,55} } |
std::vector< std::vector < Acts::Transform3 > > | transformVec |
std::map< uint8_t, double > | m_misalignmentFactor |
Map of TrkrDefs::Layer to misalignment factor. | |
Container class for Alignment transformations.
Association object holding transformations associated with given tracker hitset
Definition at line 30 of file alignmentTransformationContainer.h.
View newest version in sPHENIX GitHub at line 30 of file alignmentTransformationContainer.h
alignmentTransformationContainer::alignmentTransformationContainer | ( | ) |
Definition at line 18 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 18 of file alignmentTransformationContainer.cc
References layer, and m_misalignmentFactor.
|
inlinevirtual |
Definition at line 37 of file alignmentTransformationContainer.h.
View newest version in sPHENIX GitHub at line 37 of file alignmentTransformationContainer.h
void alignmentTransformationContainer::addTransform | ( | Acts::GeometryIdentifier | id, |
Acts::Transform3 | transform | ||
) |
Definition at line 76 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 76 of file alignmentTransformationContainer.cc
References getsphlayer(), Acts::Test::transform, and transformVec.
Referenced by AlignmentTransformation::createMap().
|
private |
const std::vector< std::vector< Acts::Transform3 > > & alignmentTransformationContainer::getMap | ( | ) | const |
Definition at line 150 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 150 of file alignmentTransformationContainer.cc
References transformVec.
Referenced by sPHENIXActsDetectorElement::transform().
|
inline |
Definition at line 46 of file alignmentTransformationContainer.h.
View newest version in sPHENIX GitHub at line 46 of file alignmentTransformationContainer.h
References m_misalignmentFactor.
|
private |
Definition at line 155 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 155 of file alignmentTransformationContainer.cc
References base_layer_map, and layer.
Referenced by addTransform(), getTransform(), and replaceTransform().
Acts::Transform3 & alignmentTransformationContainer::getTransform | ( | Acts::GeometryIdentifier | id | ) |
Definition at line 119 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 119 of file alignmentTransformationContainer.cc
References getsphlayer(), and transformVec.
Referenced by MakeSourceLinks::getSourceLinks(), and MakeSourceLinks::resetTransientTransformMap().
void alignmentTransformationContainer::identify | ( | std::ostream & | os = std::cout | ) |
Definition at line 53 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 53 of file alignmentTransformationContainer.cc
References i, and transformVec.
void alignmentTransformationContainer::replaceTransform | ( | const Acts::GeometryIdentifier | id, |
Acts::Transform3 | transform | ||
) |
Definition at line 134 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 134 of file alignmentTransformationContainer.cc
References getsphlayer(), Acts::Test::transform, and transformVec.
Referenced by MakeSourceLinks::getSourceLinks(), and MakeSourceLinks::resetTransientTransformMap().
void alignmentTransformationContainer::Reset | ( | ) |
Definition at line 36 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 36 of file alignmentTransformationContainer.cc
References i, and transformVec.
void alignmentTransformationContainer::setMisalignmentFactor | ( | uint8_t | layer, |
double | factor | ||
) |
Definition at line 25 of file alignmentTransformationContainer.cc.
View newest version in sPHENIX GitHub at line 25 of file alignmentTransformationContainer.cc
References it, and m_misalignmentFactor.
Referenced by AlignmentTransformation::misalignmentFactor().
|
private |
Definition at line 53 of file alignmentTransformationContainer.h.
View newest version in sPHENIX GitHub at line 53 of file alignmentTransformationContainer.h
Referenced by getsphlayer().
|
private |
Map of TrkrDefs::Layer to misalignment factor.
Definition at line 58 of file alignmentTransformationContainer.h.
View newest version in sPHENIX GitHub at line 58 of file alignmentTransformationContainer.h
Referenced by alignmentTransformationContainer(), getMisalignmentFactor(), and setMisalignmentFactor().
|
private |
Definition at line 55 of file alignmentTransformationContainer.h.
View newest version in sPHENIX GitHub at line 55 of file alignmentTransformationContainer.h
Referenced by addTransform(), getMap(), getTransform(), identify(), replaceTransform(), and Reset().
|
static |
Definition at line 47 of file alignmentTransformationContainer.h.
View newest version in sPHENIX GitHub at line 47 of file alignmentTransformationContainer.h
Referenced by AlignmentTransformation::createMap(), TrackResiduals::fillClusterBranches(), TpcClusterizer::process_event(), HelicalFitter::process_event(), and sPHENIXActsDetectorElement::transform().