1 #ifndef Alignment_KalmanAlignmentAlgorithm_KalmanAlignmentMetricsCalculator_h
2 #define Alignment_KalmanAlignmentAlgorithm_KalmanAlignmentMetricsCalculator_h
49 const std::vector< Alignable* >
alignables(
void )
const;
SingleDistancesList theDefaultReturnList
const std::vector< Alignable * > alignables(void) const
Return all known alignables.
void connect(FullDistancesList &changes, SingleDistancesList *connection, Alignable *alignable, short int value)
void setMaxDistance(short int maxDistance)
Set maximum distance to be stored.
void insertPropagatedDistances(FullDistancesList &propagated)
Insert the 'propagated distances' into the lists of the remaining alignables.
FullDistancesList theDistances
void insertDistance(FullDistancesList &dist, Alignable *i, Alignable *j, short int value)
void setBranchAddresses(TTree *tree)
void updateList(SingleDistancesList *thisList, SingleDistancesList *otherList)
short int operator()(Alignable *i, Alignable *j) const
void createBranches(TTree *tree)
unsigned int nDistances(void) const
Number of stored distances.
KalmanAlignmentMetricsCalculator(void)
void readDistances(std::string filename)
void insertUpdatedDistances(FullDistancesList &updated)
Insert changes due to the update of the lists of the current alignables.
void updateDistances(const std::vector< Alignable * > &alignables)
Update list of distances with a set Alignables.
void extractPropagatedDistances(FullDistancesList &changes, Alignable *alignable, SingleDistancesList *oldList, SingleDistancesList *newList)
Extract entries from the updated lists that need to be further propagated.
const SingleDistancesList & getDistances(Alignable *i) const
void writeDistances(std::string filename)
~KalmanAlignmentMetricsCalculator(void)
void clear(void)
Clear stored distances.
void clearDistances(FullDistancesList &dist)
std::map< Alignable *, SingleDistancesList * > FullDistancesList
std::map< Alignable *, short int > SingleDistancesList