1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentParameterStore_h 2 #define Alignment_CommonAlignmentAlgorithm_AlignmentParameterStore_h 28 typedef std::vector<unsigned int>
DetIds;
39 selectParameters(
const std::vector <AlignableDet*>& alignabledets )
const;
42 selectParameters(
const std::vector <AlignableDetOrUnitPtr>& alignabledets )
const;
56 int numObjects(
void)
const {
return theAlignables.size(); }
62 const unsigned int numCorrelations(
void )
const {
return theCorrelationsStore->size(); }
74 void applyParameters(
void);
77 void applyParameters(
Alignable* alignable);
80 void resetParameters(
void);
86 void cacheTransformations(
void);
92 void restoreCachedTransformations(
void);
99 void acquireRelativeParameters(
void);
110 void attachAlignmentParameters(
const align::Alignables& alivec,
const Parameters& parvec,
int& ierr );
113 void attachAlignmentParameters(
const Parameters& parvec,
int& ierr);
116 void attachCorrelations(
const align::Alignables& alivec,
const Correlations& cormap,
117 bool overwrite,
int& ierr );
120 void attachCorrelations(
const Correlations& cormap,
bool overwrite,
int& ierr );
124 const std::vector<AlignmentUserVariables*>& uvarvec,
int& ierr);
127 void setAlignmentPositionError(
const align::Alignables& alivec,
double valshift,
double valrot );
150 std::vector<std::vector<ParameterId> > ¶mIdsVecOut,
151 std::vector<std::vector<double> > &factorsVecOut,
std::map< std::pair< Alignable *, Alignable * >, AlgebraicMatrix > Correlations
std::pair< Alignable *, unsigned int > ParameterId
a single alignable parameter of an Alignable
std::vector< AlignableRelData > AlignableShifts
std::vector< AlignmentParameters * > Parameters
CLHEP::HepMatrix AlgebraicMatrix
std::vector< unsigned int > DetIds
const unsigned int numCorrelations(void) const
get number of correlations between alignables
(Abstract) Base class for alignment algorithm user variables
TypeOfConstraints theTypeOfConstraints
type of constraints
align::Alignables theAlignables
alignables
int numObjects(void) const
returns number of alignables
std::vector< Alignable * > Alignables
AlignmentCorrelationsStore * theCorrelationsStore
std::vector< AlignableAbsData > AlignablePositions
const align::Alignables & alignables(void) const
get all alignables
AlignmentCorrelationsStore * correlationsStore(void) const
get full correlation map
cond::RealTimeType< cond::runnumber >::type RunNumber