#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 Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
ItemVector | m_items |
std::vector< align::Scalar > | m_parameters |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
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 20 of file AlignmentSurfaceDeformations.h.
typedef std::vector<Item> AlignmentSurfaceDeformations::ItemVector |
Definition at line 31 of file AlignmentSurfaceDeformations.h.
typedef std::vector<align::Scalar>::const_iterator AlignmentSurfaceDeformations::ParametersConstIterator |
Definition at line 32 of file AlignmentSurfaceDeformations.h.
typedef std::pair<ParametersConstIterator,ParametersConstIterator> AlignmentSurfaceDeformations::ParametersConstIteratorPair |
Definition at line 33 of file AlignmentSurfaceDeformations.h.
|
inline |
Definition at line 35 of file AlignmentSurfaceDeformations.h.
|
inlinevirtual |
Definition at line 36 of file AlignmentSurfaceDeformations.h.
|
inline |
Add a new item.
Definition at line 42 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 39 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 57 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 61 of file AlignmentSurfaceDeformations.h.
References cmsHarvester::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 |
|
friend |
Definition at line 77 of file AlignmentSurfaceDeformations.h.
|
friend |
Definition at line 77 of file AlignmentSurfaceDeformations.h.
|
private |
Definition at line 75 of file AlignmentSurfaceDeformations.h.
Referenced by add(), empty(), items(), and parameters().
|
private |
Definition at line 74 of file AlignmentSurfaceDeformations.h.
Referenced by add(), and parameters().