CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/Alignment/SurveyAnalysis/interface/SurveyAlignment.h

Go to the documentation of this file.
00001 #ifndef Alignment_SurveyAnalysis_SurveyAlignment_h
00002 #define Alignment_SurveyAnalysis_SurveyAlignment_h
00003 
00013 #include "Alignment/CommonAlignment/interface/StructureType.h"
00014 #include "Alignment/CommonAlignment/interface/Utilities.h"
00015 
00016 class SurveyAlignment
00017 {
00018   protected:
00019 
00020   public:
00021 
00023   SurveyAlignment(
00024                   const align::Alignables& sensors,
00025                   const std::vector<align::StructureType>& levels
00026                   );
00027 
00028   virtual ~SurveyAlignment() {}
00029 
00031   void iterate(
00032                unsigned int nIteration,     // number of iterations
00033                const std::string& fileName, // name of output file
00034                bool bias = false            // true for biased residuals
00035                );
00036 
00037   protected:
00038 
00040   virtual void findAlignPars(
00041                              bool bias = false // true for biased residuals
00042                              ) = 0;
00043 
00045   virtual void shiftSensors();
00046 
00047   const align::Alignables& theSensors;
00048   const std::vector<align::StructureType>& theLevels;
00049 };
00050 
00051 #endif