#include <AlignmentSurfaceDeformations.h>
Classes | |
struct | Item |
Public Types | |
typedef std::vector< Item > | ItemVector |
typedef std::vector < align::Scalar > ::const_iterator | ParametersConstIterator |
typedef std::pair < ParametersConstIterator, ParametersConstIterator > | ParametersConstIteratorPair |
Public Member Functions | |
bool | add (align::ID rawId, int type, const std::vector< align::Scalar > ¶meters) |
Add a new item. More... | |
AlignmentSurfaceDeformations () | |
bool | empty () const |
Test of empty vector without having to look into internals: More... | |
const ItemVector & | items () const |
Get vector of all items. More... | |
ParametersConstIteratorPair | parameters (size_t index) const |
virtual | ~AlignmentSurfaceDeformations () |
Private Attributes | |
ItemVector | m_items |
std::vector< align::Scalar > | m_parameters |
Class for DB storage of surface deformation parameters. The actual parameters for all detector IDs are stored inside one big vector. Access is provided via a pair of iterators for this vector.
(last update by
)
Definition at line 18 of file AlignmentSurfaceDeformations.h.
typedef std::vector<Item> AlignmentSurfaceDeformations::ItemVector |
Definition at line 27 of file AlignmentSurfaceDeformations.h.
typedef std::vector<align::Scalar>::const_iterator AlignmentSurfaceDeformations::ParametersConstIterator |
Definition at line 28 of file AlignmentSurfaceDeformations.h.
typedef std::pair<ParametersConstIterator,ParametersConstIterator> AlignmentSurfaceDeformations::ParametersConstIteratorPair |
Definition at line 29 of file AlignmentSurfaceDeformations.h.
|
inline |
Definition at line 31 of file AlignmentSurfaceDeformations.h.
|
inlinevirtual |
Definition at line 32 of file AlignmentSurfaceDeformations.h.
|
inline |
Add a new item.
Definition at line 38 of file AlignmentSurfaceDeformations.h.
References filterCSVwithJSON::copy, AlignmentSurfaceDeformations::Item::m_index, m_items, m_parameters, AlignmentSurfaceDeformations::Item::m_parametrizationType, and AlignmentSurfaceDeformations::Item::m_rawId.
Referenced by Alignable::surfaceDeformations().
|
inline |
Test of empty vector without having to look into internals:
Definition at line 35 of file AlignmentSurfaceDeformations.h.
References m_items.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Get vector of all items.
Definition at line 53 of file AlignmentSurfaceDeformations.h.
References m_items.
Referenced by GeometryAligner::attachSurfaceDeformations(), betterConfigParser.BetterConfigParser::exists(), and python.rootplot.core.Options::kwarg_list().
|
inline |
Get a pair of iterators for the item at given index. The iterators can be used to access the actual parameters for that item
Definition at line 57 of file AlignmentSurfaceDeformations.h.
References getHLTprescales::index, m_items, and m_parameters.
Referenced by GeometryAligner::attachSurfaceDeformations(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 71 of file AlignmentSurfaceDeformations.h.
Referenced by add(), empty(), items(), and parameters().
|
private |
Definition at line 70 of file AlignmentSurfaceDeformations.h.
Referenced by add(), and parameters().