CMS 3D CMS Logo

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 
20  AlgebraicVector diffAlignables(Alignable* refAli, Alignable* curAli, const std::string &weightBy, bool weightById, const std::vector< unsigned int > &weightByIdVector);
21 
24  //void diffAlignables(Alignables& refAlis, Alignables& curAlis, std::vector<AlgebraicVector>& diffs);
25 
28 
31  void createPoints(GlobalVectors* Vs, Alignable* ali, const std::string &weightBy, bool weightById, const std::vector< unsigned int > &weightByIdVector);
32 
33  // read module list, return bool
34  bool readModuleList( unsigned int, unsigned int, const std::vector< unsigned int > & );
35 
36 }
37 
38 #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:92
bool readModuleList(unsigned int, unsigned int, const std::vector< unsigned int > &)
Definition: AlignTools.cc:142
CLHEP::HepVector AlgebraicVector
std::vector< GlobalVector > GlobalVectors
Definition: Utilities.h:29
void moveAlignable(Alignable *ali, AlgebraicVector diff)
Moves the alignable by the AlgebraicVector.
Definition: AlignTools.cc:81