00001 #ifndef Alignment_SurveyAnalysis_CreateSurveyRcds_h 00002 #define Alignment_SurveyAnalysis_CreateSurveyRcds_h 00003 00012 // user include files 00013 00014 #include "Alignment/SurveyAnalysis/interface/SurveyInputBase.h" 00015 #include "Alignment/SurveyAnalysis/interface/SurveyInputTextReader.h" 00016 #include "FWCore/Framework/interface/ESHandle.h" 00017 00018 class AlignableSurface; 00019 class Alignments; 00020 00021 class CreateSurveyRcds: 00022 public SurveyInputBase 00023 { 00024 public: 00025 00026 CreateSurveyRcds( 00027 const edm::ParameterSet& 00028 ); 00029 00030 virtual void analyze( 00031 const edm::Event&, 00032 const edm::EventSetup& 00033 ); 00034 00035 private: 00036 00038 void setGeometry(Alignable* ); 00040 void setSurveyErrors( Alignable* ); 00041 00043 AlgebraicVector getStructurePlacements(int ,int ); 00044 00046 AlgebraicVector getStructureErrors(int ,int ); 00047 00048 00049 00050 std::string m_inputGeom; 00051 double m_inputSimpleMis; 00052 bool m_generatedRandom; 00053 bool m_generatedSimple; 00054 00055 00056 SurveyInputTextReader::MapType uIdMap; 00057 00058 std::string textFileName; 00059 00060 edm::ESHandle<Alignments> alignments; 00061 00062 00063 00064 }; 00065 00066 #endif