CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SurveyAlignment.h
Go to the documentation of this file.
1 #ifndef Alignment_SurveyAnalysis_SurveyAlignment_h
2 #define Alignment_SurveyAnalysis_SurveyAlignment_h
3 
15 
17 protected:
18 public:
20  SurveyAlignment(const align::Alignables& sensors, const std::vector<align::StructureType>& levels);
21 
22  virtual ~SurveyAlignment() {}
23 
25  void iterate(unsigned int nIteration, // number of iterations
26  const std::string& fileName, // name of output file
27  bool bias = false // true for biased residuals
28  );
29 
30 protected:
32  virtual void findAlignPars(bool bias = false // true for biased residuals
33  ) = 0;
34 
36  virtual void shiftSensors();
37 
39  const std::vector<align::StructureType>& theLevels;
40 };
41 
42 #endif
void iterate(unsigned int nIteration, const std::string &fileName, bool bias=false)
Run the iteration: find residuals, write to output, shift sensors.
const align::Alignables & theSensors
virtual void findAlignPars(bool bias=false)=0
Find the alignment parameters for all sensors.
const std::vector< align::StructureType > & theLevels
virtual void shiftSensors()
Apply the alignment parameters to all sensors.
SurveyAlignment(const align::Alignables &sensors, const std::vector< align::StructureType > &levels)
Constructor to set the sensors and residual levels.
virtual ~SurveyAlignment()
std::vector< Alignable * > Alignables
Definition: Utilities.h:31