CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AlignTools.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignTools_H
2 #define Alignment_CommonAlignment_AlignTools_H
3 
14 
15 namespace align {
16 
21  Alignable* curAli,
22  const std::string& weightBy,
23  bool weightById,
24  const std::vector<unsigned int>& weightByIdVector);
25 
28  //void diffAlignables(Alignables& refAlis, Alignables& curAlis, std::vector<AlgebraicVector>& diffs);
29 
32 
35  void createPoints(GlobalVectors* Vs,
36  Alignable* ali,
37  const std::string& weightBy,
38  bool weightById,
39  const std::vector<unsigned int>& weightByIdVector);
40 
41  // read module list, return bool
42  bool readModuleList(unsigned int, unsigned int, const std::vector<unsigned int>&);
43 
44 } // namespace align
45 
46 #endif
AlgebraicVector diffAlignables(Alignable *refAli, Alignable *curAli, const std::string &weightBy, bool weightById, const std::vector< unsigned int > &weightByIdVector)
Definition: AlignTools.cc:10
void createPoints(GlobalVectors *Vs, Alignable *ali, const std::string &weightBy, bool weightById, const std::vector< unsigned int > &weightByIdVector)
Definition: AlignTools.cc:96
bool readModuleList(unsigned int, unsigned int, const std::vector< unsigned int > &)
Definition: AlignTools.cc:152
CLHEP::HepVector AlgebraicVector
std::vector< GlobalVector > GlobalVectors
Definition: Utilities.h:28
void moveAlignable(Alignable *ali, AlgebraicVector diff)
Moves the alignable by the AlgebraicVector.
Definition: AlignTools.cc:84